Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/bridge: anx7625: enable HPD interrupts

When the device enters the suspend state, it prevents
HPD interrupts from occurring. To address this, implement
.hpd_enable() and .hpd_disable() callbacks functions of
the drm_bridge.

Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250505094245.2660750-4-quic_amakhija@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Ayushi Makhija and committed by
Dmitry Baryshkov
ca8a78cd 7220a310

+18
+18
drivers/gpu/drm/bridge/analogix/anx7625.c
··· 2475 2475 return anx7625_edid_read(ctx); 2476 2476 } 2477 2477 2478 + static void anx7625_bridge_hpd_enable(struct drm_bridge *bridge) 2479 + { 2480 + struct anx7625_data *ctx = bridge_to_anx7625(bridge); 2481 + struct device *dev = ctx->dev; 2482 + 2483 + pm_runtime_get_sync(dev); 2484 + } 2485 + 2486 + static void anx7625_bridge_hpd_disable(struct drm_bridge *bridge) 2487 + { 2488 + struct anx7625_data *ctx = bridge_to_anx7625(bridge); 2489 + struct device *dev = ctx->dev; 2490 + 2491 + pm_runtime_put_sync(dev); 2492 + } 2493 + 2478 2494 static const struct drm_bridge_funcs anx7625_bridge_funcs = { 2479 2495 .attach = anx7625_bridge_attach, 2480 2496 .detach = anx7625_bridge_detach, ··· 2504 2488 .atomic_reset = drm_atomic_helper_bridge_reset, 2505 2489 .detect = anx7625_bridge_detect, 2506 2490 .edid_read = anx7625_bridge_edid_read, 2491 + .hpd_enable = anx7625_bridge_hpd_enable, 2492 + .hpd_disable = anx7625_bridge_hpd_disable, 2507 2493 }; 2508 2494 2509 2495 static int anx7625_register_i2c_dummy_clients(struct anx7625_data *ctx,