OSDN Git Service

drm/ast: Don't enable HW cursors twice during atomic update
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 2 Jul 2020 11:50:22 +0000 (13:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Jul 2020 09:11:39 +0000 (11:11 +0200)
commit6567bc98247def93d7bd895a8e4ef0b19aed01a0
tree4ca87e5bc428fabb87639bdd55c9c60efdac5446
parent81039adc92cd7a1eb99a6c53f33376e972d96971
drm/ast: Don't enable HW cursors twice during atomic update

The ast_cursor_show() helper enables the cursor to be displayed. No need
to repeat that operation in the plane's atomic-update function.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-8-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c