mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-07 06:44:18 +00:00
Fix for HDMI compatibility
..this should do the trick.
This commit is contained in:
parent
087c5a5d54
commit
3531f2ba9b
@ -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)
|
static irqreturn_t vc4_hdmi_hpd_irq_thread(int irq, void *priv)
|
||||||
{
|
{
|
||||||
struct vc4_hdmi *vc4_hdmi = 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)
|
if (dev && dev->registered)
|
||||||
drm_kms_helper_hotplug_event(dev);
|
drm_connector_helper_hpd_irq_event(connector);
|
||||||
|
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user