Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: "B, Jeevan" <jeevan.b@intel.com>,
	"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Cc: "Manna, Animesh" <animesh.manna@intel.com>,
	Dibin Moolakadan Subrahmanian
	<dibin.moolakadan.subrahmanian@intel.com>,
	"Thasleem, Mohammed" <mohammed.thasleem@intel.com>,
	"Naladala, Ramanaidu" <ramanaidu.naladala@intel.com>
Subject: RE: [PATCH i-g-t v2 2/2] HAX: kms_cursor_legacy: Use IGT_FORMAT_MOD_PREFERRED for cursor FBs
Date: Wed, 13 May 2026 13:12:03 +0300	[thread overview]
Message-ID: <f683159ff57a7ebf6cfc0333cbdbc62eef68381d@intel.com> (raw)
In-Reply-To: <DM4PR11MB631279797CC6D993EA04720E90062@DM4PR11MB6312.namprd11.prod.outlook.com>

On Wed, 13 May 2026, "B, Jeevan" <jeevan.b@intel.com> wrote:
>> -----Original Message-----
>> From: Nikula, Jani <jani.nikula@intel.com>
>> Sent: Wednesday, May 13, 2026 2:06 PM
>> To: B, Jeevan <jeevan.b@intel.com>; igt-dev@lists.freedesktop.org
>> Cc: Manna, Animesh <animesh.manna@intel.com>; Dibin Moolakadan
>> Subrahmanian <dibin.moolakadan.subrahmanian@intel.com>; Thasleem,
>> Mohammed <mohammed.thasleem@intel.com>; Naladala, Ramanaidu
>> <ramanaidu.naladala@intel.com>; B, Jeevan <jeevan.b@intel.com>
>> Subject: Re: [PATCH i-g-t v2 2/2] HAX: kms_cursor_legacy: Use
>> IGT_FORMAT_MOD_PREFERRED for cursor FBs
>> 
>> On Wed, 13 May 2026, Jeevan B <jeevan.b@intel.com> wrote:
>> > Switch all cursor-related framebuffer creations in kms_cursor_legacy
>> > to use IGT_FORMAT_MOD_PREFERRED instead of
>> DRM_FORMAT_MOD_LINEAR.
>>
>> Why?
>
> Well, the plan is to remove this hardcoded modifier usage. Since these modifiers keep changing from platform to platform,
> we currently have to update them manually or ensure that only supported tile formats are used.
> Therefore, we are considering introducing something like IGT_FORMAT_MOD_PREFERRED, 
> which would automatically select the best possible modifier for the given platform.

My point is, that information belongs in the commit message.

If the commit message only explains the "what", the reviewer can only
cross check that the commit message matches the code changes, but still
has no idea why the changes are being made.

BR,
Jani.


-- 
Jani Nikula, Intel

  reply	other threads:[~2026-05-13 10:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13  6:15 [PATCH i-g-t v2 0/2] RFC: Add preferred FB modifier helper Jeevan B
2026-05-13  6:15 ` [PATCH i-g-t v2 1/2] lib/igt_fb: Add IGT_FORMAT_MOD_PREFERRED helper modifier Jeevan B
2026-05-13  6:15 ` [PATCH i-g-t v2 2/2] HAX: kms_cursor_legacy: Use IGT_FORMAT_MOD_PREFERRED for cursor FBs Jeevan B
2026-05-13  8:35   ` Jani Nikula
2026-05-13  8:50     ` B, Jeevan
2026-05-13 10:12       ` Jani Nikula [this message]
2026-05-13  7:15 ` ✗ i915.CI.BAT: failure for RFC: Add preferred FB modifier helper (rev3) Patchwork
2026-05-13  7:34 ` ✗ Xe.CI.BAT: " Patchwork
2026-05-14  4:39 ` ✗ Xe.CI.FULL: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-05-12  6:20 [PATCH i-g-t v2 0/2] RFC: Add preferred FB modifier helper Jeevan B
2026-05-12  6:20 ` [PATCH i-g-t v2 2/2] HAX: kms_cursor_legacy: Use IGT_FORMAT_MOD_PREFERRED for cursor FBs Jeevan B

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=f683159ff57a7ebf6cfc0333cbdbc62eef68381d@intel.com \
    --to=jani.nikula@intel.com \
    --cc=animesh.manna@intel.com \
    --cc=dibin.moolakadan.subrahmanian@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.com \
    --cc=mohammed.thasleem@intel.com \
    --cc=ramanaidu.naladala@intel.com \
    /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