.. | .. |
---|
36 | 36 | #include "dce/dce_8_0_d.h" |
---|
37 | 37 | #include "dce/dce_8_0_sh_mask.h" |
---|
38 | 38 | |
---|
39 | | -struct dce80_hw_seq_reg_offsets { |
---|
40 | | - uint32_t crtc; |
---|
41 | | -}; |
---|
42 | | - |
---|
43 | | -static const struct dce80_hw_seq_reg_offsets reg_offsets[] = { |
---|
44 | | -{ |
---|
45 | | - .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
46 | | -}, |
---|
47 | | -{ |
---|
48 | | - .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
49 | | -}, |
---|
50 | | -{ |
---|
51 | | - .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
52 | | -}, |
---|
53 | | -{ |
---|
54 | | - .crtc = (mmCRTC3_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
55 | | -}, |
---|
56 | | -{ |
---|
57 | | - .crtc = (mmCRTC4_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
58 | | -}, |
---|
59 | | -{ |
---|
60 | | - .crtc = (mmCRTC5_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), |
---|
61 | | -} |
---|
62 | | -}; |
---|
63 | | - |
---|
64 | | -#define HW_REG_CRTC(reg, id)\ |
---|
65 | | - (reg + reg_offsets[id].crtc) |
---|
66 | | - |
---|
67 | 39 | /******************************************************************************* |
---|
68 | 40 | * Private definitions |
---|
69 | 41 | ******************************************************************************/ |
---|
.. | .. |
---|
74 | 46 | { |
---|
75 | 47 | dce110_hw_sequencer_construct(dc); |
---|
76 | 48 | |
---|
77 | | - dc->hwss.enable_display_power_gating = dce100_enable_display_power_gating; |
---|
| 49 | + dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating; |
---|
78 | 50 | dc->hwss.pipe_control_lock = dce_pipe_control_lock; |
---|
79 | | - dc->hwss.set_bandwidth = dce100_set_bandwidth; |
---|
| 51 | + dc->hwss.prepare_bandwidth = dce100_prepare_bandwidth; |
---|
| 52 | + dc->hwss.optimize_bandwidth = dce100_optimize_bandwidth; |
---|
80 | 53 | } |
---|
81 | 54 | |
---|