drm/vc4: Enable background color fill when necessary
authorStefan Schake <stschake@gmail.com>
Fri, 9 Mar 2018 00:53:37 +0000 (01:53 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 19:25:11 +0000 (11:25 -0800)
commit1d49f2e546a5a3258a88f85a1c04fd6feb6def37
treeb7049556ed1276aa5d9b1879add344a2303212f9
parent823646983b5a31732ae82ffa60b74555857eb8a0
drm/vc4: Enable background color fill when necessary

Using the hint from the plane state, we turn on the background color
to avoid display corruption from planes blending with the background.

Changes from v1:
 - Use needs_bg_fill from plane state

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1520556817-97297-5-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_crtc.c