drm/amd/display: HUBP/HUBBUB register programming fixes
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Mon, 22 Jul 2019 18:12:25 +0000 (14:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:55:29 +0000 (10:55 -0500)
commit2c58cc6dc0e15c62157430ee58f8efdae2aa7934
treed0204476d28e0e7a2f76a4823e9f953af5f92e74
parent2b162fd3024997b97c95290b0a8ed08d914f115d
drm/amd/display: HUBP/HUBBUB register programming fixes

[Why]
- Need to change interface function signature / add an enum
  to reflect the available register field values

[How]
- Add a new enum and modify existing functions to use it instead
  of bool

Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h