diff options
author | Dave Stevenson <dave.stevenson@raspberrypi.com> | 2022-01-27 14:45:59 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-02-03 16:07:59 +0100 |
commit | 71702c495b78dfbc22eeac32ea9cda452862750d (patch) | |
tree | 0a8a701b441a0041832b4f31792e18b37bec247b /tools/perf/scripts/python | |
parent | 3404b39919c3c87677cdba45405d24033b3276f3 (diff) |
drm/vc4: hdmi: Don't try disabling SCDC on Pi0-3.
The code that set the scdc_enabled flag to ensure it was
disabled at boot time also ran on Pi0-3 where there is no
SCDC support. This lead to a warning in vc4_hdmi_encoder_post_crtc_disable
due to vc4_hdmi_disable_scrambling being called and trying to
read (and write) register HDMI_SCRAMBLER_CTL which doesn't
exist on those platforms.
Only set the flag should the interface be configured to support
more than HDMI 1.4.
Fixes: 1998646129fa ("drm/vc4: hdmi: Introduce a scdc_enabled flag")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220127134559.292778-1-maxime@cerno.tech
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions