@@ -2139,6 +2139,11 @@ union dmub_cmd_fams2_config {
2139
2139
} stream_v1 ; //v1
2140
2140
};
2141
2141
2142
+ struct dmub_fams2_config_v2 {
2143
+ struct dmub_cmd_fams2_global_config global ;
2144
+ struct dmub_fams2_stream_static_state_v1 stream_v1 [DMUB_MAX_STREAMS ]; //v1
2145
+ };
2146
+
2142
2147
/**
2143
2148
* DMUB rb command definition for FAMS2 (merged SubVP, FPO, Legacy)
2144
2149
*/
@@ -2147,6 +2152,22 @@ struct dmub_rb_cmd_fams2 {
2147
2152
union dmub_cmd_fams2_config config ;
2148
2153
};
2149
2154
2155
+ /**
2156
+ * Indirect buffer descriptor
2157
+ */
2158
+ struct dmub_ib_data {
2159
+ union dmub_addr src ; // location of indirect buffer in memory
2160
+ uint16_t size ; // indirect buffer size in bytes
2161
+ };
2162
+
2163
+ /**
2164
+ * DMUB rb command definition for commands passed over indirect buffer
2165
+ */
2166
+ struct dmub_rb_cmd_ib {
2167
+ struct dmub_cmd_header header ;
2168
+ struct dmub_ib_data ib_data ;
2169
+ };
2170
+
2150
2171
/**
2151
2172
* enum dmub_cmd_idle_opt_type - Idle optimization command type.
2152
2173
*/
@@ -2170,6 +2191,11 @@ enum dmub_cmd_idle_opt_type {
2170
2191
* DCN hardware notify power state.
2171
2192
*/
2172
2193
DMUB_CMD__IDLE_OPT_SET_DC_POWER_STATE = 3 ,
2194
+
2195
+ /**
2196
+ * DCN notify to release HW.
2197
+ */
2198
+ DMUB_CMD__IDLE_OPT_RELEASE_HW = 4 ,
2173
2199
};
2174
2200
2175
2201
/**
@@ -2931,8 +2957,9 @@ enum dmub_cmd_fams_type {
2931
2957
*/
2932
2958
DMUB_CMD__FAMS_SET_MANUAL_TRIGGER = 3 ,
2933
2959
DMUB_CMD__FAMS2_CONFIG = 4 ,
2934
- DMUB_CMD__FAMS2_DRR_UPDATE = 5 ,
2935
- DMUB_CMD__FAMS2_FLIP = 6 ,
2960
+ DMUB_CMD__FAMS2_IB_CONFIG = 5 ,
2961
+ DMUB_CMD__FAMS2_DRR_UPDATE = 6 ,
2962
+ DMUB_CMD__FAMS2_FLIP = 7 ,
2936
2963
};
2937
2964
2938
2965
/**
@@ -5926,8 +5953,11 @@ union dmub_rb_cmd {
5926
5953
* Definition of a DMUB_CMD__PSP_ASSR_ENABLE command.
5927
5954
*/
5928
5955
struct dmub_rb_cmd_assr_enable assr_enable ;
5956
+
5929
5957
struct dmub_rb_cmd_fams2 fams2_config ;
5930
5958
5959
+ struct dmub_rb_cmd_ib ib_fams2_config ;
5960
+
5931
5961
struct dmub_rb_cmd_fams2_drr_update fams2_drr_update ;
5932
5962
5933
5963
struct dmub_rb_cmd_fams2_flip fams2_flip ;
0 commit comments