mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "Dmitry Baryshkov" <dmitry.baryshkov@oss.qualcomm.com>,
	"Rob Clark" <robin.clark@oss.qualcomm.com>,
	"Dmitry Baryshkov" <lumag@kernel.org>,
	"Abhinav Kumar" <abhinav.kumar@linux.dev>,
	"Sean Paul" <sean@poorly.run>,
	"Marijn Suijten" <marijn.suijten@somainline.org>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Jordan Crouse" <jordan@cosmicpenguin.net>,
	"Jessica Zhang" <jesszhan0024@gmail.com>
Cc: <linux-arm-msm@vger.kernel.org>,
	<dri-devel@lists.freedesktop.org>,
	<freedreno@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
	"Jessica Zhang" <jessica.zhang@oss.qualcomm.com>
Subject: Re: [PATCH v3 00/12] drm/msm/dpu: rework format handling code
Date: Wed, 07 Jan 2026 12:45:37 +0100	[thread overview]
Message-ID: <DFIBYFY6L63Q.1A8WFXEQ7DYUT@fairphone.com> (raw)
In-Reply-To: <20251114-dpu-formats-v3-0-cae312379d49@oss.qualcomm.com>

On Fri Nov 14, 2025 at 4:43 AM CET, Dmitry Baryshkov wrote:
> - 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@oss.qualcomm.com>
> ---
> Changes in v3:
> - Readded disappeared YUV flag to PSEUDO_YUV_FMT_TILED
> - Link to v2: https://lore.kernel.org/r/20250905-dpu-formats-v2-0-7a674028c048@oss.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()

Seems to work as expected according to our messages in IRC, no issues
seen booting up Phosh or SuperTuxKart.

Tested-by: Luca Weiss <luca.weiss@fairphone.com> # qcm6490-fairphone-fp5

Regards
Luca

>
>  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          |  614 +++++++------
>  3 files changed, 391 insertions(+), 1552 deletions(-)
> ---
> base-commit: b179ce312bafcb8c68dc718e015aee79b7939ff0
> change-id: 20250705-dpu-formats-0d5ae4d1a1b9
>
> Best regards,


  parent reply	other threads:[~2026-01-07 11:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14  3:43 Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 01/12] drm/msm/disp: set num_planes to 1 for interleaved YUV formats Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 02/12] drm/msm/disp: set num_planes and fetch_mode in INTERLEAVED_RGB_FMT Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 03/12] drm/msm/disp: set num_planes, fetch_mode and tile_height in INTERLEAVED_RGB_FMT_TILED Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 04/12] drm/msm/disp: simplify RGB{,A,X} formats definitions Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 05/12] drm/msm/disp: simplify tiled " Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 06/12] drm/msm/disp: pull in common YUV format parameters Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 07/12] drm/msm/disp: pull in common tiled " Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 08/12] drm/msm/disp: drop PSEUDO_YUV_FMT_LOOSE_TILED Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 09/12] drm/msm/dpu: simplify _dpu_format_populate_plane_sizes_* Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 10/12] drm/msm/dpu: drop redundant num_planes assignment in _dpu_format_populate_plane_sizes*() Dmitry Baryshkov
2025-11-14  3:43 ` [PATCH v3 11/12] drm/msm/dpu: rewrite _dpu_format_populate_plane_sizes_ubwc() Dmitry Baryshkov
2026-04-14 14:40   ` Neil Armstrong
2025-11-14  3:43 ` [PATCH v3 12/12] drm/msm/dpu: use standard functions in _dpu_format_populate_plane_sizes_ubwc() Dmitry Baryshkov
2026-01-07 11:45 ` Luca Weiss [this message]
2026-01-15 21:05 ` [PATCH v3 00/12] drm/msm/dpu: rework format handling code Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DFIBYFY6L63Q.1A8WFXEQ7DYUT@fairphone.com \
    --to=luca.weiss@fairphone.com \
    --cc=abhinav.kumar@linux.dev \
    --cc=airlied@gmail.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=jessica.zhang@oss.qualcomm.com \
    --cc=jesszhan0024@gmail.com \
    --cc=jordan@cosmicpenguin.net \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lumag@kernel.org \
    --cc=marijn.suijten@somainline.org \
    --cc=robin.clark@oss.qualcomm.com \
    --cc=sean@poorly.run \
    --cc=simona@ffwll.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®