• Matt Roper's avatar
    drm/xe: Remove gen-based mmio offsets from hw engine init · 74f800c7
    Matt Roper authored
    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
    gen-based MMIO bases.
    Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
    Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
    Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
    74f800c7
xe_hw_engine.c 14.7 KB