[PATCH] drm/i915/display: convert intel_display_driver.[ch] to struct intel_display

Jani Nikula jani.nikula at intel.com
Mon Dec 9 09:50:05 UTC 2024


On Wed, 04 Dec 2024, Gustavo Sousa <gustavo.sousa at intel.com> wrote:
> Quoting Jani Nikula (2024-12-04 07:21:50-03:00)
>>Going forward, struct intel_display will be the main display driver
>>structure. Convert the main display entry points to struct
>>intel_display.
>>
>>Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
>>Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Used b4 shazam followed by git show -W --word-diff and things look sane
> to me. So, also trusting the compiler,
>
> Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>

Thanks, pushed to din.

> Note: I found some places where the i915 variable could be dropped if we
> replaced &i915->drm with display->drm (calls to logging functions), but
> perhaps that was left for a future iteration.

Right, but all on the caller side, not within intel_display_driver.c. I
didn't want to expand the patch too much as it already touched quite a
lot.

BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list