summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mgag200
diff options
context:
space:
mode:
authorMichal Srb <msrb@suse.com>2013-08-06 15:26:50 +0200
committerDave Airlie <airlied@redhat.com>2013-08-07 10:00:45 +1000
commit109a51598869a39fdcec2d49672a9a39b6d89481 (patch)
tree33cddbdca7e436510c6e453b55d64f0b0006be47 /drivers/gpu/drm/mgag200
parentadfb8e51332153016857194b85309150ac560286 (diff)
downloadop-kernel-dev-109a51598869a39fdcec2d49672a9a39b6d89481.zip
op-kernel-dev-109a51598869a39fdcec2d49672a9a39b6d89481.tar.gz
drm/cirrus: Invalidate page tables when pinning a BO
This is a cirrus version of Egbert Eich's patch for mgag200. Without bo.bdev->dev_mapping set, the ttm_bo_unmap_virtual_locked called from ttm_bo_handle_move_mem returns with no effect. If any application accessed the memory before it was moved, it will access wrong memory next time. This causes crashes when changing resolution down. Signed-off-by: Michal Srb <msrb@suse.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mgag200')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud