[PATCH v10 1/8] drm/i915: Separate VRR related register definitions

Golani, Mitulkumar Ajitkumar mitulkumar.ajitkumar.golani at intel.com
Fri May 31 11:49:59 UTC 2024


Hi Jani,

> -----Original Message-----
> From: Nikula, Jani <jani.nikula at intel.com>
> Sent: Thursday, May 30, 2024 7:19 PM
> To: Golani, Mitulkumar Ajitkumar <mitulkumar.ajitkumar.golani at intel.com>;
> intel-gfx at lists.freedesktop.org
> Cc: dri-devel at lists.freedesktop.org; Nautiyal, Ankit K
> <ankit.k.nautiyal at intel.com>
> Subject: Re: [PATCH v10 1/8] drm/i915: Separate VRR related register
> definitions
> 
> On Thu, 30 May 2024, Mitul Golani <mitulkumar.ajitkumar.golani at intel.com>
> wrote:
> > Move VRR related register definitions to a separate file called
> > intel_vrr_regs.h.
> 
> But this is not just movement... there's a bunch of other (mostly
> unwanted?) changes there too.
> 
> 'git show --color-moved' is a powerful tool for reviewing code movement. If it's
> not just movement, you have to fallback to manual review of the whole thing.

I have moved the VRR-related registers from i915_reg.h to intel_vrr_regs.h and reordered them based on their register offsets. However, if preferred, I can move only the VRR-related registers for now and handle the reordering in a separate patch series later. Please let me know if this approach is acceptable.

Regards,
Mitul
> 
> > Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani at intel.com>
> > ---
> >  drivers/gpu/drm/i915/display/intel_vrr.c      |   1 +
> >  drivers/gpu/drm/i915/display/intel_vrr_regs.h | 117 ++++++++++++++++++
> >  drivers/gpu/drm/i915/i915_reg.h               | 100 ---------------
> >  3 files changed, 118 insertions(+), 100 deletions(-)  create mode
> > 100644 drivers/gpu/drm/i915/display/intel_vrr_regs.h
> >



More information about the Intel-gfx mailing list