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>
此提交包含在:
@@ -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;
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者