]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Cache the use_pitch_c conditional
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Wed, 19 Jun 2019 21:33:02 +0000 (17:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:27:25 +0000 (14:27 -0500)
commit4a1292e4070eccb2479ecd0fe0806aa91f054117
tree4aa248dc0b71af957e94e3434572aeb9bbce9492
parentb716ab528fa1bd4a319adf7bb16d9a8123f70e2b
drm/amd/display: Cache the use_pitch_c conditional

For clarity, save the use_pitch_c logic to a bool

Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: Eric Bernstein <eric.bernstein@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c