From 64f223b0dd120040ce74b0e2d493ee676c921c4a Mon Sep 17 00:00:00 2001 From: Yongqiang Sun Date: Tue, 2 Apr 2019 10:05:46 -0400 Subject: [PATCH] drm/amd/display: Remove REFCYC regs [Why] Some register fields are not needed. [How] remove them Signed-off-by: Yongqiang Sun Reviewed-by: Tony Cheng Acked-by: Bhawanpreet Lakha Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h | 7 ++----- 1 file changed, 2 insertions(+), 5 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 9f6858c32b22..9f56c1d2d188 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h @@ -176,11 +176,8 @@ type HUBPREQ_MASTER_UPDATE_LOCK_STATUS;\ type SURFACE_GSL_ENABLE;\ type SURFACE_TRIPLE_BUFFER_ENABLE;\ - type VMID;\ - type REFCYC_PER_VM_GROUP_FLIP;\ - type REFCYC_PER_VM_REQ_FLIP;\ - type REFCYC_PER_VM_GROUP_VBLANK;\ - type REFCYC_PER_VM_REQ_VBLANK + type VMID + struct dcn_hubp2_registers { DCN2_HUBP_REG_COMMON_VARIABLE_LIST; -- 2.30.2