commit | 811a850cbddef47623c5f6197154a05bb4efc7c9 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime@cerno.tech> | Thu Jun 11 15:36:50 2020 +0200 |
committer | Maxime Ripard <maxime@cerno.tech> | Tue Jul 07 10:51:21 2020 +0200 |
tree | c730e0f3955fb26dd8fd47146188fbf788396db9 | |
parent | 5a20ff8bf3d455855d445594152cc6a7760a3793 [diff] |
drm/vc4: crtc: Only access the PixelValve registers if we have to The CRTC hooks are called both for the TXP and the pixelvalve, yet some will read / write the registers as if the device was a pixelvalve, which won't really work. Let's make sure we only access those registers if we are running on a PixelValve. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/b55e31869304c748920c261eba87b3275dbeb297.1591882579.git-series.maxime@cerno.tech