linux-uconsole/drivers/gpu/drm/mgag200
Egbert Eich 12fb12f1f1 drm/mgag200: Invalidate page tables when pinning a BO
commit ecaac1c866 upstream.

When a BO gets pinned the placement may get changed. If the memory is
mapped into user space and user space has already accessed the mapped
range the page tables are set up but now point to the wrong memory.
Set bo.mdev->dev_mapping in mgag200_bo_create() to make sure that
ttm_bo_unmap_virtual() called from ttm_bo_handle_move_mem() will take
care of this.

v2: Don't call ttm_bo_unmap_virtual() in mgag200_bo_pin(), fix comment.

Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-14 22:59:09 -07:00
..
Kconfig drivers/gpu/drm/mgag200: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:43 -08:00
Makefile
mgag200_drv.c Drivers: gpu: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
mgag200_drv.h drm/mgag200: Added resolution and bandwidth limits for various G200e products. 2013-07-25 14:07:41 -07:00
mgag200_fb.c drm/mgag200: deal with bo reserve fail in dirty update path 2013-05-02 12:46:39 +10:00
mgag200_i2c.c drm/mgag200: Bug fix: Renesas board now selects native resolution. 2013-03-08 08:31:49 +10:00
mgag200_main.c drm/mgag200: Added resolution and bandwidth limits for various G200e products. 2013-07-25 14:07:41 -07:00
mgag200_mode.c drm/mgag200: Added resolution and bandwidth limits for various G200e products. 2013-07-25 14:07:41 -07:00
mgag200_reg.h
mgag200_ttm.c drm/mgag200: Invalidate page tables when pinning a BO 2013-08-14 22:59:09 -07:00