]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Added Check For dc->res_pool
authorJarif Aftab <jaraftab@amd.com>
Wed, 24 Nov 2021 18:44:52 +0000 (13:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Dec 2021 18:10:22 +0000 (13:10 -0500)
commitbd2d7ba36aed6ec031b0fde9494fc50cdadc6b0c
tree26dacb66cb1535a4bb1b684234dfe06bf60124c1
parenta137f8fc221d2a85ad5224363426d844156630ea
drm/amd/display: Added Check For dc->res_pool

[WHY]
-To ensure dc->res_pool has been initialized

[HOW]
-Check if dc->res_pool is true in
the if statement

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Jarif Aftab <jaraftab@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c