]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/ast: Pin and map cursor source BO during update
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 13 Jun 2019 07:30:36 +0000 (09:30 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 13 Jun 2019 11:37:14 +0000 (13:37 +0200)
commit27072152075e7542fb52a64054fae921b87f9085
tree22bd20b75082542892be3420d1b83e6f24aea439
parentff771bb1d0683973ab2efc80927684004a8013d2
drm/ast: Pin and map cursor source BO during update

The ast driver used to lock the cursor source BO during updates. Locking
should be done internally by the BO's implementation, so we pin it instead
to system memory. The mapping information is also stored in the BO. No
need to have an extra argument to the kmap function.

v2:
* pin cursor BOs to current location

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613073041.29350-5-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c