1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas c40a09e56f drm/amd/display: Add callbacks for DMUB HPD IRQ notifications
[Why]
We need HPD IRQ notifications (RX, short pulse) to properly handle
DP MST for DPIA connections.

[How]
A null pointer exception currently occurs when these are received
so add a check to validate that we have a handler installed for
the notification.

Extend the HPD handler to also handle HPD IRQ (RX) since the logic is
the same.

Fixes: e27c41d5b0 ("drm/amd/display: Support for DMUB HPD interrupt handling")

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Reviewed-by: Jude Shih <shenshih@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-09 17:08:00 -05:00
..
amdgpu_dm.c drm/amd/display: Add callbacks for DMUB HPD IRQ notifications 2021-11-09 17:08:00 -05:00
amdgpu_dm.h drm/amd/display: Support for SET_CONFIG processing with DMUB 2021-10-06 15:52:30 -04:00
amdgpu_dm_color.c drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check 2021-06-11 16:16:07 -04:00
amdgpu_dm_crc.c drm/amd/display: Avoid get/put vblank when stream disabled 2021-05-19 22:39:28 -04:00
amdgpu_dm_crc.h drm/amd/display: Refactor suspend/resume of Secure display 2021-05-19 22:39:16 -04:00
amdgpu_dm_debugfs.c drm/amd/display: Don't allow partial copy_from_user 2021-11-05 14:10:39 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
amdgpu_dm_hdcp.c drm/amd/display: Fix for null pointer access for ddc pin and aux engine. 2021-09-14 15:57:09 -04:00
amdgpu_dm_hdcp.h drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_helpers.c drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DCN is not set 2021-10-27 19:50:26 -04:00
amdgpu_dm_irq.c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work 2021-08-09 15:44:09 -04:00
amdgpu_dm_irq.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Use vblank control events for PSR enable/disable 2021-08-16 15:35:56 -04:00
amdgpu_dm_mst_types.c drm/amd/display: dsc engine not disabled after unplug dsc mst hub 2021-11-03 12:32:33 -04:00
amdgpu_dm_mst_types.h drm/amd/display: dsc mst 2 4K displays go dark with 2 lane HBR3 2021-09-14 15:57:10 -04:00
amdgpu_dm_pp_smu.c drm/amd/pm: make DAL communicate with SMU through unified interfaces 2021-04-09 16:42:37 -04:00
amdgpu_dm_psr.c drm/amd/display: dc_link_set_psr_allow_active refactoring 2021-10-28 14:26:14 -04:00
amdgpu_dm_psr.h drm/amd/display: Delay PSR entry 2021-06-21 17:45:14 -04:00
amdgpu_dm_services.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
amdgpu_dm_trace.h drm/amd/display: Add control mechanism for FPU utilization 2021-08-05 21:17:59 -04:00
dc_fpu.c drm/amd/display: Re-arrange FPU code structure for dcn2x 2021-10-06 15:49:24 -04:00
dc_fpu.h drm/amd/display: Add DC_FP helper to check FPU state 2021-08-05 21:17:59 -04:00
Makefile drm/amd/display: Add control mechanism for FPU 2021-08-05 21:17:59 -04:00