OSDN Git Service

drm/vc4: hdmi: Skip writes to disabled packet RAM
authorDom Cobley <popcornmix@gmail.com>
Mon, 13 Jun 2022 14:47:52 +0000 (16:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:56:01 +0000 (14:56 +0200)
commit4ae3d6c09d25a932ce812b1e092d615ab799d5dd
treedaa6b28a586845b415848c390c0b8d0795d21b6e
parent05954270bd230ec31f894b34874fb0e2e534873d
drm/vc4: hdmi: Skip writes to disabled packet RAM

This path actually occurs when audio is started during a hdmi mode set.
As the data will be written by vc4_hdmi_set_infoframes when packet RAM
is enabled again, don't treat as an error

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-26-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h