diff options
author | Maxime Ripard | 2022-09-29 11:21:18 +0200 |
---|---|---|
committer | Maxime Ripard | 2022-10-13 13:57:04 +0200 |
commit | 4190e8bbcbc77a9c36724681801cedc5229e7fc2 (patch) | |
tree | 306415aeec6bc0a93af0efd612f31fdacfd97407 /include/drm | |
parent | ae71ab585c819f83aec84f91eb01157a90552ef2 (diff) |
drm/vc4: hdmi: Check the HSM rate at runtime_resume
If our HSM clock has not been properly initialized, any register access
will silently lock up the system.
Let's check that this can't happen by adding a check for the rate before
any register access, and error out otherwise.
Link: https://lore.kernel.org/dri-devel/20220922145448.w3xfywkn5ecak2et@pengutronix.de/
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220929-rpi-pi3-unplugged-fixes-v1-2-cd22e962296c@cerno.tech
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions