drm/vc4: crtc: Restrict HACT_ACT setup to DSI
authorMaxime Ripard <maxime@cerno.tech>
Wed, 27 May 2020 15:47:58 +0000 (17:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 10 Jun 2020 09:09:38 +0000 (11:09 +0200)
commitebd11f706c9d9756edad5b5f3f3310d77d77f60c
tree092a766204f9b9abb747089d6b16d7912a6bae92
parente58a5e6f4118e1afe7f346701553940c433000ee
drm/vc4: crtc: Restrict HACT_ACT setup to DSI

The HACT_ACT field only needs to be written to when using a DSI display.
Let's move that setup to our DSI branch to clear a bit the common path.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/7a93436f97666a2aa025686ef3ff3606de4bec67.1590594512.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c