disp: msm: sde: allocate dsc block based on capability

Certain DSC hw blocks only support 444 mode, while others
support both 444 and 422 modes. This change adds support in
resource manager to check the hw resource requirement with
the capability of the block and then reserve the correct
hw resource.

Change-Id: If85beb2f2f25e9eb7f8a8321c94b57878d048369
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
此提交包含在:
Abhijit Kulkarni
2019-05-27 18:05:38 -07:00
父節點 d3d3f808d4
當前提交 e2726c7b1a
共有 3 個檔案被更改,包括 36 行新增5 行删除

查看文件

@@ -480,6 +480,7 @@ void sde_encoder_get_hw_resources(struct drm_encoder *drm_enc,
*/
sde_connector_state_get_mode_info(conn_state, &mode_info);
hw_res->topology = mode_info.topology;
hw_res->comp_info = &sde_enc->mode_info.comp_info;
hw_res->display_type = sde_enc->disp_info.display_type;
}