]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix rotation_angle to use enum values
authorBrandon Syu <Brandon.Syu@amd.com>
Thu, 9 Jan 2020 06:19:20 +0000 (14:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:28 +0000 (16:55 -0500)
commit5e9a606586c0bdefb7d837ba57724152ad48a8e0
tree8901f0a1ea102eff55d5e43db71f3524368f8cc1
parentad2e8642d4629a743fed591eca1c2f7131b78a31
drm/amd/display: fix rotation_angle to use enum values

[Why]
Hardcoded fixed values are not proper.

[How]
Use enum values instead of fixed numbers.

Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c