[Intel-xe] [PATCH] drm/xe: Remove gen-based mmio offsets from hw engine init

Lucas De Marchi lucas.demarchi at intel.com
Fri Feb 24 20:22:10 UTC 2023


On Fri, Feb 24, 2023 at 11:08:14AM -0800, Matt Roper wrote:
>During early generations of Intel GPUs, hardware engines would sometimes
>move to new MMIO offsets from one platform/generation to the next.
>These days engines the hardware teams put more effort into ensuring that
>engines stay at consistent locations; even major design changes (like
>the introduction of standalone media) keep the MMIO locations of the
>engines constant.
>
>Since all platforms supported by the Xe driver are new enough to have a
>single MMIO offset for each engine (and since our crystal ball says that
>these offsets are very unlikely to change again in the foreseeable
>future), we can simplify the driver's engine definitions and remove the

oh... I hope saying it out loud like this doesn't give HW engineers
any creative idea for future platforms :)



>gen-based MMIO bases.
>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

thanks
Lucas De Marchi


More information about the Intel-xe mailing list