diff options
author | Ilya Bakoulin <Ilya.Bakoulin@amd.com> | 2019-07-22 14:12:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-15 10:55:29 -0500 |
commit | 2c58cc6dc0e15c62157430ee58f8efdae2aa7934 (patch) | |
tree | d0204476d28e0e7a2f76a4823e9f953af5f92e74 /drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h | |
parent | drm/amd/display: update optc odm interface for more than 2 opps (diff) | |
download | wireguard-linux-2c58cc6dc0e15c62157430ee58f8efdae2aa7934.tar.xz wireguard-linux-2c58cc6dc0e15c62157430ee58f8efdae2aa7934.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h index 924699e5f443..c4ed8f1b9424 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h @@ -252,7 +252,7 @@ bool hubp2_program_surface_flip_and_addr( bool flip_immediate); void hubp2_dcc_control(struct hubp *hubp, bool enable, - bool independent_64b_blks); + enum hubp_ind_block_size independent_64b_blks); void hubp2_program_size( struct hubp *hubp, |