aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAyushi Makhija <[email protected]>2025-05-05 09:42:43 +0000
committerDmitry Baryshkov <[email protected]>2025-05-05 14:23:34 +0000
commit71867e8d88fc7f94c2e47b3cfd676710c120cbe3 (patch)
treede9bd797ce692f1306a3aaaa9d2433f2ca72fe93 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/bridge: anx7625: enable HPD interrupts (diff)
downloadkernel-71867e8d88fc7f94c2e47b3cfd676710c120cbe3.tar.gz
kernel-71867e8d88fc7f94c2e47b3cfd676710c120cbe3.zip
drm/bridge: anx7625: fix drm_bridge ops flags to support hot-plugging
The anx7625_link_bridge() checks if a device is not a panel bridge and add DRM_BRIDGE_OP_HPD and DRM_BRIDGE_OP_DETECT flags to the drm_bridge->ops. However, on port 1 of the anx7625 bridge, any device added is always treated as a panel bridge, preventing connector_detect() from being called. To resolve this, instead of just checking if it is a panel bridge, verify the type of device based on aux whether it is a DisplayPort or eDP panel. If the device is not of the eDP type, add DRM_BRIDGE_OP_HPD and DRM_BRIDGE_OP_DETECT flags to the to the drm_bridge->ops. Signed-off-by: Ayushi Makhija <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions