diff options
author | Charlene Liu <charlene.liu@amd.com> | 2019-05-07 23:12:02 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 17:34:10 +0300 |
commit | 4850ce697f9892df083bd7b3ec7c715404dd4279 (patch) | |
tree | c9022a6a03228f60403fd08c13a7d67dc8148356 /drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | |
parent | fbc9ca671f4ffbc0c873de17cf2305ca438cb09e (diff) | |
download | linux-4850ce697f9892df083bd7b3ec7c715404dd4279.tar.xz |
drm/amd/display: Add hubp_init entry to hubp vtable
Different HW will need to init HUBP differently. For now, add a vtable
entry, and hook a NO-OP for DCN1 and DCN2.
In addition, future HW will need to access the HUBPREQ_DEBUG and
CUR_TTU_CNTL0 register for hubp_init. Add that here.
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h index e7a21fc9845b..fa98c96d0046 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h @@ -145,11 +145,11 @@ struct hubp_funcs { uint32_t dmdata_sw_size, const uint32_t *dmdata_sw_data); bool (*dmdata_status_done)(struct hubp *hubp); - void(*hubp_enable_tripleBuffer)( + void (*hubp_enable_tripleBuffer)( struct hubp *hubp, bool enable); - bool(*hubp_is_triplebuffer_enabled)( + bool (*hubp_is_triplebuffer_enabled)( struct hubp *hubp); void (*hubp_set_flip_control_surface_gsl)( |