Merge "video: driver: enable mmrm query support"

This commit is contained in:
qctecmdr
2021-12-01 12:28:11 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -182,11 +182,10 @@ static int msm_vidc_check_mmrm_support(struct msm_vidc_core *core)
if (!core->capabilities[MMRM].value)
goto exit;
/* Todo: Dependency on MMRM driver changes */
// if (!mmrm_client_check_scaling_supported(MMRM_CLIENT_CLOCK, 0)) {
// d_vpr_e("%s: MMRM not supported\n", __func__);
// core->capabilities[MMRM].value = 0;
// }
if (!mmrm_client_check_scaling_supported(MMRM_CLIENT_CLOCK, 0)) {
d_vpr_e("%s: MMRM not supported\n", __func__);
core->capabilities[MMRM].value = 0;
}
exit:
d_vpr_h("%s: %d\n", __func__, core->capabilities[MMRM].value);