aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorWentao Liang <[email protected]>2025-03-06 04:27:20 +0000
committerInki Dae <[email protected]>2025-04-23 13:53:01 +0000
commit0253dadc772e83aaa67aea8bf24a71e7ffe13cb0 (patch)
tree1ffd6a15ebd0c6bfea61d8b32d0608d2fa47b8ff /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/exynos: Remove unnecessary checking (diff)
downloadkernel-0253dadc772e83aaa67aea8bf24a71e7ffe13cb0.tar.gz
kernel-0253dadc772e83aaa67aea8bf24a71e7ffe13cb0.zip
drm/exynos/vidi: Remove redundant error handling in vidi_get_modes()
In the vidi_get_modes() function, if either drm_edid_dup() or drm_edid_alloc() fails, the function will immediately return 0, indicating that no display modes can be retrieved. However, in the event of failure in these two functions, it is still necessary to call the subsequent drm_edid_connector_update() function with a NULL drm_edid as an argument. This ensures that operations such as connector settings are performed in its callee function, _drm_edid_connector_property_update. To maintain the integrity of the operation, redundant error handling needs to be removed. Signed-off-by: Wentao Liang <[email protected]> Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions