drm/amd/display: Remove couple of unused OPTC registers
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5af9d013ef
commit
5f353208c3
|
@ -131,7 +131,6 @@ struct dcn_optc_registers {
|
|||
uint32_t OTG_GSL_WINDOW_X;
|
||||
uint32_t OTG_GSL_WINDOW_Y;
|
||||
uint32_t OTG_VUPDATE_KEEPOUT;
|
||||
uint32_t OTG_DSC_START_POSITION;
|
||||
};
|
||||
|
||||
#define TG_COMMON_MASK_SH_LIST_DCN(mask_sh)\
|
||||
|
@ -241,7 +240,7 @@ struct dcn_optc_registers {
|
|||
SF(OTG0_OTG_TEST_PATTERN_COLOR, OTG_TEST_PATTERN_DATA, mask_sh),\
|
||||
SF(ODM0_OPTC_DATA_SOURCE_SELECT, OPTC_SRC_SEL, mask_sh)
|
||||
|
||||
#define TG_REG_FIELD_LIST(type) \
|
||||
#define TG_REG_FIELD_LIST_DCN1_0(type) \
|
||||
type VSTARTUP_START;\
|
||||
type VUPDATE_OFFSET;\
|
||||
type VUPDATE_WIDTH;\
|
||||
|
@ -352,10 +351,11 @@ struct dcn_optc_registers {
|
|||
type OTG_MASTER_UPDATE_LOCK_GSL_EN;\
|
||||
type MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_START_OFFSET;\
|
||||
type MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_END_OFFSET;\
|
||||
type OTG_DSC_START_POSITION_X;\
|
||||
type OTG_DSC_START_POSITION_LINE_NUM;\
|
||||
type OTG_MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_EN;
|
||||
|
||||
#define TG_REG_FIELD_LIST(type) \
|
||||
TG_REG_FIELD_LIST_DCN1_0(type)
|
||||
|
||||
|
||||
struct dcn_optc_shift {
|
||||
TG_REG_FIELD_LIST(uint8_t)
|
||||
|
|
|
@ -217,6 +217,7 @@ struct timing_generator_funcs {
|
|||
*/
|
||||
bool (*get_crc)(struct timing_generator *tg,
|
||||
uint32_t *r_cr, uint32_t *g_y, uint32_t *b_cb);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue