OSDN Git Service

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)
commit8bee5c5c7e9ed478272bcd1288a425b5a101b376
tree4aa248dc0b71af957e94e3434572aeb9bbce9492
parent69866d132355c83f115070c79537c72f9e2d6965
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