linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/gpio
Chiawen Huang ac627caf6b drm/amd/display: add gpio lock/unlock
[Why]
When querying HPD via GPIO flow,
it will create a new gpio object then free in the end of query.
There is a irql issue for HPD querying at ISR level.

[How]
Therefore, creating the HPD gpio object in dc_link and set it as unlcok in default.
1. reducing unnecessary malloc/free when HPD querying.
2. reducing init GPIO flow.
3. add lock/unlock to prevent multi gpio service running.

Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-05 21:16:23 -05:00
..
dce80
dce110
dce120 drm/amd/dc: include new ip and ip_offset headers 2018-02-19 14:18:14 -05:00
dcn10 drm/amd/dc: include new ip and ip_offset headers 2018-02-19 14:18:14 -05:00
diagnostics
ddc_regs.h drm/amd/display: Move common GPIO registers into a common define 2018-07-13 14:47:20 -05:00
gpio_base.c drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
gpio_regs.h
gpio_service.c drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
gpio_service.h drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
hpd_regs.h
hw_ddc.c amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_ddc.h
hw_factory.c drm/amd/display: Add DCE_VERSION_12_1 enum for Vega 20 2018-12-18 17:39:49 -05:00
hw_factory.h
hw_gpio.c amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_gpio.h amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_hpd.c amdgpu/dc: cleanup construct returns in gpio. 2017-09-29 13:02:28 -04:00
hw_hpd.h
hw_translate.c drm/amd/display: Add DCE_VERSION_12_1 enum for Vega 20 2018-12-18 17:39:49 -05:00
hw_translate.h
Makefile Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00