[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250905-dpu-formats-v2-0-7a674028c048@oss.qualcomm.com>
Date: Fri, 05 Sep 2025 03:38:29 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Rob Clark <robin.clark@....qualcomm.com>,
Dmitry Baryshkov <lumag@...nel.org>,
Abhinav Kumar <abhinav.kumar@...ux.dev>,
Jessica Zhang <jessica.zhang@....qualcomm.com>,
Sean Paul <sean@...rly.run>,
Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Jordan Crouse <jordan@...micpenguin.net>
Cc: linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 00/12] drm/msm/dpu: rework format handling code
- Rework mdp_format.c in order to make format table manageable
- Rework layout population for UBWC formats in DPU driver
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
---
Changes in v2:
- Dropped DX flag from the tiled NV12 format structure (Jessica)
- Changed round_up(foo, 192) to the roundup() as the former one is
supposed to be used with power of 2 argument (Jessica)
- Fixed undefined varuables warning in
_dpu_format_populate_plane_sizes_ubwc() by dropping the always-true
condition (LKP)
- Link to v1: https://lore.kernel.org/r/20250705-dpu-formats-v1-0-40f0bb31b8c8@oss.qualcomm.com
---
Dmitry Baryshkov (12):
drm/msm/disp: set num_planes to 1 for interleaved YUV formats
drm/msm/disp: set num_planes and fetch_mode in INTERLEAVED_RGB_FMT
drm/msm/disp: set num_planes, fetch_mode and tile_height in INTERLEAVED_RGB_FMT_TILED
drm/msm/disp: simplify RGB{,A,X} formats definitions
drm/msm/disp: simplify tiled RGB{,A,X} formats definitions
drm/msm/disp: pull in common YUV format parameters
drm/msm/disp: pull in common tiled YUV format parameters
drm/msm/disp: drop PSEUDO_YUV_FMT_LOOSE_TILED
drm/msm/dpu: simplify _dpu_format_populate_plane_sizes_*
drm/msm/dpu: drop redundant num_planes assignment in _dpu_format_populate_plane_sizes*()
drm/msm/dpu: rewrite _dpu_format_populate_plane_sizes_ubwc()
drm/msm/dpu: use standard functions in _dpu_format_populate_plane_sizes_ubwc()
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 174 ++--
drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h | 1155 ------------------------
drivers/gpu/drm/msm/disp/mdp_format.c | 613 +++++++------
3 files changed, 390 insertions(+), 1552 deletions(-)
---
base-commit: 9be5c47908e669db4934ef9c129b28bbc879a8be
change-id: 20250705-dpu-formats-0d5ae4d1a1b9
Best regards,
--
With best wishes
Dmitry
Powered by blists - more mailing lists