linux_dsm_epyc7002/drivers/gpu/drm/amd/display/amdgpu_dm
Bhawanpreet Lakha 79c4ac0d75 drm/amd/display: Null check aconnector in event_property_validate
[Why]
previously event_property_validate was only called after we enabled the display.
But after "Refactor HDCP to handle multiple displays per link" this function
can be called at any time. In certain cases we don't have a aconnector

[How]
Null check aconnector and exit early. This is ok because we only need to check the
ENABLED->DESIRED transition if a connector exists.

Fixes: b1abe5586f ("drm/amd/display: Refactor HDCP to handle multiple displays per link")
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-26 14:50:38 -05:00
..
amdgpu_dm_color.c drm/amd/display: Free gamma after calculating legacy transfer function 2019-10-25 16:50:07 -04:00
amdgpu_dm_crc.c drm/amd/display: Added pixel dynamic expansion control. 2019-10-10 19:24:26 -05:00
amdgpu_dm_crc.h drm/amd/display: Split out DC programming for CRC capture 2019-08-21 22:18:25 -05:00
amdgpu_dm_debugfs.c drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
amdgpu_dm_debugfs.h amdgpu_dm: no need to check return value of debugfs_create functions 2019-06-13 13:59:49 -05:00
amdgpu_dm_hdcp.c drm/amd/display: Null check aconnector in event_property_validate 2019-11-26 14:50:38 -05:00
amdgpu_dm_hdcp.h drm/amd/display: add force Type0/1 flag 2019-11-19 10:12:53 -05:00
amdgpu_dm_helpers.c drm/amdgpu/dm: Do not throw an error for a display with no audio 2019-11-19 10:12:51 -05:00
amdgpu_dm_irq.c drm/amdgpu: Iterate through DRM connectors correctly 2019-10-24 14:28:40 -04:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Fix coding error in connector atomic check 2019-11-19 10:12:54 -05:00
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c drm/amd/display: add default clocks if not able to fetch them 2019-11-22 15:41:30 -05:00
amdgpu_dm_services.c drm/amd: drop use of drmP.h in display/ 2019-06-10 23:00:20 +02:00
amdgpu_dm_trace.h
amdgpu_dm.c Revert "drm/amd/display: enable S/G for RAVEN chip" 2019-11-19 10:12:54 -05:00
amdgpu_dm.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: Create amdgpu_dm_hdcp 2019-10-03 09:10:58 -05:00