i915: Prepare for Xe_HP compute engines
Subsystems (2)
v2 cover i915: Prepare for Xe_HP compute engines
The Xe_HP architecture introduces compute engines as a new engine class. These compute command streamers (CCS) are similar to the render engine, except that they're intended for GPGPU usage and lack support for the 3D pipeline.
For now we're just sending some initial "under the hood" preparation for CCS engines without actually exposing them to userspace or adding them to any platform's engine list yet. There may be a bit more GuC-related updates necessary before it's safe to expose them, so the actual uabi bits will come later once that's all worked out.
Daniele Ceraolo Spurio (3):
drm/i915/xehp: compute engine pipe_control drm/i915/xehp/guc: enable compute engine inside GuC drm/i915/xehp: handle fused off CCS engines
Matt Roper (8):
drm/i915/xehp: Define compute class and engine drm/i915/xehp: CCS shares the render reset domain drm/i915/xehp: Add Compute CS IRQ handlers
drm/i915/xehp: CCS should use RCS setup functions drm/i915: Move context descriptor fields to intel_lrc.h drm/i915/xehp: Define context scheduling attributes in lrc descriptor drm/i915/xehp: Enable ccs/dual-ctx in RCU_MODE drm/i915/xehp: Add compute workarounds
Matthew Brost (1):
drm/i915/xehp: Don't support parallel submission on compute / render
Srinivasan Shanmugam (1):
drm/i915/xehpsdv: Move render/compute engine reset domains related
workarounds
drivers/gpu/drm/i915/gem/i915_gem_context.c | 10 +++ .../drm/i915/gem/selftests/i915_gem_context.c | 8 +- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 35 ++++++-- drivers/gpu/drm/i915/gt/intel_engine.h | 2 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 83 +++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_engine_types.h | 11 ++- drivers/gpu/drm/i915/gt/intel_engine_user.c | 5 +- .../drm/i915/gt/intel_execlists_submission.c | 24 +++++- drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 15 ++++ drivers/gpu/drm/i915/gt/intel_gt_irq.c | 15 +++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 45 +++------- drivers/gpu/drm/i915/gt/intel_lrc.c | 10 ++- drivers/gpu/drm/i915/gt/intel_lrc.h | 51 ++++++++++++ drivers/gpu/drm/i915/gt/intel_sseu.c | 17 +++- drivers/gpu/drm/i915/gt/intel_sseu.h | 4 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 73 +++++++++++++--- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 5 ++ drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 32 +++++-- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 18 +++- .../drm/i915/gt/uc/selftest_guc_multi_lrc.c | 4 + drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_reg.h | 4 + 22 files changed, 393 insertions(+), 80 deletions(-)
Signature · 1 line
2.34.1
PATCH v2 1/13 drm/i915/xehp: Define compute class and engine
Introduce a Compute Command Streamer (CCS), which has access to the media and GPGPU pipelines (but not the 3D pipeline).
To begin with, define the compute class/engine common functions, based on the existing render ones.
v2:
- Add kerneldoc for drm_i915_gem_engine_class since we're adding a new element to it. (Daniel)
- Make engine class <-> guc class converters use lookup tables to make it more clear/explicit how the IDs map. (Tvrtko)
v3:
- Don't update uapi for now; we'll just include the driver-internal changes for the time being.
Bspec: 46167, 45544
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 28 +++++++++++++++++ drivers/gpu/drm/i915/gt/intel_engine_types.h | 9 +++++- drivers/gpu/drm/i915/gt/intel_engine_user.c | 5 ++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 4 +++ drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 32 ++++++++++++++------ drivers/gpu/drm/i915/i915_reg.h | 4 +++ 6 files changed, 71 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +28 -0
@@ -156,6 +156,34 @@ static const struct engine_info intel_engines[] = { { .graphics_ver = 12, .base = XEHP_VEBOX4_RING_BASE } }, }, + [CCS0 ] = { + .class =COMPUTE_CLASS , + .instance =0 , + .mmio_bases = { + { .graphics_ver =12 , .base =GEN12_COMPUTE0_RING_BASE } + } + }, + [CCS1 ] = { + .class =COMPUTE_CLASS , + .instance =1 , + .mmio_bases = { + { .graphics_ver =12 , .base =GEN12_COMPUTE1_RING_BASE } + } + }, + [CCS2 ] = { + .class =COMPUTE_CLASS , + .instance =2 , + .mmio_bases = { + { .graphics_ver =12 , .base =GEN12_COMPUTE2_RING_BASE } + } + }, + [CCS3 ] = { + .class =COMPUTE_CLASS , + .instance =3 , + .mmio_bases = { + { .graphics_ver =12 , .base =GEN12_COMPUTE3_RING_BASE } + } + }, };/**
drivers/gpu/drm/i915/gt/intel_engine_types.h +8 -1
@@ -33,7 +33,8 @@#define VIDEO_ENHANCEMENT_CLASS 2#define COPY_ENGINE_CLASS 3#define OTHER_CLASS 4 -#define MAX_ENGINE_CLASS 4 +#define COMPUTE_CLASS 5 +#define MAX_ENGINE_CLASS 5#define MAX_ENGINE_INSTANCE 7#define I915_MAX_SLICES 3
@@ -95,6 +96,7 @@ struct i915_ctx_workarounds {#define I915_MAX_VCS 8#define I915_MAX_VECS 4 +#define I915_MAX_CCS 4/* * Engine IDs definitions.
@@ -117,6 +119,11 @@ enum intel_engine_id {VECS2 ,VECS3 , #define _VECS(n) (VECS0 + (n)) +CCS0 , +CCS1 , +CCS2 , +CCS3 , +#define _CCS(n) (CCS0 + (n)) I915_NUM_ENGINES #define INVALID_ENGINE ((enum intel_engine_id)-1) };
drivers/gpu/drm/i915/gt/intel_engine_user.c +4 -1
@@ -47,6 +47,7 @@ static const u8 uabi_classes[] = { [COPY_ENGINE_CLASS] = I915_ENGINE_CLASS_COPY, [VIDEO_DECODE_CLASS] = I915_ENGINE_CLASS_VIDEO, [VIDEO_ENHANCEMENT_CLASS] = I915_ENGINE_CLASS_VIDEO_ENHANCE, + /* TODO: Add COMPUTE_CLASS mapping once ABI is available */ }; static int engine_cmp(void *priv, const struct list_head *A,
@@ -139,6 +140,7 @@ const char *intel_engine_class_repr(u8 class) [COPY_ENGINE_CLASS] = "bcs", [VIDEO_DECODE_CLASS] = "vcs", [VIDEO_ENHANCEMENT_CLASS] = "vecs", + [COMPUTE_CLASS] = "ccs", };if (class >=ARRAY_SIZE (uabi_names) || !uabi_names[class])
@@ -162,6 +164,7 @@ static int legacy_ring_idx(const struct legacy_ring *ring) [COPY_ENGINE_CLASS] = { BCS0, 1 }, [VIDEO_DECODE_CLASS] = { VCS0, I915_MAX_VCS }, [VIDEO_ENHANCEMENT_CLASS] = { VECS0, I915_MAX_VECS }, + [COMPUTE_CLASS] = { CCS0, I915_MAX_CCS }, };if (GEM_DEBUG_WARN_ON (ring->class >=ARRAY_SIZE (map)))
@@ -190,7 +193,7 @@ static void add_legacy_ring(struct legacy_ring *ring,void intel_engines_driver_register (struct drm_i915_private *i915) {struct legacy_ring ring = {}; -u8 uabi_instances[4 ] = {}; +u8 uabi_instances[5 ] = {};struct list_head *it, *next;struct rb_node **p, *prev;LIST_HEAD (engines);
drivers/gpu/drm/i915/gt/intel_gt_regs.h +4 -0
@@ -1452,6 +1452,10 @@#define GEN11_KCR (19)#define GEN11_GTPM (16)#define GEN11_BCS (15) +#define GEN12_CCS3 (7) +#define GEN12_CCS2 (6) +#define GEN12_CCS1 (5) +#define GEN12_CCS0 (4)#define GEN11_RCS0 (0)#define GEN11_VECS (x) (31 - (x))#define GEN11_VCS (x) (x)
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +23 -9
@@ -46,8 +46,8 @@#define GUC_VIDEO_CLASS 1#define GUC_VIDEOENHANCE_CLASS 2#define GUC_BLITTER_CLASS 3 -#define GUC_RESERVED_CLASS 4 -#define GUC_LAST_ENGINE_CLASS GUC_RESERVED_CLASS +#define GUC_COMPUTE_CLASS 4 +#define GUC_LAST_ENGINE_CLASS GUC_COMPUTE_CLASS#define GUC_MAX_ENGINE_CLASSES 16#define GUC_MAX_INSTANCES_PER_CLASS 32
@@ -156,23 +156,37 @@ FIELD_PREP(HOST2GUC_PC_SLPC_REQUEST_MSG_1_EVENT_ID, id) | \ FIELD_PREP(HOST2GUC_PC_SLPC_REQUEST_MSG_1_EVENT_ARGC, c) \ ) +/* the GuC arrays don't include OTHER_CLASS */ +static u8 engine_class_guc_class_map[] = { + [RENDER_CLASS ] =GUC_RENDER_CLASS , + [COPY_ENGINE_CLASS ] =GUC_BLITTER_CLASS , + [VIDEO_DECODE_CLASS ] =GUC_VIDEO_CLASS , + [VIDEO_ENHANCEMENT_CLASS ] =GUC_VIDEOENHANCE_CLASS , + [COMPUTE_CLASS ] =GUC_COMPUTE_CLASS , +}; + +static u8 guc_class_engine_class_map[] = { + [GUC_RENDER_CLASS ] =RENDER_CLASS , + [GUC_BLITTER_CLASS ] =COPY_ENGINE_CLASS , + [GUC_VIDEO_CLASS ] =VIDEO_DECODE_CLASS , + [GUC_VIDEOENHANCE_CLASS ] =VIDEO_ENHANCEMENT_CLASS , + [GUC_COMPUTE_CLASS ] =COMPUTE_CLASS , +}; +static inline u8 engine_class_to_guc_class (u8 class) { -BUILD_BUG_ON (GUC_RENDER_CLASS !=RENDER_CLASS ); -BUILD_BUG_ON (GUC_BLITTER_CLASS !=COPY_ENGINE_CLASS ); -BUILD_BUG_ON (GUC_VIDEO_CLASS !=VIDEO_DECODE_CLASS ); -BUILD_BUG_ON (GUC_VIDEOENHANCE_CLASS !=VIDEO_ENHANCEMENT_CLASS ); +BUILD_BUG_ON (ARRAY_SIZE (engine_class_guc_class_map) !=MAX_ENGINE_CLASS +1 );GEM_BUG_ON (class >MAX_ENGINE_CLASS || class ==OTHER_CLASS ); -return class; +return engine_class_guc_class_map[class]; }static inline u8 guc_class_to_engine_class (u8 guc_class) { +BUILD_BUG_ON (ARRAY_SIZE (guc_class_engine_class_map) !=GUC_LAST_ENGINE_CLASS +1 );GEM_BUG_ON (guc_class >GUC_LAST_ENGINE_CLASS ); -GEM_BUG_ON (guc_class ==GUC_RESERVED_CLASS ); -return guc_class; +return guc_class_engine_class_map[guc_class]; }/* Work item for submitting workloads into work queue of GuC. */
drivers/gpu/drm/i915/i915_reg.h +4 -0
@@ -971,6 +971,10 @@#define GEN11_VEBOX2_RING_BASE 0x1d8000#define XEHP_VEBOX3_RING_BASE 0x1e8000#define XEHP_VEBOX4_RING_BASE 0x1f8000 +#define GEN12_COMPUTE0_RING_BASE 0x1a000 +#define GEN12_COMPUTE1_RING_BASE 0x1c000 +#define GEN12_COMPUTE2_RING_BASE 0x1e000 +#define GEN12_COMPUTE3_RING_BASE 0x26000#define BLT_RING_BASE 0x22000
Signature · 1 line
2.34.1
PATCH v2 2/13 drm/i915/xehp: CCS shares the render reset domain
In reply to Matt RoperThe reset domain is shared between render and all compute engines, so resetting one will affect the others.
Note: Before performing a reset on an RCS or CCS engine, the GuC will attempt to preempt-to-idle the other non-hung RCS/CCS engines to avoid impacting other clients (since some shared modules will be reset). If other engines are executing non-preemptable workloads, the impact is unavoidable and some work may be lost.
Bspec: 52549
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +4 -0
@@ -341,6 +341,10 @@ static u32 get_reset_domain(u8 ver, enum intel_engine_id id) [VECS1] = GEN11_GRDOM_VECS2, [VECS2] = GEN11_GRDOM_VECS3, [VECS3] = GEN11_GRDOM_VECS4, + [CCS0] = GEN11_GRDOM_RENDER, + [CCS1] = GEN11_GRDOM_RENDER, + [CCS2] = GEN11_GRDOM_RENDER, + [CCS3 ] =GEN11_GRDOM_RENDER , };GEM_BUG_ON (id >=ARRAY_SIZE (engine_reset_domains) || !engine_reset_domains[id]);
Signature · 1 line
2.34.1
PATCH v2 3/13 drm/i915/xehp: Add Compute CS IRQ handlers
In reply to Matt RoperAdd execlists and GuC interrupts for compute CS into existing IRQ handlers.
All compute command streamers belong to the same compute class, so the only change needed to enable their interrupts is to program their GT engine interrupt mask registers.
CCS0 shares the register with CCS1, while CCS2 and CCS3 are in a new one.
BSpec: 50844, 54029, 54030, 53223, 53224.
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_gt_irq.c | 15 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 +++ drivers/gpu/drm/i915/i915_drv.h | 2 ++ 3 files changed, 19 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_gt_irq.c +14 -1
@@ -100,7 +100,7 @@ gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity)if (unlikely (!intr))return ; -if (class <=COPY_ENGINE_CLASS ) +if (class <=COPY_ENGINE_CLASS || class ==COMPUTE_CLASS )return gen11_engine_irq_handler (gt, class, instance, intr);if (class ==OTHER_CLASS )
@@ -182,6 +182,8 @@ void gen11_gt_irq_reset(struct intel_gt *gt)/* Disable RCS, BCS, VCS and VECS class engines. */ intel_uncore_write (uncore,GEN11_RENDER_COPY_INTR_ENABLE ,0 );intel_uncore_write (uncore,GEN11_VCS_VECS_INTR_ENABLE ,0 ); +if (CCS_MASK (gt)) +intel_uncore_write (uncore,GEN12_CCS_RSVD_INTR_ENABLE ,0 );/* Restore masks irqs on RCS, BCS, VCS and VECS engines. */ intel_uncore_write (uncore,GEN11_RCS0_RSVD_INTR_MASK , ~0 );
@@ -195,6 +197,10 @@ void gen11_gt_irq_reset(struct intel_gt *gt)intel_uncore_write (uncore,GEN11_VECS0_VECS1_INTR_MASK , ~0 );if (HAS_ENGINE (gt,VECS2 ) ||HAS_ENGINE (gt,VECS3 ))intel_uncore_write (uncore,GEN12_VECS2_VECS3_INTR_MASK , ~0 ); +if (HAS_ENGINE (gt,CCS0 ) ||HAS_ENGINE (gt,CCS1 )) +intel_uncore_write (uncore,GEN12_CCS0_CCS1_INTR_MASK , ~0 ); +if (HAS_ENGINE (gt,CCS2 ) ||HAS_ENGINE (gt,CCS3 )) +intel_uncore_write (uncore,GEN12_CCS2_CCS3_INTR_MASK , ~0 );intel_uncore_write (uncore,GEN11_GPM_WGBOXPERF_INTR_ENABLE ,0 );intel_uncore_write (uncore,GEN11_GPM_WGBOXPERF_INTR_MASK , ~0 );
@@ -225,6 +231,8 @@ void gen11_gt_irq_postinstall(struct intel_gt *gt)/* Enable RCS, BCS, VCS and VECS class interrupts. */ intel_uncore_write (uncore,GEN11_RENDER_COPY_INTR_ENABLE , dmask);intel_uncore_write (uncore,GEN11_VCS_VECS_INTR_ENABLE , dmask); +if (CCS_MASK (gt)) +intel_uncore_write (uncore,GEN12_CCS_RSVD_INTR_ENABLE , smask);/* Unmask irqs on RCS, BCS, VCS and VECS engines. */ intel_uncore_write (uncore,GEN11_RCS0_RSVD_INTR_MASK , ~smask);
@@ -238,6 +246,11 @@ void gen11_gt_irq_postinstall(struct intel_gt *gt)intel_uncore_write (uncore,GEN11_VECS0_VECS1_INTR_MASK , ~dmask);if (HAS_ENGINE (gt,VECS2 ) ||HAS_ENGINE (gt,VECS3 ))intel_uncore_write (uncore,GEN12_VECS2_VECS3_INTR_MASK , ~dmask); +if (HAS_ENGINE (gt,CCS0 ) ||HAS_ENGINE (gt,CCS1 )) +intel_uncore_write (uncore,GEN12_CCS0_CCS1_INTR_MASK , ~dmask); +if (HAS_ENGINE (gt,CCS2 ) ||HAS_ENGINE (gt,CCS3 )) +intel_uncore_write (uncore,GEN12_CCS2_CCS3_INTR_MASK , ~dmask); +/* * RPS interrupts will get enabled/disabled on demand when RPS itself * is enabled/disabled.
drivers/gpu/drm/i915/gt/intel_gt_regs.h +3 -0
@@ -1468,6 +1468,7 @@#define GEN11_GPM_WGBOXPERF_INTR_ENABLE _MMIO(0x19003c)#define GEN11_CRYPTO_RSVD_INTR_ENABLE _MMIO(0x190040)#define GEN11_GUNIT_CSME_INTR_ENABLE _MMIO(0x190044) +#define GEN12_CCS_RSVD_INTR_ENABLE _MMIO(0x190048)#define GEN11_INTR_IDENTITY_REG (x) _MMIO(0x190060 + ((x) * 4))#define GEN11_INTR_DATA_VALID (1 << 31)
@@ -1493,6 +1494,8 @@#define GEN11_GPM_WGBOXPERF_INTR_MASK _MMIO(0x1900ec)#define GEN11_CRYPTO_RSVD_INTR_MASK _MMIO(0x1900f0)#define GEN11_GUNIT_CSME_INTR_MASK _MMIO(0x1900f4) +#define GEN12_CCS0_CCS1_INTR_MASK _MMIO(0x190100) +#define GEN12_CCS2_CCS3_INTR_MASK _MMIO(0x190104)#define GEN12_SFC_DONE (n) _MMIO(0x1cc000 + (n) * 0x1000)
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -1249,6 +1249,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915, ENGINE_INSTANCES_MASK(gt, VCS0, I915_MAX_VCS)#define VEBOX_MASK (gt) \ ENGINE_INSTANCES_MASK(gt, VECS0, I915_MAX_VECS) +#define CCS_MASK (gt) \ + ENGINE_INSTANCES_MASK(gt, CCS0, I915_MAX_CCS)/* * The Gen7 cmdparser copies the scanned buffer to the ggtt for execution
Signature · 1 line
2.34.1
PATCH v2 4/13 drm/i915/xehp: compute engine pipe_control
In reply to Matt RoperFrom: Daniele Ceraolo Spurio <[email protected]>
CCS will reuse the RCS functions for breadcrumb and flush emission. However, CCS pipe_control has additional programming restrictions:
- Command Streamer Stall Enable must be always set
- Post Sync Operations must not be set to Write PS Depth Count
- 3D-related bits must not be set
Bspec: 47112
--- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 35 +++++++++++++++----- drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 15 +++++++++ 2 files changed, 41 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/gt/gen8_engine_cs.c +26 -9
@@ -201,6 +201,8 @@ static u32 *gen12_emit_aux_table_inv(const i915_reg_t inv_reg, u32 *cs)int gen12_emit_flush_rcs (struct i915_request *rq,u32 mode) { +struct intel_engine_cs *engine = rq->engine; +if (mode &EMIT_FLUSH ) {u32 flags =0 ;u32 *cs;
@@ -219,6 +221,9 @@ int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) flags |=PIPE_CONTROL_CS_STALL ; +if (engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =intel_ring_begin (rq,6 );if (IS_ERR (cs))return PTR_ERR (cs);
@@ -246,6 +251,9 @@ int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) flags |=PIPE_CONTROL_CS_STALL ; +if (engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =intel_ring_begin (rq,8 +4 );if (IS_ERR (cs))return PTR_ERR (cs);
@@ -618,19 +626,28 @@ u32 *gen12_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs)u32 *gen12_emit_fini_breadcrumb_rcs (struct i915_request *rq,u32 *cs) { +struct drm_i915_private *i915 = rq->engine->i915; + +u32 flags = (PIPE_CONTROL_CS_STALL | +PIPE_CONTROL_TILE_CACHE_FLUSH | +PIPE_CONTROL_FLUSH_L3 | +PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | +PIPE_CONTROL_DEPTH_CACHE_FLUSH | +PIPE_CONTROL_DC_FLUSH_ENABLE | +PIPE_CONTROL_FLUSH_ENABLE ); + +if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +/* Wa_1409600907 */ + flags |=PIPE_CONTROL_DEPTH_STALL ; + +if (rq->engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =gen12_emit_ggtt_write_rcs (cs, rq->fence.seqno,hwsp_offset (rq),PIPE_CONTROL0_HDC_PIPELINE_FLUSH , -PIPE_CONTROL_CS_STALL | -PIPE_CONTROL_TILE_CACHE_FLUSH | -PIPE_CONTROL_FLUSH_L3 | -PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | -PIPE_CONTROL_DEPTH_CACHE_FLUSH | -/* Wa_1409600907:tgl */ -PIPE_CONTROL_DEPTH_STALL | -PIPE_CONTROL_DC_FLUSH_ENABLE | -PIPE_CONTROL_FLUSH_ENABLE ); + flags);return gen12_emit_fini_breadcrumb_tail (rq, cs); }
drivers/gpu/drm/i915/gt/intel_gpu_commands.h +15 -0
@@ -228,11 +228,14 @@#define PIPE_CONTROL_COMMAND_CACHE_INVALIDATE (1<<29)/* gen11+ */ #define PIPE_CONTROL_TILE_CACHE_FLUSH (1<<28)/* gen11+ */ #define PIPE_CONTROL_FLUSH_L3 (1<<27) +#define PIPE_CONTROL_AMFS_FLUSH (1<<25)/* gen12+ */ #define PIPE_CONTROL_GLOBAL_GTT_IVB (1<<24)/* gen7+ */ #define PIPE_CONTROL_MMIO_WRITE (1<<23)#define PIPE_CONTROL_STORE_DATA_INDEX (1<<21)#define PIPE_CONTROL_CS_STALL (1<<20) +#define PIPE_CONTROL_GLOBAL_SNAPSHOT_RESET (1<<19)#define PIPE_CONTROL_TLB_INVALIDATE (1<<18) +#define PIPE_CONTROL_PSD_SYNC (1<<17)/* gen11+ */ #define PIPE_CONTROL_MEDIA_STATE_CLEAR (1<<16)#define PIPE_CONTROL_WRITE_TIMESTAMP (3<<14)#define PIPE_CONTROL_QW_WRITE (1<<14)
@@ -254,6 +257,18 @@#define PIPE_CONTROL_DEPTH_CACHE_FLUSH (1<<0)#define PIPE_CONTROL_GLOBAL_GTT (1<<2)/* in addr dword */ +/* 3D-related flags can't be set on compute engine */ +#define PIPE_CONTROL_3D_FLAGS (\ + PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | \ + PIPE_CONTROL_DEPTH_CACHE_FLUSH | \ + PIPE_CONTROL_TILE_CACHE_FLUSH | \ + PIPE_CONTROL_DEPTH_STALL | \ + PIPE_CONTROL_STALL_AT_SCOREBOARD | \ + PIPE_CONTROL_PSD_SYNC | \ + PIPE_CONTROL_AMFS_FLUSH | \ + PIPE_CONTROL_VF_CACHE_INVALIDATE | \ + PIPE_CONTROL_GLOBAL_SNAPSHOT_RESET) +#define MI_MATH (x) MI_INSTR(0x1a, (x) - 1)#define MI_MATH_INSTR (opcode, op1, op2) ((opcode) << 20 | (op1) << 10 | (op2))/* Opcodes for MI_MATH_INSTR */
Signature · 1 line
2.34.1
Re: [PATCH v2 04/13] drm/i915/xehp: compute engine pipe_control
Quoted 52 lines · Matt Roper
From: Daniele Ceraolo Spurio <[email protected]>
CCS will reuse the RCS functions for breadcrumb and flush emission. However, CCS
pipe_controlhas additional programming restrictions:
- Command Streamer Stall Enable must be always set
- Post Sync Operations must not be set to Write PS Depth Count
- 3D-related bits must not be setBspec: 47112
Cc Vinay Belgaumkar <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Signed-off-by Aravind Iddamsetty <[email protected]>Signed-off-by Matt Roper <[email protected]>---
drivers/gpu/drm/i915/gt/gen8_engine_cs.c| 35 +++++++++++++++-----drivers/gpu/drm/i915/gt/intel_gpu_commands.h| 15 +++++++++2 files changed, 41 insertions(+), 9 deletions(-)drivers/gpu/drm/i915/gt/gen8_engine_cs.c +8
-0@@ -201,6 +201,8 @@ static u32 *gen12_emit_aux_table_inv(const i915_reg_t inv_reg, u32 *cs)int gen12_emit_flush_rcs (struct i915_request *rq,u32 mode) { +struct intel_engine_cs *engine = rq->engine; +if (mode &EMIT_FLUSH ) {u32 flags =0 ;u32 *cs;@@ -219,6 +221,9 @@ int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) flags |=PIPE_CONTROL_CS_STALL ; +if (engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =intel_ring_begin (rq,6 );if (IS_ERR (cs))return PTR_ERR (cs);@@ -246,6 +251,9 @@ int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode) flags |=PIPE_CONTROL_CS_STALL ; +if (engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =intel_ring_begin (rq,8 +4 );if (IS_ERR (cs))return PTR_ERR (cs);
drivers/gpu/drm/i915/gt/gen8_engine_cs.c u32 *gen12_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs) · line 630
Quoted 5 lines
drivers/gpu/drm/i915/gt/gen8_engine_cs.c +2
-0@@ -618,19 +626,28 @@ u32 *gen12_emit_fini_breadcrumb_xcs(struct i915_request *rq, u32 *cs)u32 *gen12_emit_fini_breadcrumb_rcs (struct i915_request *rq,u32 *cs) { +struct drm_i915_private *i915 = rq->engine->i915; +
extra blank line here
Lucas De Marchi
Quoted 73 lines
drivers/gpu/drm/i915/gt/gen8_engine_cs.c +16
-9+u32 flags = (PIPE_CONTROL_CS_STALL | +PIPE_CONTROL_TILE_CACHE_FLUSH | +PIPE_CONTROL_FLUSH_L3 | +PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | +PIPE_CONTROL_DEPTH_CACHE_FLUSH | +PIPE_CONTROL_DC_FLUSH_ENABLE | +PIPE_CONTROL_FLUSH_ENABLE ); + +if (GRAPHICS_VER (i915) ==12 &&GRAPHICS_VER_FULL (i915) <IP_VER (12 ,50 )) +/* Wa_1409600907 */ + flags |=PIPE_CONTROL_DEPTH_STALL ; + +if (rq->engine->class ==COMPUTE_CLASS ) + flags &= ~PIPE_CONTROL_3D_FLAGS ; + cs =gen12_emit_ggtt_write_rcs (cs, rq->fence.seqno,hwsp_offset (rq),PIPE_CONTROL0_HDC_PIPELINE_FLUSH , -PIPE_CONTROL_CS_STALL | -PIPE_CONTROL_TILE_CACHE_FLUSH | -PIPE_CONTROL_FLUSH_L3 | -PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | -PIPE_CONTROL_DEPTH_CACHE_FLUSH | -/* Wa_1409600907:tgl */ -PIPE_CONTROL_DEPTH_STALL | -PIPE_CONTROL_DC_FLUSH_ENABLE | -PIPE_CONTROL_FLUSH_ENABLE ); + flags);return gen12_emit_fini_breadcrumb_tail (rq, cs); }drivers/gpu/drm/i915/gt/intel_gpu_commands.h +15
-0@@ -228,11 +228,14 @@#define PIPE_CONTROL_COMMAND_CACHE_INVALIDATE (1<<29)/* gen11+ */ #define PIPE_CONTROL_TILE_CACHE_FLUSH (1<<28)/* gen11+ */ #define PIPE_CONTROL_FLUSH_L3 (1<<27) +#define PIPE_CONTROL_AMFS_FLUSH (1<<25)/* gen12+ */ #define PIPE_CONTROL_GLOBAL_GTT_IVB (1<<24)/* gen7+ */ #define PIPE_CONTROL_MMIO_WRITE (1<<23)#define PIPE_CONTROL_STORE_DATA_INDEX (1<<21)#define PIPE_CONTROL_CS_STALL (1<<20) +#define PIPE_CONTROL_GLOBAL_SNAPSHOT_RESET (1<<19)#define PIPE_CONTROL_TLB_INVALIDATE (1<<18) +#define PIPE_CONTROL_PSD_SYNC (1<<17)/* gen11+ */ #define PIPE_CONTROL_MEDIA_STATE_CLEAR (1<<16)#define PIPE_CONTROL_WRITE_TIMESTAMP (3<<14)#define PIPE_CONTROL_QW_WRITE (1<<14)@@ -254,6 +257,18 @@#define PIPE_CONTROL_DEPTH_CACHE_FLUSH (1<<0)#define PIPE_CONTROL_GLOBAL_GTT (1<<2)/* in addr dword */ +/* 3D-related flags can't be set on compute engine */ +#define PIPE_CONTROL_3D_FLAGS (\ + PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH | \ + PIPE_CONTROL_DEPTH_CACHE_FLUSH | \ + PIPE_CONTROL_TILE_CACHE_FLUSH | \ + PIPE_CONTROL_DEPTH_STALL | \ + PIPE_CONTROL_STALL_AT_SCOREBOARD | \ + PIPE_CONTROL_PSD_SYNC | \ + PIPE_CONTROL_AMFS_FLUSH | \ + PIPE_CONTROL_VF_CACHE_INVALIDATE | \ + PIPE_CONTROL_GLOBAL_SNAPSHOT_RESET) +#define MI_MATH (x) MI_INSTR(0x1a, (x) - 1)#define MI_MATH_INSTR (opcode, op1, op2) ((opcode) << 20 | (op1) << 10 | (op2))/* Opcodes for MI_MATH_INSTR */ Signature · 1 line
2.34.1
PATCH v2 5/13 drm/i915/xehp: CCS should use RCS setup functions
In reply to Matt RoperThe compute engine handles the same commands the render engine can (except 3D pipeline), so it makes sense that CCS is more similar to RCS than non-render engines.
The CCS context state (lrc) is also similar to the render one, so reuse it. Note that the compute engine has its own CTX_R_PWR_CLK_STATE register.
In order to avoid having multiple RCS && CCS checks, add the following engine flag:
- I915_ENGINE_HAS_RCS_REG_STATE - use the render (larger) reg state ctx.
BSpec: 46260
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 8 +++++--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 6 ++++++ drivers/gpu/drm/i915/gt/intel_engine_types.h | 1 + drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 +- drivers/gpu/drm/i915/gt/intel_lrc.c | 4 ++-- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +- 6 files changed, 16 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c +5 -3
@@ -885,7 +885,9 @@ static int igt_shared_ctx_exec(void *arg)return err; } -static int rpcs_query_batch (struct drm_i915_gem_object *rpcs,struct i915_vma *vma) +static int rpcs_query_batch (struct drm_i915_gem_object *rpcs, +struct i915_vma *vma, +struct intel_engine_cs *engine) {u32 *cmd;
@@ -896,7 +898,7 @@ static int rpcs_query_batch(struct drm_i915_gem_object *rpcs, struct i915_vma *vreturn PTR_ERR (cmd); *cmd++ =MI_STORE_REGISTER_MEM_GEN8 ; - *cmd++ =i915_mmio_reg_offset (GEN8_R_PWR_CLK_STATE (RENDER_RING_BASE )); + *cmd++ =i915_mmio_reg_offset (GEN8_R_PWR_CLK_STATE (engine->mmio_base)); *cmd++ =lower_32_bits (vma->node.start); *cmd++ =upper_32_bits (vma->node.start); *cmd =MI_BATCH_BUFFER_END ;
@@ -957,7 +959,7 @@ emit_rpcs_query(struct drm_i915_gem_object *obj,if (err) goto err_vma; - err =rpcs_query_batch (rpcs, vma); + err =rpcs_query_batch (rpcs, vma, ce->engine);if (err) goto err_batch;
drivers/gpu/drm/i915/gt/intel_engine_cs.c +6 -0
@@ -208,6 +208,8 @@ u32 intel_engine_context_size(struct intel_gt *gt, u8 class)BUILD_BUG_ON (I915_GTT_PAGE_SIZE !=PAGE_SIZE );switch (class) { +case COMPUTE_CLASS : + fallthrough;case RENDER_CLASS :switch (GRAPHICS_VER (gt->i915)) {default :
@@ -431,6 +433,10 @@ static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id,if (GRAPHICS_VER (i915) ==12 && engine->class ==RENDER_CLASS ) engine->props.preempt_timeout_ms =0 ; +/* features common between engines sharing EUs */ +if (engine->class ==RENDER_CLASS || engine->class ==COMPUTE_CLASS ) + engine->flags |=I915_ENGINE_HAS_RCS_REG_STATE ; + engine->defaults = engine->props;/* never to change again */ engine->context_size =intel_engine_context_size (gt, engine->class);
drivers/gpu/drm/i915/gt/intel_engine_types.h +1 -0
@@ -524,6 +524,7 @@ struct intel_engine_cs {#define I915_ENGINE_HAS_RELATIVE_MMIO BIT(6)#define I915_ENGINE_REQUIRES_CMD_PARSER BIT(7)#define I915_ENGINE_WANT_FORCED_PREEMPTION BIT(8) +#define I915_ENGINE_HAS_RCS_REG_STATE BIT(9)unsigned int flags;/*
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +1 -1
@@ -3480,7 +3480,7 @@ int intel_execlists_submission_setup(struct intel_engine_cs *engine)logical_ring_default_vfuncs (engine);logical_ring_default_irqs (engine); -if (engine->class ==RENDER_CLASS ) +if (engine->flags &I915_ENGINE_HAS_RCS_REG_STATE )rcs_submission_override (engine);lrc_init_wa_ctx (engine);
drivers/gpu/drm/i915/gt/intel_lrc.c +2 -2
@@ -623,7 +623,7 @@ static const u8 *reg_offsets(const struct intel_engine_cs *engine)GEM_BUG_ON (GRAPHICS_VER (engine->i915) >=12 && !intel_engine_has_relative_mmio (engine)); -if (engine->class ==RENDER_CLASS ) { +if (engine->flags &I915_ENGINE_HAS_RCS_REG_STATE ) {if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,55 ))return dg2_rcs_offsets;else if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,50 ))
@@ -1619,7 +1619,7 @@ void lrc_init_wa_ctx(struct intel_engine_cs *engine)unsigned int i;int err; -if (engine->class !=RENDER_CLASS ) +if (!(engine->flags &I915_ENGINE_HAS_RCS_REG_STATE ))return ;switch (GRAPHICS_VER (engine->i915)) {
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1 -1
@@ -3792,7 +3792,7 @@ int intel_guc_submission_setup(struct intel_engine_cs *engine)guc_default_irqs (engine);guc_init_breadcrumbs (engine); -if (engine->class ==RENDER_CLASS ) +if (engine->flags &I915_ENGINE_HAS_RCS_REG_STATE )rcs_submission_override (engine);lrc_init_wa_ctx (engine);
Signature · 1 line
2.34.1
PATCH v2 6/13 drm/i915: Move context descriptor fields to intel_lrc.h
In reply to Matt RoperThis is a more appropriate header for these definitions.
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 + drivers/gpu/drm/i915/gt/intel_gt_regs.h | 34 ----------------------- drivers/gpu/drm/i915/gt/intel_lrc.h | 34 +++++++++++++++++++++++ 3 files changed, 35 insertions(+), 34 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +1 -0
@@ -21,6 +21,7 @@#include "intel_gt.h" #include "intel_gt_requests.h" #include "intel_gt_pm.h" +#include "intel_lrc.h" #include "intel_lrc_reg.h" #include "intel_reset.h" #include "intel_ring.h"
drivers/gpu/drm/i915/gt/intel_gt_regs.h +0 -34
@@ -1499,38 +1499,4 @@#define GEN12_SFC_DONE (n) _MMIO(0x1cc000 + (n) * 0x1000) -enum { -INTEL_ADVANCED_CONTEXT =0 , -INTEL_LEGACY_32B_CONTEXT , -INTEL_ADVANCED_AD_CONTEXT , -INTEL_LEGACY_64B_CONTEXT -}; - -enum { -FAULT_AND_HANG =0 , -FAULT_AND_HALT ,/* Debug only */ -FAULT_AND_STREAM , -FAULT_AND_CONTINUE /* Unsupported */ -}; - -#define CTX_GTT_ADDRESS_MASK GENMASK(31, 12) -#define GEN8_CTX_VALID (1 << 0) -#define GEN8_CTX_FORCE_PD_RESTORE (1 << 1) -#define GEN8_CTX_FORCE_RESTORE (1 << 2) -#define GEN8_CTX_L3LLC_COHERENT (1 << 5) -#define GEN8_CTX_PRIVILEGE (1 << 8) -#define GEN8_CTX_ADDRESSING_MODE_SHIFT 3 -#define GEN8_CTX_ID_SHIFT 32 -#define GEN8_CTX_ID_WIDTH 21 -#define GEN11_SW_CTX_ID_SHIFT 37 -#define GEN11_SW_CTX_ID_WIDTH 11 -#define GEN11_ENGINE_CLASS_SHIFT 61 -#define GEN11_ENGINE_CLASS_WIDTH 3 -#define GEN11_ENGINE_INSTANCE_SHIFT 48 -#define GEN11_ENGINE_INSTANCE_WIDTH 6 -#define XEHP_SW_CTX_ID_SHIFT 39 -#define XEHP_SW_CTX_ID_WIDTH 16 -#define XEHP_SW_COUNTER_SHIFT 58 -#define XEHP_SW_COUNTER_WIDTH 6 -#endif /* __INTEL_GT_REGS__ */
drivers/gpu/drm/i915/gt/intel_lrc.h +34 -0
@@ -69,4 +69,38 @@ void lrc_check_regs(const struct intel_context *ce,void lrc_update_runtime (struct intel_context *ce); +enum { +INTEL_ADVANCED_CONTEXT =0 , +INTEL_LEGACY_32B_CONTEXT , +INTEL_ADVANCED_AD_CONTEXT , +INTEL_LEGACY_64B_CONTEXT +}; + +enum { +FAULT_AND_HANG =0 , +FAULT_AND_HALT ,/* Debug only */ +FAULT_AND_STREAM , +FAULT_AND_CONTINUE /* Unsupported */ +}; + +#define CTX_GTT_ADDRESS_MASK GENMASK(31, 12) +#define GEN8_CTX_VALID (1 << 0) +#define GEN8_CTX_FORCE_PD_RESTORE (1 << 1) +#define GEN8_CTX_FORCE_RESTORE (1 << 2) +#define GEN8_CTX_L3LLC_COHERENT (1 << 5) +#define GEN8_CTX_PRIVILEGE (1 << 8) +#define GEN8_CTX_ADDRESSING_MODE_SHIFT 3 +#define GEN8_CTX_ID_SHIFT 32 +#define GEN8_CTX_ID_WIDTH 21 +#define GEN11_SW_CTX_ID_SHIFT 37 +#define GEN11_SW_CTX_ID_WIDTH 11 +#define GEN11_ENGINE_CLASS_SHIFT 61 +#define GEN11_ENGINE_CLASS_WIDTH 3 +#define GEN11_ENGINE_INSTANCE_SHIFT 48 +#define GEN11_ENGINE_INSTANCE_WIDTH 6 +#define XEHP_SW_CTX_ID_SHIFT 39 +#define XEHP_SW_CTX_ID_WIDTH 16 +#define XEHP_SW_COUNTER_SHIFT 58 +#define XEHP_SW_COUNTER_WIDTH 6 +#endif /* __INTEL_LRC_H__ */
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 06/13] drm/i915: Move context descriptor fields to intel_lrc.h
Quoted 77 lines · Matt Roper
This is a more appropriate header for these definitions.
Signed-off-by Matt Roper <[email protected]>---
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 + drivers/gpu/drm/i915/gt/intel_gt_regs.h | 34 ----------------------- drivers/gpu/drm/i915/gt/intel_lrc.h | 34 +++++++++++++++++++++++ 3 files changed, 35 insertions(+), 34 deletions(-)drivers/gpu/drm/i915/gt/intel_engine_cs.c +1
-0@@ -21,6 +21,7 @@#include "intel_gt.h" #include "intel_gt_requests.h" #include "intel_gt_pm.h" +#include "intel_lrc.h" #include "intel_lrc_reg.h" #include "intel_reset.h" #include "intel_ring.h" drivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-34@@ -1499,38 +1499,4 @@#define GEN12_SFC_DONE (n) _MMIO(0x1cc000 + (n) * 0x1000) -enum { -INTEL_ADVANCED_CONTEXT =0 , -INTEL_LEGACY_32B_CONTEXT , -INTEL_ADVANCED_AD_CONTEXT , -INTEL_LEGACY_64B_CONTEXT -}; - -enum { -FAULT_AND_HANG =0 , -FAULT_AND_HALT ,/* Debug only */ -FAULT_AND_STREAM , -FAULT_AND_CONTINUE /* Unsupported */ -}; - -#define CTX_GTT_ADDRESS_MASK GENMASK(31, 12) -#define GEN8_CTX_VALID (1 << 0) -#define GEN8_CTX_FORCE_PD_RESTORE (1 << 1) -#define GEN8_CTX_FORCE_RESTORE (1 << 2) -#define GEN8_CTX_L3LLC_COHERENT (1 << 5) -#define GEN8_CTX_PRIVILEGE (1 << 8) -#define GEN8_CTX_ADDRESSING_MODE_SHIFT 3 -#define GEN8_CTX_ID_SHIFT 32 -#define GEN8_CTX_ID_WIDTH 21 -#define GEN11_SW_CTX_ID_SHIFT 37 -#define GEN11_SW_CTX_ID_WIDTH 11 -#define GEN11_ENGINE_CLASS_SHIFT 61 -#define GEN11_ENGINE_CLASS_WIDTH 3 -#define GEN11_ENGINE_INSTANCE_SHIFT 48 -#define GEN11_ENGINE_INSTANCE_WIDTH 6 -#define XEHP_SW_CTX_ID_SHIFT 39 -#define XEHP_SW_CTX_ID_WIDTH 16 -#define XEHP_SW_COUNTER_SHIFT 58 -#define XEHP_SW_COUNTER_WIDTH 6 -#endif /* __INTEL_GT_REGS__ */ drivers/gpu/drm/i915/gt/intel_lrc.h +5
-0@@ -69,4 +69,38 @@ void lrc_check_regs(const struct intel_context *ce,void lrc_update_runtime (struct intel_context *ce); +enum { +INTEL_ADVANCED_CONTEXT =0 , +INTEL_LEGACY_32B_CONTEXT , +INTEL_ADVANCED_AD_CONTEXT , +INTEL_LEGACY_64B_CONTEXT
drivers/gpu/drm/i915/gt/intel_lrc.h void lrc_check_regs(const struct intel_context *ce, · line 86
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_lrc.h +10
-0+}; + +enum { +FAULT_AND_HANG =0 , +FAULT_AND_HALT ,/* Debug only */ +FAULT_AND_STREAM , +FAULT_AND_CONTINUE /* Unsupported */ +}; + +#define CTX_GTT_ADDRESS_MASK GENMASK(31, 12)
I don't like changing code while moving, but I'd open an exception here just to fix these 2 spaces in this block. Anyway, up to you:
Lucas De Marchi
Quoted 23 lines
drivers/gpu/drm/i915/gt/intel_lrc.h +19
-0+#define GEN8_CTX_VALID (1 << 0) +#define GEN8_CTX_FORCE_PD_RESTORE (1 << 1) +#define GEN8_CTX_FORCE_RESTORE (1 << 2) +#define GEN8_CTX_L3LLC_COHERENT (1 << 5) +#define GEN8_CTX_PRIVILEGE (1 << 8) +#define GEN8_CTX_ADDRESSING_MODE_SHIFT 3 +#define GEN8_CTX_ID_SHIFT 32 +#define GEN8_CTX_ID_WIDTH 21 +#define GEN11_SW_CTX_ID_SHIFT 37 +#define GEN11_SW_CTX_ID_WIDTH 11 +#define GEN11_ENGINE_CLASS_SHIFT 61 +#define GEN11_ENGINE_CLASS_WIDTH 3 +#define GEN11_ENGINE_INSTANCE_SHIFT 48 +#define GEN11_ENGINE_INSTANCE_WIDTH 6 +#define XEHP_SW_CTX_ID_SHIFT 39 +#define XEHP_SW_CTX_ID_WIDTH 16 +#define XEHP_SW_COUNTER_SHIFT 58 +#define XEHP_SW_COUNTER_WIDTH 6 +#endif /* __INTEL_LRC_H__ */ Signature · 1 line
2.34.1
PATCH v2 7/13 drm/i915/xehp: Define context scheduling attributes in lrc descriptor
In reply to Matt RoperIn Dual Context mode the EUs are shared between render and compute command streamers. The hardware provides a field in the lrc descriptor to indicate the prioritization of the thread dispatch associated to the corresponding context.
The context priority is set to 'low' at creation time and relies on the existing context priority to set it to low/normal/high.
Bspec: 46145, 46260
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 +++- drivers/gpu/drm/i915/gt/intel_engine_types.h | 1 + .../drm/i915/gt/intel_execlists_submission.c | 6 +++++- drivers/gpu/drm/i915/gt/intel_lrc.h | 17 +++++++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +3 -1
@@ -435,8 +435,10 @@ static int intel_engine_setup(struct intel_gt *gt, enum intel_engine_id id, engine->props.preempt_timeout_ms =0 ;/* features common between engines sharing EUs */ -if (engine->class ==RENDER_CLASS || engine->class ==COMPUTE_CLASS ) +if (engine->class ==RENDER_CLASS || engine->class ==COMPUTE_CLASS ) { engine->flags |=I915_ENGINE_HAS_RCS_REG_STATE ; + engine->flags |=I915_ENGINE_HAS_EU_PRIORITY ; + } engine->defaults = engine->props;/* never to change again */
drivers/gpu/drm/i915/gt/intel_engine_types.h +1 -0
@@ -525,6 +525,7 @@ struct intel_engine_cs {#define I915_ENGINE_REQUIRES_CMD_PARSER BIT(7)#define I915_ENGINE_WANT_FORCED_PREEMPTION BIT(8)#define I915_ENGINE_HAS_RCS_REG_STATE BIT(9) +#define I915_ENGINE_HAS_EU_PRIORITY BIT(10)unsigned int flags;/*
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +5 -1
@@ -665,9 +665,13 @@ static inline void execlists_schedule_out(struct i915_request *rq)static u64 execlists_update_context (struct i915_request *rq) {struct intel_context *ce = rq->context; -u64 desc = ce->lrc.desc; +u64 desc;u32 tail, prev; + desc = ce->lrc.desc; +if (rq->engine->flags &I915_ENGINE_HAS_EU_PRIORITY ) + desc |=lrc_desc_priority (rq_prio (rq)); +/* * WaIdleLiteRestore:bdw,skl *
drivers/gpu/drm/i915/gt/intel_lrc.h +17 -0
@@ -6,6 +6,9 @@#ifndef __INTEL_LRC_H__#define __INTEL_LRC_H__ +#include "i915_priolist_types.h" + +#include <linux/bitfield.h> #include <linux/types.h> struct drm_i915_gem_object ;
@@ -90,6 +93,10 @@ enum {#define GEN8_CTX_L3LLC_COHERENT (1 << 5)#define GEN8_CTX_PRIVILEGE (1 << 8)#define GEN8_CTX_ADDRESSING_MODE_SHIFT 3 +#define GEN12_CTX_PRIORITY_MASK GENMASK(10, 9) +#define GEN12_CTX_PRIORITY_HIGH FIELD_PREP(GEN12_CTX_PRIORITY_MASK, 2) +#define GEN12_CTX_PRIORITY_NORMAL FIELD_PREP(GEN12_CTX_PRIORITY_MASK, 1) +#define GEN12_CTX_PRIORITY_LOW FIELD_PREP(GEN12_CTX_PRIORITY_MASK, 0)#define GEN8_CTX_ID_SHIFT 32#define GEN8_CTX_ID_WIDTH 21#define GEN11_SW_CTX_ID_SHIFT 37
@@ -103,4 +110,14 @@ enum {#define XEHP_SW_COUNTER_SHIFT 58#define XEHP_SW_COUNTER_WIDTH 6 +static inline u32 lrc_desc_priority (int prio) +{ +if (prio >I915_PRIORITY_NORMAL ) +return GEN12_CTX_PRIORITY_HIGH ; +else if (prio <I915_PRIORITY_NORMAL ) +return GEN12_CTX_PRIORITY_LOW ; +else +return GEN12_CTX_PRIORITY_NORMAL ; +} +#endif /* __INTEL_LRC_H__ */
Signature · 1 line
2.34.1
PATCH v2 8/13 drm/i915/xehp/guc: enable compute engine inside GuC
In reply to Matt RoperFrom: Daniele Ceraolo Spurio <[email protected]>
Tell GuC that CCS is enabled by setting a bit in its ADS.
Cc: Vinay Belgaumkar <[email protected]>
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 +++ drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 5 +++++ 2 files changed, 8 insertions(+)
drivers/gpu/drm/i915/gt/intel_gt_regs.h +3 -0
@@ -1327,6 +1327,9 @@#define ECOBITS_PPGTT_CACHE64B (3 << 8)#define ECOBITS_PPGTT_CACHE4B (0 << 8) +#define GEN12_RCU_MODE _MMIO(0x14800) +#define GEN12_RCU_MODE_CCS_ENABLE REG_BIT(0) +#define CHV_FUSE_GT _MMIO(VLV_DISPLAY_BASE + 0x2168)#define CHV_FGT_DISABLE_SS0 (1 << 10)#define CHV_FGT_DISABLE_SS1 (1 << 11)
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c +5 -0
@@ -335,6 +335,10 @@ static int guc_mmio_regset_init(struct temp_regset *regset, ret |=GUC_MMIO_REG_ADD (regset,RING_HWS_PGA (base), false); ret |=GUC_MMIO_REG_ADD (regset,RING_IMR (base), false); +if (engine->class ==RENDER_CLASS && +CCS_MASK (engine->gt)) + ret |=GUC_MMIO_REG_ADD (regset,GEN12_RCU_MODE , true); +for (i =0 , wa = wal->list; i < wal->count; i++, wa++) ret |=GUC_MMIO_REG_ADD (regset, wa->reg, wa->masked_reg);
@@ -430,6 +434,7 @@ static void fill_engine_enable_masks(struct intel_gt *gt, struct iosys_map *info_map) {info_map_write (info_map, engine_enabled_masks[GUC_RENDER_CLASS ],1 ); +info_map_write (info_map, engine_enabled_masks[GUC_COMPUTE_CLASS ],CCS_MASK (gt));info_map_write (info_map, engine_enabled_masks[GUC_BLITTER_CLASS ],1 );info_map_write (info_map, engine_enabled_masks[GUC_VIDEO_CLASS ],VDBOX_MASK (gt));info_map_write (info_map, engine_enabled_masks[GUC_VIDEOENHANCE_CLASS ],VEBOX_MASK (gt));
Signature · 1 line
2.34.1
Re: [PATCH v2 08/13] drm/i915/xehp/guc: enable compute engine inside GuC
Quoted 18 lines · Matt Roper
From: Daniele Ceraolo Spurio <[email protected]>
Tell GuC that CCS is enabled by setting a bit in its ADS.
Cc: Vinay Belgaumkar <[email protected]>
Original-author: Michel ThierrySigned-off-by Daniele Ceraolo Spurio <[email protected]>Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 +++ drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 5 +++++ 2 files changed, 8 insertions(+)drivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-0
drivers/gpu/drm/i915/gt/intel_gt_regs.h line 1331
Quoted 5 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +2
-0@@ -1327,6 +1327,9 @@#define ECOBITS_PPGTT_CACHE64B (3 << 8)#define ECOBITS_PPGTT_CACHE4B (0 << 8) +#define GEN12_RCU_MODE _MMIO(0x14800) +#define GEN12_RCU_MODE_CCS_ENABLE REG_BIT(0)
Having the definition of this register in this patch is a bit weird, because we're save/restoring a register we're not programming. Maybe flip the order of this patch and the next one and move the register definition to that?
Daniele
Quoted 27 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0+#define CHV_FUSE_GT _MMIO(VLV_DISPLAY_BASE + 0x2168)#define CHV_FGT_DISABLE_SS0 (1 << 10)#define CHV_FGT_DISABLE_SS1 (1 << 11)drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c +5
-0@@ -335,6 +335,10 @@ static int guc_mmio_regset_init(struct temp_regset *regset, ret |=GUC_MMIO_REG_ADD (regset,RING_HWS_PGA (base), false); ret |=GUC_MMIO_REG_ADD (regset,RING_IMR (base), false); +if (engine->class ==RENDER_CLASS && +CCS_MASK (engine->gt)) + ret |=GUC_MMIO_REG_ADD (regset,GEN12_RCU_MODE , true); +for (i =0 , wa = wal->list; i < wal->count; i++, wa++) ret |=GUC_MMIO_REG_ADD (regset, wa->reg, wa->masked_reg);@@ -430,6 +434,7 @@ static void fill_engine_enable_masks(struct intel_gt *gt, struct iosys_map *info_map) {info_map_write (info_map, engine_enabled_masks[GUC_RENDER_CLASS ],1 ); +info_map_write (info_map, engine_enabled_masks[GUC_COMPUTE_CLASS ],CCS_MASK (gt));info_map_write (info_map, engine_enabled_masks[GUC_BLITTER_CLASS ],1 );info_map_write (info_map, engine_enabled_masks[GUC_VIDEO_CLASS ],VDBOX_MASK (gt));info_map_write (info_map, engine_enabled_masks[GUC_VIDEOENHANCE_CLASS ],VEBOX_MASK (gt));
PATCH v2 9/13 drm/i915/xehp: Enable ccs/dual-ctx in RCU_MODE
In reply to Matt RoperWe have to specify in the Render Control Unit Mode register when CCS is enabled.
v2:
- Move RCU_MODE programming to a helper function. (Tvrtko)
- Clean up and clarify comments. (Tvrtko)
- Add RCU_MODE to the GuC save/restore list. (Daniele)
Bspec: 46034
Original-author: Michel Thierry
--- drivers/gpu/drm/i915/gt/intel_engine.h | 2 ++ drivers/gpu/drm/i915/gt/intel_engine_cs.c | 17 +++++++++++++++++ .../drm/i915/gt/intel_execlists_submission.c | 16 ++++++++++++++++ .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 ++++++++++++++++ 4 files changed, 51 insertions(+)
drivers/gpu/drm/i915/gt/intel_engine.h +2 -0
@@ -265,6 +265,8 @@ intel_engine_create_pinned_context(struct intel_engine_cs *engine,void intel_engine_destroy_pinned_context (struct intel_context *ce); +void xehp_enable_ccs_engines (struct intel_engine_cs *engine); +#define ENGINE_PHYSICAL 0#define ENGINE_MOCK 1#define ENGINE_VIRTUAL 2
drivers/gpu/drm/i915/gt/intel_engine_cs.c +17 -0
@@ -2070,6 +2070,23 @@ intel_engine_execlist_find_hung_request(struct intel_engine_cs *engine)return active; } +void xehp_enable_ccs_engines (struct intel_engine_cs *engine) +{ +/* +* If there are any non-fused-off CCS engines, we need to enable CCS +* support in the RCU_MODE register. This only needs to be done once, +* so for simplicity we'll take care of this in the RCS engine's +* resume handler; since the RCS and all CCS engines belong to the +* same reset domain and are reset together, this will also take care +* of re-applying the setting after i915-triggered resets. +*/ +if (!CCS_MASK (engine->gt)) +return ; + +intel_uncore_write (engine->uncore,GEN12_RCU_MODE , +_MASKED_BIT_ENABLE (GEN12_RCU_MODE_CCS_ENABLE )); +} +#if IS_ENABLED (CONFIG_DRM_I915_SELFTEST )#include "mock_engine.c" #include "selftest_engine.c"
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +16 -0
@@ -2914,6 +2914,19 @@ static int execlists_resume(struct intel_engine_cs *engine)return 0 ; } +static int gen12_rcs_resume (struct intel_engine_cs *engine) +{ +int ret; + + ret =execlists_resume (engine); +if (ret) +return ret; + +xehp_enable_ccs_engines (engine); + +return 0 ; +} +static void execlists_reset_prepare (struct intel_engine_cs *engine) { ENGINE_TRACE(engine, "depth<-%d\n",
@@ -3468,6 +3481,9 @@ static void rcs_submission_override(struct intel_engine_cs *engine) engine->emit_fini_breadcrumb = gen8_emit_fini_breadcrumb_rcs;break ; } + +if (engine->class ==RENDER_CLASS ) + engine->resume = gen12_rcs_resume; }int intel_execlists_submission_setup (struct intel_engine_cs *engine)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +16 -0
@@ -3619,6 +3619,19 @@ static bool guc_sched_engine_disabled(struct i915_sched_engine *sched_engine)return !sched_engine->tasklet.callback; } +static int gen12_rcs_resume (struct intel_engine_cs *engine) +{ +int ret; + + ret =guc_resume (engine); +if (ret) +return ret; + +xehp_enable_ccs_engines (engine); + +return 0 ; +} +static void guc_set_default_submission (struct intel_engine_cs *engine) { engine->submit_request = guc_submit_request;
@@ -3739,6 +3752,9 @@ static void rcs_submission_override(struct intel_engine_cs *engine) engine->emit_fini_breadcrumb = gen8_emit_fini_breadcrumb_rcs;break ; } + +if (engine->class ==RENDER_CLASS ) + engine->resume = gen12_rcs_resume; }static inline void guc_default_irqs (struct intel_engine_cs *engine)
Signature · 1 line
2.34.1
PATCH v2 10/13 drm/i915/xehp: Don't support parallel submission on compute / render
In reply to Matt RoperFrom: Matthew Brost <[email protected]>
A different emit breadcrumbs ring programming is required for compute / render and we don't have UMD user so just reject parallel submission for these engine classes.
--- drivers/gpu/drm/i915/gem/i915_gem_context.c | 10 ++++++++++ drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c | 4 ++++ 2 files changed, 14 insertions(+)
drivers/gpu/drm/i915/gem/i915_gem_context.c +10 -0
@@ -670,6 +670,16 @@ set_proto_ctx_engines_parallel_submit(struct i915_user_extension __user *base, goto out_err; } +/* +* We don't support breadcrumb handshake on these +* classes +*/ +if (siblings[n]->class ==RENDER_CLASS || + siblings[n]->class ==COMPUTE_CLASS ) { + err = -EINVAL ; + goto out_err; + } +if (n) {if (prev_engine.engine_class != ci.engine_class) {
drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c +4 -0
@@ -154,6 +154,10 @@ static int intel_guc_multi_lrc_basic(void *arg)int ret;for (class =0 ; class <MAX_ENGINE_CLASS +1 ; ++class) { +/* We don't support breadcrumb handshake on these classes */ +if (class ==COMPUTE_CLASS || class ==RENDER_CLASS ) +continue ; + ret =__intel_guc_multi_lrc_basic (gt, class);if (ret)return ret;
Signature · 1 line
2.34.1
Re: [PATCH v2 10/13] drm/i915/xehp: Don't support parallel submission on compute / render
Quoted 8 lines · Matt Roper
From: Matthew Brost <[email protected]>
A different emit breadcrumbs ring programming is required for compute / render and we don't have UMD user so just reject parallel submission for these engine classes.
Signed-off-by Matthew Brost <[email protected]>Signed-off-by Matt Roper <[email protected]>
Excluding the RCS is not really required given that there is only 1 instance and therefore can't be used for parallel submission (which is why we didn't need this check before the compute engines were added), but I agree that for coherency and future-proofing it makes sense to explicitly exclude all the unsupported classes.
Quoted 41 lines
--- drivers/gpu/drm/i915/gem/i915_gem_context.c | 10 ++++++++++ drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c | 4 ++++ 2 files changed, 14 insertions(+)drivers/gpu/drm/i915/gem/i915_gem_context.c +10
-0@@ -670,6 +670,16 @@ set_proto_ctx_engines_parallel_submit(struct i915_user_extension __user *base, goto out_err; } +/* +* We don't support breadcrumb handshake on these +* classes +*/ +if (siblings[n]->class ==RENDER_CLASS || + siblings[n]->class ==COMPUTE_CLASS ) { + err = -EINVAL ; + goto out_err; + } +if (n) {if (prev_engine.engine_class != ci.engine_class) {drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c +4
-0@@ -154,6 +154,10 @@ static int intel_guc_multi_lrc_basic(void *arg)int ret;for (class =0 ; class <MAX_ENGINE_CLASS +1 ; ++class) { +/* We don't support breadcrumb handshake on these classes */ +if (class ==COMPUTE_CLASS || class ==RENDER_CLASS ) +continue ; + ret =__intel_guc_multi_lrc_basic (gt, class);if (ret)return ret;
PATCH v2 11/13 drm/i915/xehp: handle fused off CCS engines
In reply to Matt RoperFrom: Daniele Ceraolo Spurio <[email protected]>
HW resources are divided across the active CCS engines at the compute slice level, with each CCS having priority on one of the cslices. If a compute slice has no enabled DSS, its paired compute engine is not usable in full parallel execution because the other ones already fully saturate the HW, so consider it fused off.
v2(José):
- moved it to its own function
- fixed definition of ccs_mask
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 25 +++++++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_sseu.c | 17 ++++++++++++--- drivers/gpu/drm/i915/gt/intel_sseu.h | 4 +++- 3 files changed, 42 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +25 -0
@@ -592,6 +592,29 @@ bool gen11_vdbox_has_sfc(struct intel_gt *gt,return false; } +static void engine_mask_apply_compute_fuses (struct intel_gt *gt) +{ +struct drm_i915_private *i915 = gt->i915; +struct intel_gt_info *info = >->info; +unsigned int i; + +/* +* If all DSS in a quadrant are fused off, the corresponding CCS +* engine is not available for use. +*/ +if (fls (CCS_MASK (gt)) >1 ) { +int ss_per_ccs = info->sseu.max_subslices /I915_MAX_CCS ; +const unsigned long ccs_mask =intel_slicemask_from_dssmask ( +intel_sseu_get_compute_subslices (&info->sseu), + ss_per_ccs); + +for_each_clear_bit (i, &ccs_mask,I915_MAX_CCS ) { + info->engine_mask &= ~BIT (_CCS (i)); +drm_dbg (&i915->drm,"ccs%u fused off\n" , i); + } + } +} +/* * Determine which engines are fused off in our particular hardware. * Note that we have a catch-22 situation where we need to be able to access
@@ -673,6 +696,8 @@ static intel_engine_mask_t init_engine_mask(struct intel_gt *gt) vebox_mask, VEBOX_MASK(gt));GEM_BUG_ON (vebox_mask !=VEBOX_MASK (gt)); +engine_mask_apply_compute_fuses (gt); +return info->engine_mask; }
drivers/gpu/drm/i915/gt/intel_sseu.c +14 -3
@@ -32,7 +32,9 @@ intel_sseu_subslice_total(const struct sseu_dev_info *sseu)return total; } -u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice) +static u32 +_intel_sseu_get_subslices (const struct sseu_dev_info *sseu, +const u8 *subslice_mask,u8 slice) {int i, offset = slice * sseu->ss_stride;u32 mask =0 ;
@@ -40,12 +42,21 @@ u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice)GEM_BUG_ON (slice >= sseu->max_slices);for (i =0 ; i < sseu->ss_stride; i++) - mask |= (u32 )sseu->subslice_mask[offset + i] << - i *BITS_PER_BYTE ; + mask |= (u32 )subslice_mask[offset + i] << i *BITS_PER_BYTE ;return mask; } +u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice) +{ +return _intel_sseu_get_subslices (sseu, sseu->subslice_mask, slice); +} + +u32 intel_sseu_get_compute_subslices (const struct sseu_dev_info *sseu) +{ +return _intel_sseu_get_subslices (sseu, sseu->compute_subslice_mask,0 ); +} +void intel_sseu_set_subslices (struct sseu_dev_info *sseu,int slice,u8 *subslice_mask,u32 ss_mask) {
drivers/gpu/drm/i915/gt/intel_sseu.h +3 -1
@@ -103,7 +103,9 @@ intel_sseu_subslice_total(const struct sseu_dev_info *sseu);unsigned int intel_sseu_subslices_per_slice (const struct sseu_dev_info *sseu,u8 slice); -u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice); +u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice); + +u32 intel_sseu_get_compute_subslices (const struct sseu_dev_info *sseu);void intel_sseu_set_subslices (struct sseu_dev_info *sseu,int slice,u8 *subslice_mask,u32 ss_mask);
Signature · 1 line
2.34.1
Re: [PATCH v2 11/13] drm/i915/xehp: handle fused off CCS engines
Quoted 33 lines · Matt Roper
From: Daniele Ceraolo Spurio <[email protected]>
HW resources are divided across the active CCS engines at the compute slice level, with each CCS having priority on one of the cslices. If a compute slice has no enabled DSS, its paired compute engine is not usable in full parallel execution because the other ones already fully saturate the HW, so consider it fused off.
v2(José):
- moved it to its own function
- fixed definition ofccs_maskCc Stuart Summers <[email protected]>Cc Vinay Belgaumkar <[email protected]>Cc Ashutosh Dixit <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Signed-off-by Stuart Summers <[email protected]>Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 25 +++++++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_sseu.c | 17 ++++++++++++--- drivers/gpu/drm/i915/gt/intel_sseu.h | 4 +++- 3 files changed, 42 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/gt/intel_engine_cs.c +1
-0@@ -592,6 +592,29 @@ bool gen11_vdbox_has_sfc(struct intel_gt *gt,return false; } +static void engine_mask_apply_compute_fuses (struct intel_gt *gt)
drivers/gpu/drm/i915/gt/intel_engine_cs.c bool gen11_vdbox_has_sfc(struct intel_gt *gt, · line 605
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +10
-0+{ +struct drm_i915_private *i915 = gt->i915; +struct intel_gt_info *info = >->info; +unsigned int i; + +/* +* If all DSS in a quadrant are fused off, the corresponding CCS +* engine is not available for use. +*/ +if (fls (CCS_MASK (gt)) >1 ) {
I think it might make more sense to do a
if (GRAPHICS_VER_FULL(i915) < IP_VER(12, 50))
return;at the top of this function and then omit the fls() condition here. Xe_HP platforms that have compute engines will all have four CCS engines listed in the device info structure, and then the logic below will take care of adjusting that based on fusing; I'll include that change when I resend the series.
Matt
Quoted 81 lines
drivers/gpu/drm/i915/gt/intel_engine_cs.c +14
-0+int ss_per_ccs = info->sseu.max_subslices /I915_MAX_CCS ; +const unsigned long ccs_mask =intel_slicemask_from_dssmask ( +intel_sseu_get_compute_subslices (&info->sseu), + ss_per_ccs); + +for_each_clear_bit (i, &ccs_mask,I915_MAX_CCS ) { + info->engine_mask &= ~BIT (_CCS (i)); +drm_dbg (&i915->drm,"ccs%u fused off\n" , i); + } + } +} +/* * Determine which engines are fused off in our particular hardware. * Note that we have a catch-22 situation where we need to be able to access @@ -673,6 +696,8 @@ static intel_engine_mask_t init_engine_mask(struct intel_gt *gt) vebox_mask, VEBOX_MASK(gt));GEM_BUG_ON (vebox_mask !=VEBOX_MASK (gt)); +engine_mask_apply_compute_fuses (gt); +return info->engine_mask; }drivers/gpu/drm/i915/gt/intel_sseu.c +14
-3@@ -32,7 +32,9 @@ intel_sseu_subslice_total(const struct sseu_dev_info *sseu)return total; } -u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice) +static u32 +_intel_sseu_get_subslices (const struct sseu_dev_info *sseu, +const u8 *subslice_mask,u8 slice) {int i, offset = slice * sseu->ss_stride;u32 mask =0 ;@@ -40,12 +42,21 @@ u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice)GEM_BUG_ON (slice >= sseu->max_slices);for (i =0 ; i < sseu->ss_stride; i++) - mask |= (u32 )sseu->subslice_mask[offset + i] << - i *BITS_PER_BYTE ; + mask |= (u32 )subslice_mask[offset + i] << i *BITS_PER_BYTE ;return mask; } +u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice) +{ +return _intel_sseu_get_subslices (sseu, sseu->subslice_mask, slice); +} + +u32 intel_sseu_get_compute_subslices (const struct sseu_dev_info *sseu) +{ +return _intel_sseu_get_subslices (sseu, sseu->compute_subslice_mask,0 ); +} +void intel_sseu_set_subslices (struct sseu_dev_info *sseu,int slice,u8 *subslice_mask,u32 ss_mask) {drivers/gpu/drm/i915/gt/intel_sseu.h +3
-1@@ -103,7 +103,9 @@ intel_sseu_subslice_total(const struct sseu_dev_info *sseu);unsigned int intel_sseu_subslices_per_slice (const struct sseu_dev_info *sseu,u8 slice); -u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice); +u32 intel_sseu_get_subslices (const struct sseu_dev_info *sseu,u8 slice); + +u32 intel_sseu_get_compute_subslices (const struct sseu_dev_info *sseu);void intel_sseu_set_subslices (struct sseu_dev_info *sseu,int slice,u8 *subslice_mask,u32 ss_mask);Signature · 1 line
2.34.1
Signature · 5 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795
PATCH v2 12/13 drm/i915/xehp: Add compute workarounds
In reply to Matt RoperAdditional workarounds are required once we start exposing CCS engines.
Note that we have a number of workarounds that update registers in the shared render/compute reset domain. Historically we've just added such registers to the RCS engine's workaround list. But going forward we should be more careful to place such workarounds on a wa_list for an engine that definitely exists and is not fused off (e.g., a platform with no RCS would never apply the RCS wa_list). We'll keep rcs_engine_wa_init() focused on RCS-specific workarounds that only need to be applied if the RCS engine is present. A separate general_render_compute_wa_init() function will be used to define workarounds that touch registers in the shared render/compute reset domain and that we need to apply regardless of what render and/or compute engines actually exist. Any workarounds defined in this new function will internally be added to the first present RCS or CCS engine's workaround list to ensure they get applied (and only get applied once rather than being needlessly re-applied several times).
Co-author: Srinivasan Shanmugam
--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_lrc.c | 6 +++ drivers/gpu/drm/i915/gt/intel_workarounds.c | 47 +++++++++++++++++++++ 3 files changed, 54 insertions(+)
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1 -0
@@ -1060,6 +1060,7 @@#define FLOW_CONTROL_ENABLE REG_BIT(15)#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12) +#define SYSTOLIC_DOP_CLOCK_GATING_DIS REG_BIT(10)#define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE REG_BIT(8)#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define THROTTLE_12_5 REG_GENMASK(4, 2)
drivers/gpu/drm/i915/gt/intel_lrc.c +6 -0
@@ -1217,6 +1217,12 @@ gen12_emit_indirect_ctx_xcs(const struct intel_context *ce, u32 *cs) cs =gen12_emit_timestamp_wa (ce, cs); cs =gen12_emit_restore_scratch (ce, cs); +/* Wa_16013000631:dg2 */ +if (IS_DG2_GRAPHICS_STEP (ce->engine->i915,G10 ,STEP_B0 ,STEP_C0 ) || +IS_DG2_G11 (ce->engine->i915)) +if (ce->engine->class ==COMPUTE_CLASS ) + cs =gen8_emit_pipe_control (cs,PIPE_CONTROL_INSTRUCTION_CACHE_INVALIDATE ,0 ); +return cs; }
drivers/gpu/drm/i915/gt/intel_workarounds.c +47 -0
65 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 12/13] drm/i915/xehp: Add compute workarounds
Quoted 92 lines · Matt Roper
Additional workarounds are required once we start exposing CCS engines.
Note that we have a number of workarounds that update registers in the shared render/compute reset domain. Historically we've just added such registers to the RCS engine's workaround list. But going forward we should be more careful to place such workarounds on a
wa_listfor an engine that definitely exists and is not fused off (e.g., a platform with no RCS would never apply the RCSwa_list). We'll keeprcs_engine_wa_init()focused on RCS-specific workarounds that only need to be applied if the RCS engine is present. A separategeneral_render_compute_wa_init()function will be used to define workarounds that touch registers in the shared render/compute reset domain and that we need to apply regardless of what render and/or compute engines actually exist. Any workarounds defined in this new function will internally be added to the first present RCS or CCS engine's workaround list to ensure they get applied (and only get applied once rather than being needlessly re-applied several times).Co-author: Srinivasan Shanmugam
Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_lrc.c | 6 +++ drivers/gpu/drm/i915/gt/intel_workarounds.c | 47 +++++++++++++++++++++ 3 files changed, 54 insertions(+)drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0@@ -1060,6 +1060,7 @@#define FLOW_CONTROL_ENABLE REG_BIT(15)#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12) +#define SYSTOLIC_DOP_CLOCK_GATING_DIS REG_BIT(10)#define PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE REG_BIT(8)#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define THROTTLE_12_5 REG_GENMASK(4, 2)drivers/gpu/drm/i915/gt/intel_lrc.c +6
-0@@ -1217,6 +1217,12 @@ gen12_emit_indirect_ctx_xcs(const struct intel_context *ce, u32 *cs) cs =gen12_emit_timestamp_wa (ce, cs); cs =gen12_emit_restore_scratch (ce, cs); +/* Wa_16013000631:dg2 */ +if (IS_DG2_GRAPHICS_STEP (ce->engine->i915,G10 ,STEP_B0 ,STEP_C0 ) || +IS_DG2_G11 (ce->engine->i915)) +if (ce->engine->class ==COMPUTE_CLASS ) + cs =gen8_emit_pipe_control (cs,PIPE_CONTROL_INSTRUCTION_CACHE_INVALIDATE ,0 ); +return cs; }drivers/gpu/drm/i915/gt/intel_workarounds.c +22
-0@@ -1921,6 +1921,11 @@ static void dg2_whitelist_build(struct intel_engine_cs *engine) RING_FORCE_TO_NONPRIV_RANGE_4);break ; +case COMPUTE_CLASS : +/* Wa_16011157294:dg2_g10 */ +if (IS_DG2_GRAPHICS_STEP (engine->i915,G10 ,STEP_A0 ,STEP_B0 )) +whitelist_reg (w,GEN9_CTX_PREEMPT_REG ); +break ;default :break ; }@@ -2581,6 +2586,40 @@ xcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) } } +/* +* The workarounds in this function apply to shared registers in +* the general render reset domain that aren't tied to a +* specific engine. Since all render+compute engines get reset +* together, and the contents of these registers are lost during +* the shared render domain reset, we'll define such workarounds +* here and then add them to just a single RCS or CCS engine's +* workaround list (whichever engine has the XXXX flag). +*/ +static void +general_render_compute_wa_init (struct intel_engine_cs *engine,struct i915_wa_list *wal) +{ +struct drm_i915_private *i915 = engine->i915; + +if (IS_XEHPSDV (i915)) { +/* Wa_1409954639 */ + wa_masked_en(wal,
drivers/gpu/drm/i915/gt/intel_workarounds.c xcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) · line 2615
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_workarounds.c +10
-0+GEN8_ROW_CHICKEN , + SYSTOLIC_DOP_CLOCK_GATING_DIS); + +/* Wa_1607196519 */ +wa_masked_en (wal, +GEN9_ROW_CHICKEN4 , +GEN12_DISABLE_GRF_CLEAR ); + +/* Wa_14010670810:xehpsdv */ +wa_write_or (wal,XEHP_L3NODEARBCFG ,XEHP_LNESPARE );
These 2 WAs are also implemented for DG2 (with different IDs). Are you planning to move them over to this function as a follow up? All the WA implementations match the specs, so as long as there is a plan for DG2 this is:
Daniele
Quoted 25 lines
drivers/gpu/drm/i915/gt/intel_workarounds.c +15
-0+ +/* Wa_14010449647:xehpsdv */ +wa_masked_en (wal,GEN7_HALF_SLICE_CHICKEN1 , +GEN7_PSD_SINGLE_PORT_DISPATCH_ENABLE ); + } +} +static void engine_init_workarounds (struct intel_engine_cs *engine,struct i915_wa_list *wal) {@@ -2589,6 +2628,14 @@ engine_init_workarounds(struct intel_engine_cs *engine, struct i915_wa_list *walengine_fake_wa_init (engine, wal); +/* +* These are common workarounds that just need to applied +* to a single RCS/CCS engine's workaround list since +* they're reset as part of the general render domain reset. +*/ +if (engine->class ==RENDER_CLASS ) +general_render_compute_wa_init (engine, wal); +if (engine->class ==RENDER_CLASS )rcs_engine_wa_init (engine, wal);else
PATCH v2 13/13 drm/i915/xehpsdv: Move render/compute engine reset domains related workarounds
In reply to Matt RoperFrom: Srinivasan Shanmugam <[email protected]>
Registers that exist in the shared render/compute reset domain need to be placed on an engine workaround list to ensure that they are properly re-applied whenever an RCS or CCS engine is reset. We have a number of workarounds (updating registers MLTICTXCTL, L3SQCREG1_CCS0, GEN12_MERT_MOD_CTRL, and GEN12_GAMCNTRL_CTRL) that are incorrectly implemented on the 'gt' workaround list and need to be moved accordingly.
--- drivers/gpu/drm/i915/gt/intel_workarounds.c | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-)
drivers/gpu/drm/i915/gt/intel_workarounds.c +13 -13
@@ -1343,12 +1343,6 @@ xehpsdv_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal)/* Wa_1409757795:xehpsdv */ wa_write_or (wal,SCCGCTL94DC ,CG3DDISURB ); -/* Wa_18011725039:xehpsdv */ -if (IS_XEHPSDV_GRAPHICS_STEP (i915,STEP_A1 ,STEP_B0 )) { -wa_masked_dis (wal,MLTICTXCTL ,TDONRENDER ); -wa_write_or (wal,L3SQCREG1_CCS0 ,FLUSHALLNONCOH ); - } -/* Wa_16011155590:xehpsdv */ if (IS_XEHPSDV_GRAPHICS_STEP (i915,STEP_A0 ,STEP_B0 )) wa_write_or(wal, UNSLICE_UNIT_LEVEL_CLKGATE,
@@ -1385,19 +1379,12 @@ xehpsdv_gt_workarounds_init(struct intel_gt *gt, struct i915_wa_list *wal) GAMTLBVEBOX0_CLKGATE_DIS); } -/* Wa_14012362059:xehpsdv */ -wa_write_or (wal,GEN12_MERT_MOD_CTRL ,FORCE_MISS_FTLB ); -/* Wa_16012725990:xehpsdv */ if (IS_XEHPSDV_GRAPHICS_STEP (i915,STEP_A1 ,STEP_FOREVER ))wa_write_or (wal,UNSLICE_UNIT_LEVEL_CLKGATE ,VFUNIT_CLKGATE_DIS );/* Wa_14011060649:xehpsdv */ wa_14011060649 (gt, wal); - -/* Wa_14014368820:xehpsdv */ -wa_write_or (wal,GEN12_GAMCNTRL_CTRL ,INVALIDATION_BROADCAST_MODE_DIS | -GLOBAL_INVALIDATION_MODE ); } static void
@@ -2617,6 +2604,19 @@ general_render_compute_wa_init(struct intel_engine_cs *engine, struct i915_wa_li/* Wa_14010449647:xehpsdv */ wa_masked_en (wal,GEN7_HALF_SLICE_CHICKEN1 ,GEN7_PSD_SINGLE_PORT_DISPATCH_ENABLE ); + +/* Wa_18011725039:xehpsdv */ +if (IS_XEHPSDV_GRAPHICS_STEP (i915,STEP_A1 ,STEP_B0 )) { +wa_masked_dis (wal,MLTICTXCTL ,TDONRENDER ); +wa_write_or (wal,L3SQCREG1_CCS0 ,FLUSHALLNONCOH ); + } + +/* Wa_14012362059:xehpsdv */ +wa_write_or (wal,GEN12_MERT_MOD_CTRL ,FORCE_MISS_FTLB ); + +/* Wa_14014368820:xehpsdv */ +wa_write_or (wal,GEN12_GAMCNTRL_CTRL ,INVALIDATION_BROADCAST_MODE_DIS | +GLOBAL_INVALIDATION_MODE ); } }
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: Prepare for Xe_HP compute engines
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Prepare for Xe_HP compute engines
URL : https://patchwork.freedesktop.org/series/100833/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
aeab2e429058 drm/i915/xehp: Define compute class and engine
794deed65cd5 drm/i915/xehp: CCS shares the render reset domain
83e3525cfb56 drm/i915/xehp: Add Compute CS IRQ handlers
c1e9139a6d18 drm/i915/xehp: compute engine pipe_control
-:97: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#97: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:231:
+#define PIPE_CONTROL_AMFS_FLUSH (1<<25) /* gen12+ */
^-:102: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV) #102: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:236:
+#define PIPE_CONTROL_GLOBAL_SNAPSHOT_RESET (1<<19)
^
-:104: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV) #104: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:238:
+#define PIPE_CONTROL_PSD_SYNC (1<<17) /* gen11+ */
^
total: 0 errors, 0 warnings, 3 checks, 95 lines checked25857870fcd9 drm/i915/xehp: CCS should use RCS setup functions4644209c10d6 drm/i915: Move context descriptor fields to intel_lrc.h a384c36be225 drm/i915/xehp: Define context scheduling attributes in lrc descriptor 4060c5ce8fe7 drm/i915/xehp/guc: enable compute engine inside GuC 8c2a3081039e drm/i915/xehp: Enable ccs/dual-ctx in RCU_MODEdee0a41826f5 drm/i915/xehp: Don't support parallel submission on compute / render -:44: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 23) #44: FILE: drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c:158:
+ if (class == COMPUTE_CLASS || class == RENDER_CLASS)
+ continue;
-:45: WARNING:TABSTOP: Statements should start on a tabstop #45: FILE: drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c:159:
+ continue;
total: 0 errors, 2 warnings, 0 checks, 26 lines checked e2d994ffd124 drm/i915/xehp: handle fused off CCS engines -:46: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #46: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:607:
+ const unsigned long ccs_mask = intel_slicemask_from_dssmask(
total: 0 errors, 0 warnings, 1 checks, 80 lines checked 2ea92310ad16 drm/i915/xehp: Add compute workarounds -:51: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #51: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:1224:
+ cs = gen8_emit_pipe_control(cs, PIPE_CONTROL_INSTRUCTION_CACHE_INVALIDATE, 0);
total: 0 errors, 1 warnings, 0 checks, 84 lines checked1d7e9a4c4f20 drm/i915/xehpsdv: Move render/compute engine reset domains related workarounds
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for i915: Prepare for Xe_HP compute engines
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Prepare for Xe_HP compute engines
URL : https://patchwork.freedesktop.org/series/100833/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for i915: Prepare for Xe_HP compute engines
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Prepare for Xe_HP compute engines
URL : https://patchwork.freedesktop.org/series/100833/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11300 -> Patchwork_22437
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/index.html
Participating hosts (46 -> 41)
------------------------------
Missing (5): shard-tglu fi-bsw-cyan shard-rkl shard-dg1 fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_22437 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@fork-compute0:
- fi-blb-e6850: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-blb-e6850/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][2] ([fdo#109271]) +17 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-snb-2600/igt@amdgpu/[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg1-5: [PASS][3] -> [FAIL][4] ([i915#4032])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-dg1-5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-dg1-5/igt@[email protected]
* igt@i915_selftest@live@gt_engines:
- bat-dg1-5: [PASS][5] -> [INCOMPLETE][6] ([i915#4418])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-dg1-5/igt@i915_selftest@live@gt_engines.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-dg1-5/igt@i915_selftest@live@gt_engines.html
* igt@kms_flip@basic-flip-vs-wf_vblank@a-edp1:
- bat-adlp-4: [PASS][7] -> [DMESG-WARN][8] ([i915#3576])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-adlp-4/igt@kms_flip@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-adlp-4/igt@kms_flip@[email protected]
* igt@runner@aborted:
- bat-dg1-5: NOTRUN -> [FAIL][9] ([i915#4312])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-dg1-5/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-glk-dsi: [DMESG-FAIL][10] ([i915#541]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-glk-dsi/igt@i915_selftest@live@gt_heartbeat.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-glk-dsi/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@hangcheck:
- bat-dg1-6: [DMESG-FAIL][12] ([i915#4494] / [i915#4957]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-dg1-6/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-dg1-6/igt@i915_selftest@[email protected]
- fi-snb-2600: [INCOMPLETE][14] ([i915#3921]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-snb-2600/igt@i915_selftest@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-snb-2600/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- fi-blb-e6850: [DMESG-FAIL][16] ([i915#5026]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-blb-e6850/igt@i915_selftest@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-blb-e6850/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@reset:
- {bat-rpls-2}: [INCOMPLETE][18] -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-rpls-2/igt@i915_selftest@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@kms_flip@basic-flip-vs-modeset@a-edp1:
- bat-adlp-4: [DMESG-WARN][20] ([i915#3576]) -> [PASS][21] +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/bat-adlp-4/igt@kms_flip@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/bat-adlp-4/igt@kms_flip@[email protected]
* igt@kms_force_connector_basic@force-connector-state:
- fi-cfl-8109u: [DMESG-WARN][22] ([i915#165]) -> [PASS][23] +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-cfl-8109u/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-cfl-8109u/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-cfl-8109u: [DMESG-WARN][24] ([i915#165] / [i915#295]) -> [PASS][25] +13 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-cfl-8109u/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-cfl-8109u/igt@[email protected]
#### Warnings ####
* igt@kms_psr@primary_page_flip:
- fi-skl-6600u: [FAIL][26] ([i915#4547]) -> [INCOMPLETE][27] ([i915#4547] / [i915#4838])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
* igt@runner@aborted:
- fi-skl-6600u: [FAIL][28] ([i915#4312]) -> [FAIL][29] ([i915#2722] / [i915#4312])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/fi-skl-6600u/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/fi-skl-6600u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4032]: https://gitlab.freedesktop.org/drm/intel/issues/4032
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4418]: https://gitlab.freedesktop.org/drm/intel/issues/4418
[i915#4494]: https://gitlab.freedesktop.org/drm/intel/issues/4494
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4838]: https://gitlab.freedesktop.org/drm/intel/issues/4838
[i915#4957]: https://gitlab.freedesktop.org/drm/intel/issues/4957
[i915#5026]: https://gitlab.freedesktop.org/drm/intel/issues/5026
[i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541
Build changes
-------------
* Linux: CI_DRM_11300 -> Patchwork_22437
CI-20190529: 20190529
CI_DRM_11300: 10eb9bc8729d3da3fe8f53c8e5b70b8a9a52b6e0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6361: 2372a4beb6a33c5f0799a4a8ccbb93794f52dbca @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22437: 1d7e9a4c4f201e14af93dfb74c9f161677dd73ee @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
1d7e9a4c4f20 drm/i915/xehpsdv: Move render/compute engine reset domains related workarounds 2ea92310ad16 drm/i915/xehp: Add compute workaroundse2d994ffd124 drm/i915/xehp: handle fused off CCS enginesdee0a41826f5 drm/i915/xehp: Don't support parallel submission on compute / render 8c2a3081039e drm/i915/xehp: Enable ccs/dual-ctx in RCU_MODE4060c5ce8fe7 drm/i915/xehp/guc: enable compute engine inside GuC a384c36be225 drm/i915/xehp: Define context scheduling attributes in lrc descriptor 4644209c10d6 drm/i915: Move context descriptor fields to intel_lrc.h 25857870fcd9 drm/i915/xehp: CCS should use RCS setup functionsc1e9139a6d18 drm/i915/xehp: compute engine pipe_control83e3525cfb56 drm/i915/xehp: Add Compute CS IRQ handlers794deed65cd5 drm/i915/xehp: CCS shares the render reset domainaeab2e429058 drm/i915/xehp: Define compute class and engine
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Prepare for Xe_HP compute engines
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Prepare for Xe_HP compute engines
URL : https://patchwork.freedesktop.org/series/100833/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11300_full -> Patchwork_22437_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_22437_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5}:
- {shard-rkl}: NOTRUN -> [SKIP][1] +8 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-rkl-1/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5.html
* {igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-b-edp-1-scaler-with-clipping-clamping}:
- shard-iclb: [PASS][2] -> [SKIP][3] +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb4/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-b-edp-1-scaler-with-clipping-clamping.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb3/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-b-edp-1-scaler-with-clipping-clamping.html
* {igt@kms_plane_scaling@upscale-with-rotation-factor-0-25@pipe-a-hdmi-a-3-upscale-with-rotation}:
- {shard-dg1}: NOTRUN -> [SKIP][4] +8 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-dg1-18/igt@kms_plane_scaling@upscale-with-rotation-factor-0-25@pipe-a-hdmi-a-3-upscale-with-rotation.html
New tests
---------
New tests have been introduced between CI_DRM_11300_full and Patchwork_22437_full:
### New IGT tests (1) ###
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-75@pipe-d-edp-1-planes-upscale-downscale:
- Statuses : 1 pass(s)
- Exec time: [1.28] s
Known issues
------------
Here are the changes found in Patchwork_22437_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_balancer@parallel-bb-first:
- shard-tglb: NOTRUN -> [DMESG-WARN][5] ([i915#5076])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@gem_exec_capture@pi@vcs0:
- shard-skl: NOTRUN -> [INCOMPLETE][6] ([i915#4547])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][7] -> [FAIL][8] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-glk5/igt@gem_exec_fair@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-kbl3/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@secure-non-root:
- shard-iclb: NOTRUN -> [SKIP][11] ([fdo#112283])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-skl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#2190])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-verify:
- shard-tglb: NOTRUN -> [SKIP][13] ([i915#4613])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@gem_pxp@create-regular-context-2:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#4270])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@gem_pxp@reject-modify-context-protection-off-3:
- shard-iclb: NOTRUN -> [SKIP][15] ([i915#4270])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@gem_render_copy@yf-tiled-to-vebox-x-tiled:
- shard-iclb: NOTRUN -> [SKIP][16] ([i915#768])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@[email protected]
* igt@gem_userptr_blits@coherency-sync:
- shard-tglb: NOTRUN -> [SKIP][17] ([fdo#110542])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@gem_userptr_blits@unsync-unmap-after-close:
- shard-tglb: NOTRUN -> [SKIP][18] ([i915#3297])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +6 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-apl7/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl6/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-apl: NOTRUN -> [DMESG-WARN][21] ([i915#1436] / [i915#716])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl3/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#2856])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
- shard-skl: [PASS][23] -> [DMESG-WARN][24] ([i915#1436] / [i915#716])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl9/igt@[email protected]
* igt@gen9_exec_parse@shadow-peek:
- shard-tglb: NOTRUN -> [SKIP][25] ([i915#2527] / [i915#2856]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][26] -> [FAIL][27] ([i915#454])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb4/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][28] ([i915#454])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#1937])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl6/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: [PASS][30] -> [WARN][31] ([i915#2681] / [i915#2684])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-tglb2/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb2/igt@[email protected]
* igt@i915_pm_rpm@modeset-pc8-residency-stress:
- shard-apl: NOTRUN -> [SKIP][32] ([fdo#109271]) +61 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl4/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][33] -> [INCOMPLETE][34] ([i915#3921])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-snb6/igt@i915_selftest@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-snb6/igt@i915_selftest@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110725] / [fdo#111614]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-apl: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#3777]) +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl4/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][37] ([fdo#111614])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-tglb: [PASS][38] -> [FAIL][39] ([i915#3743]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-tglb3/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb2/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#111615]) +2 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-iclb: NOTRUN -> [SKIP][41] ([fdo#110723])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][42] ([fdo#109278] / [i915#3886]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html
- shard-skl: NOTRUN -> [SKIP][43] ([fdo#109271] / [i915#3886])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][44] ([fdo#109271] / [i915#3886]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl4/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3689]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][46] ([fdo#109271] / [i915#3886])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl6/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-missing-ccs-buffer-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][47] ([fdo#111615] / [i915#3689]) +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@kms_ccs@pipe-c-missing-ccs-buffer-yf_tiled_ccs.html
* igt@kms_chamelium@hdmi-crc-multiple:
- shard-skl: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +3 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@kms_chamelium@hdmi-mode-timings:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109284] / [fdo#111827]) +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@[email protected]
* igt@kms_chamelium@vga-hpd-enable-disable-mode:
- shard-kbl: NOTRUN -> [SKIP][50] ([fdo#109271] / [fdo#111827]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl6/igt@[email protected]
* igt@kms_color@pipe-d-ctm-negative:
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#109278] / [i915#1149])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-5:
- shard-apl: NOTRUN -> [SKIP][52] ([fdo#109271] / [fdo#111827]) +7 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl4/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#109284] / [fdo#111827]) +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-tglb: NOTRUN -> [SKIP][54] ([i915#3116] / [i915#3299])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-iclb: NOTRUN -> [SKIP][55] ([fdo#109300] / [fdo#111066])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-max-size-sliding:
- shard-tglb: NOTRUN -> [SKIP][56] ([i915#3359])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][57] ([i915#3319])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-256x256-rapid-movement:
- shard-kbl: NOTRUN -> [SKIP][58] ([fdo#109271]) +24 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-offscreen:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109279] / [i915#3359]) +3 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][60] ([fdo#109274] / [fdo#111825]) +4 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-kbl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#533])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl6/igt@[email protected]
* igt@kms_dp_tiled_display@basic-test-pattern-with-chamelium:
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#3528])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-skl: [PASS][63] -> [FAIL][64] ([i915#79])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl4/igt@kms_flip@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-fences@a-edp1:
- shard-skl: [PASS][65] -> [DMESG-WARN][66] ([i915#1982]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl6/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@b-edp1:
- shard-skl: [PASS][67] -> [INCOMPLETE][68] ([i915#4839])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl10/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][69] -> [DMESG-WARN][70] ([i915#180]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-kbl6/igt@kms_flip@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-kbl4/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@b-edp1:
- shard-skl: [PASS][71] -> [FAIL][72] ([i915#2122]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl7/igt@kms_flip@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl10/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-upscaling:
- shard-iclb: NOTRUN -> [SKIP][73] ([i915#2587])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs-upscaling.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109280]) +11 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-blt:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#109280] / [fdo#111825]) +7 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-farfromfence-mmap-gtt:
- shard-skl: NOTRUN -> [SKIP][76] ([fdo#109271]) +43 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@kms_hdr@bpc-switch-dpms:
- shard-skl: [PASS][77] -> [FAIL][78] ([i915#1188])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl7/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl7/igt@[email protected]
* igt@kms_invalid_mode@clock-too-high:
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#4278])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][80] ([i915#1839])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_pipe_b_c_ivb@from-pipe-c-to-b-with-3-lanes:
- shard-tglb: NOTRUN -> [SKIP][81] ([fdo#109289]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence:
- shard-apl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#533])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl4/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-skl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#533])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][84] -> [FAIL][85] ([fdo#108145] / [i915#265])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl8/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl10/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-skl: NOTRUN -> [FAIL][86] ([fdo#108145] / [i915#265])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-d-constant-alpha-max:
- shard-iclb: NOTRUN -> [SKIP][87] ([fdo#109278]) +6 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@kms_plane_lowres@pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#111615] / [fdo#112054])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-none:
- shard-tglb: NOTRUN -> [SKIP][89] ([i915#3536]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-iclb: NOTRUN -> [SKIP][90] ([fdo#111068] / [i915#658])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#658])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: NOTRUN -> [SKIP][92] ([fdo#109441])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-tglb: NOTRUN -> [FAIL][93] ([i915#132] / [i915#3467])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb1/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][94] -> [SKIP][95] ([fdo#109441]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vrr@flipline:
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109502])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@nouveau_crc@pipe-b-source-outp-complete:
- shard-tglb: NOTRUN -> [SKIP][97] ([i915#2530]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@nouveau_crc@pipe-d-source-rg:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109278] / [i915#2530])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb8/igt@[email protected]
* igt@prime_nv_api@i915_nv_double_import:
- shard-tglb: NOTRUN -> [SKIP][99] ([fdo#109291]) +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@prime_nv_api@i915_nv_double_import.html
* igt@prime_nv_pcopy@test1_macro:
- shard-iclb: NOTRUN -> [SKIP][100] ([fdo#109291]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@prime_nv_pcopy@test1_macro.html
* igt@sysfs_clients@pidname:
- shard-iclb: NOTRUN -> [SKIP][101] ([i915#2994]) +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@sysfs_clients@recycle:
- shard-skl: NOTRUN -> [SKIP][102] ([fdo#109271] / [i915#2994])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl4/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@read:
- {shard-rkl}: [SKIP][103] ([i915#2582]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-rkl-5/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-rkl-6/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][105] ([i915#2481] / [i915#3070]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb6/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb7/igt@[email protected]
* igt@gem_exec_balancer@parallel-balancer:
- shard-iclb: [SKIP][107] ([i915#4525]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb7/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb4/igt@[email protected]
* igt@gem_exec_endless@dispatch@vecs0:
- {shard-tglu}: [INCOMPLETE][109] ([i915#3778]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-tglu-5/igt@gem_exec_endless@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglu-8/igt@gem_exec_endless@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][111] ([i915#2846]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-glk6/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-glk9/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [FAIL][113] ([i915#2842]) -> [PASS][114] +1 similar issue
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-iclb2/igt@gem_exec_fair@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-iclb6/igt@gem_exec_fair@[email protected]
- shard-tglb: [FAIL][115] ([i915#2842]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-tglb7/igt@gem_exec_fair@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [FAIL][117] ([i915#2842]) -> [PASS][118] +1 similar issue
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-apl6/igt@gem_exec_fair@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-apl7/igt@gem_exec_fair@[email protected]
* igt@gem_softpin@allocator-evict-all-engines:
- shard-glk: [FAIL][119] ([i915#4171]) -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-glk7/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-glk7/igt@[email protected]
* igt@i915_pm_rpm@basic-rte:
- {shard-rkl}: [SKIP][121] ([fdo#109308]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-rkl-5/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@modeset-lpsp:
- {shard-rkl}: [SKIP][123] ([i915#1397]) -> [PASS][124] +1 similar issue
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-rkl-2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rps@reset:
- {shard-dg1}: [FAIL][125] ([i915#3719]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-dg1-16/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-dg1-16/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-skl: [FAIL][127] ([i915#2521]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-skl1/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-skl1/igt@[email protected]
- shard-snb: [FAIL][129] ([i915#2521]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-snb5/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-snb7/igt@[email protected]
- shard-tglb: [FAIL][131] ([i915#2521]) -> [PASS][132]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-tglb2/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-tglb6/igt@[email protected]
* igt@kms_atomic@atomic_plane_damage:
- {shard-rkl}: [SKIP][133] ([i915#4098]) -> [PASS][134] +1 similar issue
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11300/shard-rkl-2/igt@kms_atomic@atomic_plane_damage.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/shard-rkl-6/igt@kms_atomic@atomic_plane_damage.html
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][135] ([i915#118])
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22437/index.html