3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 23:02:18 +00:00

Fix for HDMI compatibility

..this should do the trick.
This commit is contained in:
Scare Crowe 2021-08-27 13:28:50 +05:00
parent 087c5a5d54
commit 3531f2ba9b

View File

@ -1628,10 +1628,11 @@ static void vc4_hdmi_audio_exit(struct vc4_hdmi *vc4_hdmi)
static irqreturn_t vc4_hdmi_hpd_irq_thread(int irq, void *priv)
{
struct vc4_hdmi *vc4_hdmi = priv;
struct drm_device *dev = vc4_hdmi->connector.dev;
struct drm_connector *connector = &vc4_hdmi->connector;
struct drm_device *dev = connector->dev;
if (dev && dev->registered)
drm_kms_helper_hotplug_event(dev);
drm_connector_helper_hpd_irq_event(connector);
return IRQ_HANDLED;
}