Skip to content

Commit af0af90

Browse files
committed
Merge tag 'drm-intel-fixes-2023-01-26' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
- Fix BSC default context for Meteor Lake (Lucas) - Fix selftest-scheduler's modify_type (Andi) Signed-off-by: Dave Airlie <[email protected]> From: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2 parents 2241ab5 + 2255bbc commit af0af90

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

drivers/gpu/drm/i915/gt/intel_lrc.c

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -288,39 +288,6 @@ static const u8 dg2_xcs_offsets[] = {
288288
END
289289
};
290290

291-
static const u8 mtl_xcs_offsets[] = {
292-
NOP(1),
293-
LRI(13, POSTED),
294-
REG16(0x244),
295-
REG(0x034),
296-
REG(0x030),
297-
REG(0x038),
298-
REG(0x03c),
299-
REG(0x168),
300-
REG(0x140),
301-
REG(0x110),
302-
REG(0x1c0),
303-
REG(0x1c4),
304-
REG(0x1c8),
305-
REG(0x180),
306-
REG16(0x2b4),
307-
NOP(4),
308-
309-
NOP(1),
310-
LRI(9, POSTED),
311-
REG16(0x3a8),
312-
REG16(0x28c),
313-
REG16(0x288),
314-
REG16(0x284),
315-
REG16(0x280),
316-
REG16(0x27c),
317-
REG16(0x278),
318-
REG16(0x274),
319-
REG16(0x270),
320-
321-
END
322-
};
323-
324291
static const u8 gen8_rcs_offsets[] = {
325292
NOP(1),
326293
LRI(14, POSTED),
@@ -739,9 +706,7 @@ static const u8 *reg_offsets(const struct intel_engine_cs *engine)
739706
else
740707
return gen8_rcs_offsets;
741708
} else {
742-
if (GRAPHICS_VER_FULL(engine->i915) >= IP_VER(12, 70))
743-
return mtl_xcs_offsets;
744-
else if (GRAPHICS_VER_FULL(engine->i915) >= IP_VER(12, 55))
709+
if (GRAPHICS_VER_FULL(engine->i915) >= IP_VER(12, 55))
745710
return dg2_xcs_offsets;
746711
else if (GRAPHICS_VER(engine->i915) >= 12)
747712
return gen12_xcs_offsets;

drivers/gpu/drm/i915/selftests/intel_scheduler_helpers.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ struct intel_engine_cs *intel_selftest_find_any_engine(struct intel_gt *gt)
2828

2929
int intel_selftest_modify_policy(struct intel_engine_cs *engine,
3030
struct intel_selftest_saved_policy *saved,
31-
u32 modify_type)
32-
31+
enum selftest_scheduler_modify modify_type)
3332
{
3433
int err;
3534

0 commit comments

Comments
 (0)