linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/gpio
Su Sung Chung 91db931194 drm/amd/display: refactor gpio to allocate hw_container in constructor
[why]
if dynamic allocation fails during gpio_open, it will cause crash due to
page fault.

[how]
handle allocation when gpio object gets created and prevent from calling
gpio_open if allocation failed

Signed-off-by: Su Sung Chung <Su.Chung@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-15 10:53:55 -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
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: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
gpio_regs.h
gpio_service.c drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -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 Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -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 GPIO support for DCN2 2019-06-21 18:59:34 -05:00
hw_translate.h
Makefile drm/amd/display: Implement generic MUX registers (v2) 2019-07-18 14:27:24 -05:00