1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dce60
gehao d232afb1f3 drm/amd/display: prevent memory leak
In dce6(0,1,4)_create_resource_pool and dce80_create_resource_pool
the allocated memory should be released if construct pool fails.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: gehao <gehao@kylinos.cn>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-10-27 15:12:08 -04:00
..
dce60_hw_sequencer.c drm/amd/display: dce60_hw_sequencer: add DCE6 specific .cursor_lock 2020-07-27 16:46:39 -04:00
dce60_hw_sequencer.h drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
dce60_resource.c drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce60_resource.h drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
dce60_timing_generator.c drm/amd/display/dc/dce60/dce60_timing_generator: Make 'dce60_configure_crc' invoked by reference static 2021-01-13 23:53:27 -05:00
dce60_timing_generator.h drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
Makefile drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning 2021-01-14 13:20:20 -05:00