mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 02:51:44 +00:00
ecaac1c866
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mgag200_cursor.c | ||
mgag200_drv.c | ||
mgag200_drv.h | ||
mgag200_fb.c | ||
mgag200_i2c.c | ||
mgag200_main.c | ||
mgag200_mode.c | ||
mgag200_reg.h | ||
mgag200_ttm.c |