]> git.baikalelectronics.ru Git - kernel.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)
commit42c34c23919f6475e0c197b2e044baa5f593d678
tree22bd20b75082542892be3420d1b83e6f24aea439
parent8b9f491ee6ea44251518b8f4f12578344d3f4e97
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