diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-10-25 16:11:12 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-11-05 12:53:29 +0100 |
commit | ebae26d61809af09bdf81b55abb63335f2b2724b (patch) | |
tree | dbf04225286907a47ac4c18b97667d6319fe3060 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
parent | a64ff88cb5eb0b9a6855a24ff326e948931e3a8e (diff) |
drm/vc4: hdmi: Introduce an output_enabled flag
We currently poke at encoder->crtc in the ALSA code path to determine
whether the HDMI output is enabled or not, and thus whether we should
allow the audio output.
However, that pointer is deprecated and shouldn't really be used by
atomic drivers anymore. Since we have the infrastructure in place now,
let's just create a flag that we toggle to report whether the controller
is currently enabled and use that instead of encoder->crtc in ALSA.
Link: https://lore.kernel.org/r/20211025141113.702757-9-maxime@cerno.tech
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
0 files changed, 0 insertions, 0 deletions