]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: extract cursor FB checks into a function
authorSimon Ser <contact@emersion.fr>
Thu, 3 Dec 2020 20:19:35 +0000 (20:19 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:02:11 +0000 (23:02 -0500)
commita72657fae0fdaf9b926960b78239f4e22952fc24
treeabfabc2e5f6ea538c08f2aae037ba2549e557342
parentc9528d74119a5180258ce86a591b381a89f1dae7
drm/amd/display: extract cursor FB checks into a function

As more checks are added, the indentation makes the code harder to read.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c