Skip to content

Commit 7929ffc

Browse files
guludolucasdemarchi
authored andcommitted
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 <[email protected]> Signed-off-by: Gustavo Sousa <[email protected]> Reviewed-by: Tejas Upadhyay <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 21ae035) Signed-off-by: Lucas De Marchi <[email protected]>
1 parent 0f18ac7 commit 7929ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_gt_mcr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ void xe_gt_mcr_init(struct xe_gt *gt)
439439
if (gt->info.type == XE_GT_TYPE_MEDIA) {
440440
drm_WARN_ON(&xe->drm, MEDIA_VER(xe) < 13);
441441

442-
if (MEDIA_VER(xe) >= 20) {
442+
if (MEDIA_VERx100(xe) >= 1301) {
443443
gt->steering[OADDRM].ranges = xe2lpm_gpmxmt_steering_table;
444444
gt->steering[INSTANCE0].ranges = xe2lpm_instance0_steering_table;
445445
} else {

0 commit comments

Comments
 (0)