[PATCH v2 13/16] drm/i915: Refactor skl+ plane register offset calculations

Jani Nikula jani.nikula at linux.intel.com
Mon May 13 20:43:51 UTC 2024


On Mon, 13 May 2024, Jani Nikula <jani.nikula at linux.intel.com> wrote:
> On Mon, 13 May 2024, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
>> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>>
>> Currentluy every skl+ plane register defines some intermediate

*Currently

>> macros to calculate the final register offset. Pull all of that
>> into common macros, simplifying the final register offset stuff
>> into just five defines:
>> - raw register offsets for the planes 1 and 2 on pipes A and B
>> - the final parametrized macro
>>
>> v2: Rebase
>>
>> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Nice cleanup,
>
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>

-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list