[PATCH v3 1/4] drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM
Upadhyay, Tejas
tejas.upadhyay at intel.com
Mon Sep 23 05:07:37 UTC 2024
> -----Original Message-----
> From: Sousa, Gustavo <gustavo.sousa at intel.com>
> Sent: Saturday, September 21, 2024 2:43 AM
> To: intel-xe at lists.freedesktop.org
> Cc: Roper, Matthew D <matthew.d.roper at intel.com>; Pottumuttu, Sai Teja
> <sai.teja.pottumuttu at intel.com>; Upadhyay, Tejas
> <tejas.upadhyay at intel.com>
> Subject: [PATCH v3 1/4] drm/xe/mcr: Use Xe2_LPM steering tables for
> Xe2_HPM
>
> According to Bspec, Xe2 steering tables must be used for Xe2_HPM, just as it is
> with Xe2_LPM. Update our driver to reflect that.
>
> Bspec: 71186
> Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_mcr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c
> index 2671ce6b1a76..4c0767403881 100644
> --- a/drivers/gpu/drm/xe/xe_gt_mcr.c
> +++ b/drivers/gpu/drm/xe/xe_gt_mcr.c
> @@ -441,7 +441,7 @@ void xe_gt_mcr_init(struct xe_gt *gt)
> if (gt->info.type == XE_GT_TYPE_MEDIA) {
> drm_WARN_ON(&xe->drm, MEDIA_VER(xe) < 13);
>
> - if (MEDIA_VER(xe) >= 20) {
> + if (MEDIA_VERx100(xe) >= 1301) {
Reviewed-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
Tejas
> gt->steering[OADDRM].ranges =
> xe2lpm_gpmxmt_steering_table;
> gt->steering[INSTANCE0].ranges =
> xe2lpm_instance0_steering_table;
> } else {
> --
> 2.46.1
More information about the Intel-xe
mailing list