disp: msm: pass free dsc and lm availability info to dp

Primary and secondary dsi displays are built-in displays
and they are supported during all concurrency usecases
without resource allocation failure. DP mode filter
logic should provide supported mode information based
on free mdp resources after dsi resource assignment.

Change-Id: I3a9637a91ea1ffcc31997e25caff7f13605283ac
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel
2020-06-07 12:58:49 -07:00
부모 fae3dc03b4
커밋 83860f0642
8개의 변경된 파일89개의 추가작업 그리고 5개의 파일을 삭제

파일 보기

@@ -723,6 +723,10 @@ struct msm_resource_caps_info {
* @roi_caps: Region of interest capability info
* @qsync_min_fps Minimum fps supported by Qsync feature
* @te_source vsync source pin information
* @dsc_count: max dsc hw blocks used by display (only available
* for dsi display)
* @lm_count: max layer mixer blocks used by display (only available
* for dsi display)
*/
struct msm_display_info {
int intf_type;
@@ -747,6 +751,9 @@ struct msm_display_info {
uint32_t qsync_min_fps;
uint32_t te_source;
uint32_t dsc_count;
uint32_t lm_count;
};
#define MSM_MAX_ROI 4