mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/msm/dpu: drop ubwc_dec_version
Stop using ubwc_dec_version (the version of the UBWC block in the display subsystem) for detecting the enablement of the UBWC. Use only ubwc_enc_version, the version of the UBWC which we are setting up for. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/726515/ Link: https://lore.kernel.org/r/20260520-ubwc-rework-v5-20-72f2749bc807@oss.qualcomm.com
This commit is contained in:
parent
76bcf01949
commit
62342315b6
|
|
@ -1781,8 +1781,7 @@ static bool dpu_plane_format_mod_supported(struct drm_plane *plane,
|
|||
uint32_t format, uint64_t modifier)
|
||||
{
|
||||
struct dpu_kms *dpu_kms = _dpu_plane_get_kms(plane);
|
||||
bool has_no_ubwc = (dpu_kms->mdss->ubwc_enc_version == 0) &&
|
||||
(dpu_kms->mdss->ubwc_dec_version == 0);
|
||||
bool has_no_ubwc = (dpu_kms->mdss->ubwc_enc_version == 0);
|
||||
|
||||
if (modifier == DRM_FORMAT_MOD_LINEAR)
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user