sdm: Populate min prefill lines.
Change-Id: I5b3b44413d23d13983e7bb7ecc736893d8ba6aec
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h
index 6ff192e..01981ca 100644
--- a/libdrmutils/drm_interface.h
+++ b/libdrmutils/drm_interface.h
@@ -401,6 +401,7 @@
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 {
diff --git a/sdm/include/private/hw_info_types.h b/sdm/include/private/hw_info_types.h
index b086907..d2d4b0b 100644
--- a/sdm/include/private/hw_info_types.h
+++ b/sdm/include/private/hw_info_types.h
@@ -228,6 +228,7 @@
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(); }
};
diff --git a/sdm/libs/core/drm/hw_info_drm.cpp b/sdm/libs/core/drm/hw_info_drm.cpp
index b4c1d37..722a281 100644
--- a/sdm/libs/core/drm/hw_info_drm.cpp
+++ b/sdm/libs/core/drm/hw_info_drm.cpp
@@ -322,6 +322,7 @@
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) {