[PATCH 3/3] drm/i915: pass dev_priv explicitly to PORT_DFT2_G4X

Jani Nikula jani.nikula at intel.com
Wed May 8 09:17:12 UTC 2024


On Mon, 06 May 2024, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> On Mon, May 06, 2024 at 01:09:04PM +0300, Jani Nikula wrote:
>> Avoid the implicit dev_priv local variable use, and pass dev_priv
>> explicitly to the PORT_DFT2_G4X register macro.
>
> Looks like we only use this on VLV/CHV, so could define a fixed
> offset _VLV variant.
>
> But this works too
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Took the easy route and pushed them as-is, thanks for the review.

BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list