disp: msm: sde: use LLCC_DISP for static display usecase with cwb

Static display usecase uses concurrent writeback path to compose the
layers and updates the primary display in the next cycle with cwb
output. Use LLCC_DISP scid for system cache in cwb path, to keep it
in sync with the legacy static display path. Use LLCC_DISP_WB for
the offline-wb path. Expose the writeback connector cache property
only when either or both the cache types are enabled.

Change-Id: I8ca4b14828a14ce0bde829136fb4baef272166aa
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
This commit is contained in:
Veera Sundaram Sankaran
2022-03-16 22:51:56 -07:00
부모 068c83ecd9
커밋 65b81f914e
3개의 변경된 파일34개의 추가작업 그리고 16개의 파일을 삭제

파일 보기

@@ -410,7 +410,7 @@ static void sde_hw_wb_setup_sys_cache(struct sde_hw_wb *ctx, struct sde_hw_wb_sc
return;
if (cfg->flags & SYS_CACHE_EN_FLAG)
val |= BIT(15);
val |= (cfg->wr_en ? BIT(15) : 0);
if (cfg->flags & SYS_CACHE_SCID)
val |= ((cfg->wr_scid & 0x1f) << 8);