linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/gpio
Jun Lei 119630061e drm/amd/display: remove hw access from dc_destroy
[why]
dc_destroy should only clean up SW, this is because GPUs may be
removed before driver unload, leading to HW to be unavailable.

[how]
remove GPIO close as part of GPIO destroy, this is unnecessary because
GPIO is not shared, and GPIOs are generally closed after being opened

Add tracking to HW access during destructor to make future issues
easier to pinpoint, and block access to prevent hangs.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-09-13 18:02:52 -05:00
..
dce80 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dce110 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dce120 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dcn10 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dcn20 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
dcn21 drm/amd/display: Add stereo mux and dig programming calls for dcn21 2019-09-13 17:49:53 -05:00
diagnostics drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
ddc_regs.h drm/amd/display: Add GPIO support for DCN2 2019-06-21 18:59:34 -05:00
generic_regs.h drm/amd/display: Implement generic MUX registers (v2) 2019-07-18 14:27:24 -05:00
gpio_base.c drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
gpio_regs.h
gpio_service.c drm/amd/display: remove hw access from dc_destroy 2019-09-13 18:02:52 -05:00
gpio_service.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hpd_regs.h
hw_ddc.c drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_ddc.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_factory.c drm/amd/display: Add Renoir GPIO 2019-08-29 15:52:33 -05:00
hw_factory.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_generic.c drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_generic.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
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 drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_hpd.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_translate.c drm/amd/display: Add Renoir GPIO 2019-08-29 15:52:33 -05:00
hw_translate.h
Makefile drm/amd/display: Add Renoir GPIO 2019-08-29 15:52:33 -05:00