]> 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)
commitebc2743083ed82ae76d7a4410a2ee69860c3a55f
treeabfabc2e5f6ea538c08f2aae037ba2549e557342
parent5988de54d1bdfd0808b610e34a0c7c7fa12c6bb3
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