sdm: Populate min prefill lines.

Change-Id: I5b3b44413d23d13983e7bb7ecc736893d8ba6aec
This commit is contained in:
Pullakavi Srinivas
2017-12-05 17:50:15 +05:30
committed by Gerrit - the friendly Code Review server
parent 7214251e4a
commit 3e2c04038e
3 changed files with 3 additions and 0 deletions

View File

@@ -401,6 +401,7 @@ struct DRMCrtcInfo {
uint32_t max_dest_scaler_input_width = 0;
uint32_t max_dest_scaler_output_width = 0;
uint32_t max_dest_scale_up = 1;
uint32_t min_prefill_lines = 0;
};
enum struct DRMPlaneType {

View File

@@ -228,6 +228,7 @@ struct HWResourceInfo {
CompRatioMap comp_ratio_nrt_map;
uint32_t cache_size = 0; // cache size in bytes
HWQseedStepVersion pipe_qseed3_version = kQseed3v2; // only valid when has_qseed3=true
uint32_t min_prefill_lines = 0;
void Reset() { *this = HWResourceInfo(); }
};

View File

@@ -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_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->min_prefill_lines = info.min_prefill_lines;
}
void HWInfoDRM::GetHWPlanesInfo(HWResourceInfo *hw_resource) {