sdm: Populate min prefill lines.
Change-Id: I5b3b44413d23d13983e7bb7ecc736893d8ba6aec
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
7214251e4a
commit
3e2c04038e
@@ -401,6 +401,7 @@ struct DRMCrtcInfo {
|
|||||||
uint32_t max_dest_scaler_input_width = 0;
|
uint32_t max_dest_scaler_input_width = 0;
|
||||||
uint32_t max_dest_scaler_output_width = 0;
|
uint32_t max_dest_scaler_output_width = 0;
|
||||||
uint32_t max_dest_scale_up = 1;
|
uint32_t max_dest_scale_up = 1;
|
||||||
|
uint32_t min_prefill_lines = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum struct DRMPlaneType {
|
enum struct DRMPlaneType {
|
||||||
|
|||||||
@@ -228,6 +228,7 @@ struct HWResourceInfo {
|
|||||||
CompRatioMap comp_ratio_nrt_map;
|
CompRatioMap comp_ratio_nrt_map;
|
||||||
uint32_t cache_size = 0; // cache size in bytes
|
uint32_t cache_size = 0; // cache size in bytes
|
||||||
HWQseedStepVersion pipe_qseed3_version = kQseed3v2; // only valid when has_qseed3=true
|
HWQseedStepVersion pipe_qseed3_version = kQseed3v2; // only valid when has_qseed3=true
|
||||||
|
uint32_t min_prefill_lines = 0;
|
||||||
|
|
||||||
void Reset() { *this = HWResourceInfo(); }
|
void Reset() { *this = HWResourceInfo(); }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -322,6 +322,7 @@ void HWInfoDRM::GetSystemInfo(HWResourceInfo *hw_resource) {
|
|||||||
hw_resource->hw_dest_scalar_info.max_scale_up = info.max_dest_scale_up;
|
hw_resource->hw_dest_scalar_info.max_scale_up = info.max_dest_scale_up;
|
||||||
hw_resource->hw_dest_scalar_info.max_input_width = info.max_dest_scaler_input_width;
|
hw_resource->hw_dest_scalar_info.max_input_width = info.max_dest_scaler_input_width;
|
||||||
hw_resource->hw_dest_scalar_info.max_output_width = info.max_dest_scaler_output_width;
|
hw_resource->hw_dest_scalar_info.max_output_width = info.max_dest_scaler_output_width;
|
||||||
|
hw_resource->min_prefill_lines = info.min_prefill_lines;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HWInfoDRM::GetHWPlanesInfo(HWResourceInfo *hw_resource) {
|
void HWInfoDRM::GetHWPlanesInfo(HWResourceInfo *hw_resource) {
|
||||||
|
|||||||
Reference in New Issue
Block a user