mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ac627caf6b
[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> |
||
---|---|---|
.. | ||
dce80 | ||
dce110 | ||
dce120 | ||
dcn10 | ||
diagnostics | ||
ddc_regs.h | ||
gpio_base.c | ||
gpio_regs.h | ||
gpio_service.c | ||
gpio_service.h | ||
hpd_regs.h | ||
hw_ddc.c | ||
hw_ddc.h | ||
hw_factory.c | ||
hw_factory.h | ||
hw_gpio.c | ||
hw_gpio.h | ||
hw_hpd.c | ||
hw_hpd.h | ||
hw_translate.c | ||
hw_translate.h | ||
Makefile |