]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Guard vblank wq flush with DCN guards
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 12 Aug 2021 13:50:24 +0000 (09:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Aug 2021 20:14:12 +0000 (16:14 -0400)
commit941f394bd326fcf0b116c1845eb5f401a326fda8
tree93423109eae34a7406f1097789c6e5d76ba89c98
parent4fe12cb9b8601ba10fff796bdac9976767b4df9b
drm/amd/display: Guard vblank wq flush with DCN guards

[Why]
Compilation of the workqueue fails if not building with the DCN config
option set.

[How]
Guard calls to the flush with the DCN config option to fix the build.

Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c