linux/drivers/gpu/drm/mgag200
Egbert Eich ecaac1c866 drm/mgag200: Invalidate page tables when pinning a BO
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>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-08-07 10:01:01 +10:00
..
Kconfig drivers/gpu/drm/mgag200: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:43 -08:00
Makefile drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_cursor.c drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_drv.c Drivers: gpu: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
mgag200_drv.h drm/mgag200: inline reservations 2013-06-28 12:04:06 +10:00
mgag200_fb.c drm/mgag200: do not attempt to acquire a reservation while in an interrupt handler 2013-06-28 11:56:36 +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-06-28 08:45:09 +10:00
mgag200_mode.c drm/mgag200: Fix LUT programming for 16bpp 2013-07-30 09:44:42 +10:00
mgag200_reg.h drm/mgag200: Hardware cursor support 2013-06-17 19:42:48 +10:00
mgag200_ttm.c drm/mgag200: Invalidate page tables when pinning a BO 2013-08-07 10:01:01 +10:00