Re: [PATCH 04/13] drm/i915: Simplify PIPESRC_ERLY_TPT definition

2024-05-20 Thread Hogander, Jouni
On Mon, 2024-05-20 at 12:37 +0300, Jani Nikula wrote: > On Mon, 20 May 2024, Jani Nikula wrote: > > On Thu, 16 May 2024, Ville Syrjala > > wrote: > > > From: Ville Syrjälä > > > > > > PIPESRC_ERLY_TPT is a pipe register, and it lives in the 0x7 > > > range. > > > so using _MMIO_TRANS2() for

Re: [PATCH 04/13] drm/i915: Simplify PIPESRC_ERLY_TPT definition

2024-05-20 Thread Jani Nikula
On Mon, 20 May 2024, Jani Nikula wrote: > On Thu, 16 May 2024, Ville Syrjala wrote: >> From: Ville Syrjälä >> >> PIPESRC_ERLY_TPT is a pipe register, and it lives in the 0x7 range. >> so using _MMIO_TRANS2() for it is not really correct. Also since this >> is a pipe register, and not present

Re: [PATCH 04/13] drm/i915: Simplify PIPESRC_ERLY_TPT definition

2024-05-20 Thread Jani Nikula
On Thu, 16 May 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > PIPESRC_ERLY_TPT is a pipe register, and it lives in the 0x7 range. > so using _MMIO_TRANS2() for it is not really correct. Also since this > is a pipe register, and not present on CHV, the registers will be > equally spaced

[PATCH 04/13] drm/i915: Simplify PIPESRC_ERLY_TPT definition

2024-05-16 Thread Ville Syrjala
From: Ville Syrjälä PIPESRC_ERLY_TPT is a pipe register, and it lives in the 0x7 range. so using _MMIO_TRANS2() for it is not really correct. Also since this is a pipe register, and not present on CHV, the registers will be equally spaced out, so we can use the simpler _MMIO_PIPE() instead of