Merge "disp: msm: sde: flush commit thread queue during pm suspend"

This commit is contained in:
qctecmdr
2021-06-01 20:21:34 -07:00
committed by Gerrit - the friendly Code Review server
當前提交 8bbc6f2698
共有 8 個文件被更改,包括 58 次插入22 次删除

查看文件

@@ -839,6 +839,13 @@ static int sde_encoder_phys_wb_atomic_check(
return -EINVAL;
}
if (fmt->chroma_sample == SDE_CHROMA_H2V1 ||
fmt->chroma_sample == SDE_CHROMA_H1V2) {
SDE_ERROR("invalid chroma sample type in output format %x\n",
fmt->base.pixel_format);
return -EINVAL;
}
if (SDE_FORMAT_IS_UBWC(fmt) &&
!(wb_cfg->features & BIT(SDE_WB_UBWC))) {
SDE_ERROR("invalid output format %x\n", fmt->base.pixel_format);