drm/vc4: Fix the clear color for the first tile rendered.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jan 2016 21:52:41 +0000 (13:52 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:20:58 +0000 (12:20 -0800)
commit54aec44ab02b1fa216706671ae12d64af74443c5
treeac2b2e8ba462dd2e087c8bb7583fc62a7442ca91
parente001523666d0b07592abe1822b78ed0e5c2a34ab
drm/vc4: Fix the clear color for the first tile rendered.

Apparently in hardware (as opposed to simulation), the clear colors
need to be uploaded before the render config, otherwise they won't
take effect.  Fixes igt's vc4_wait_bo/used-bo-* subtests.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_render_cl.c