[PATCH 00/10] drm/i915: identify all platforms in display probe

Jani Nikula jani.nikula at intel.com
Wed May 22 18:36:40 UTC 2024


On Wed, 22 May 2024, Gustavo Sousa <gustavo.sousa at intel.com> wrote:
> Quoting Jani Nikula (2024-05-22 14:33:37-03:00)
>>Add independent platform probe in display, in preparation for breaking
>>free from i915 and xe code.
>>
>>Up next would be adding separate IS_<PLATFORM>() style macros to
>>display. Not included here, because I couldn't come up with nice names
>>yet. IS_DISPLAY_<PLATFORM>() is a bit verbose.
>
> Drive-by comment: At least for recent hardware, we can use
> display-specific release names, e.g. IS_XE2LPD() for LNL's display,
> since theoretically that display IP could be reused in a different
> platform.

I think we should prefer the IP version checks over adding names like
xe2lpd which IMO are hard to remember and associate with platforms or IP
versions.

And we'll still need the platform checks for a plethora of old
platforms.


BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list