drm/i915: Prepare for larger CSB status FIFO size
Subsystems (2)
PATCH 1/3 drm/i915: Prepare for larger CSB status FIFO size
Make csb entry count variable in preparation for larger CSB status FIFO size found on gen11+ hardware.
--- drivers/gpu/drm/i915/intel_engine_cs.c | 16 +++++++++------- drivers/gpu/drm/i915/intel_lrc.c | 24 +++++++++++++++++------- drivers/gpu/drm/i915/intel_lrc.h | 9 +++++---- drivers/gpu/drm/i915/intel_ringbuffer.h | 15 +++++++++------ 4 files changed, 40 insertions(+), 24 deletions(-)
drivers/gpu/drm/i915/intel_engine_cs.c +9 -7
@@ -1347,27 +1347,29 @@ static void intel_engine_print_registers(const struct intel_engine_cs *engine,unsigned int idx;u8 read, write; -drm_printf (m,"\tExeclist status: 0x%08x %08x\n" , +drm_printf (m,"\tExeclist status: 0x%08x %08x, entries %u\n" ,I915_READ (RING_EXECLIST_STATUS_LO (engine)), -I915_READ (RING_EXECLIST_STATUS_HI (engine))); +I915_READ (RING_EXECLIST_STATUS_HI (engine)), + execlists->csb_entries); read = execlists->csb_head; write =READ_ONCE (*execlists->csb_write);drm_printf (m,"\tExeclist CSB read %d, write %d [mmio:%d], tasklet queued? %s (%s)\n" , read, write, -GEN8_CSB_WRITE_PTR (I915_READ (RING_CONTEXT_STATUS_PTR (engine))), +I915_READ (RING_CONTEXT_STATUS_PTR (engine)) & +GEN11_CSB_WRITE_PTR_MASK ,yesno (test_bit (TASKLET_STATE_SCHED , &engine->execlists.tasklet.state)),enableddisabled (!atomic_read (&engine->execlists.tasklet.count))); -if (read >=GEN8_CSB_ENTRIES ) +if (read >= execlists->csb_entries) read =0 ; -if (write >=GEN8_CSB_ENTRIES ) +if (write >= execlists->csb_entries) write =0 ;if (read > write) - write +=GEN8_CSB_ENTRIES ; + write += execlists->csb_entries;while (read < write) { - idx = ++read %GEN8_CSB_ENTRIES ; + idx = ++read % execlists->csb_entries; drm_printf(m, "\tExeclist CSB[%d]: 0x%08x [mmio:0x%08x], context: %d [mmio:%d]\n", idx, hws[idx * 2],
drivers/gpu/drm/i915/intel_lrc.c +17 -7
@@ -767,6 +767,7 @@ execlists_cancel_port_requests(struct intel_engine_execlists * const execlists)static void reset_csb_pointers (struct intel_engine_execlists *execlists) { +u32 reset_val;/* * After a reset, the HW starts writing into CSB entry [0]. We * therefore have to set our HEAD pointer back one entry so that
@@ -776,8 +777,19 @@ static void reset_csb_pointers(struct intel_engine_execlists *execlists)* inline comparison of our cached head position against the last HW * write works even before the first interrupt. */ - execlists->csb_head = execlists->csb_write_reset; -WRITE_ONCE (*execlists->csb_write, execlists->csb_write_reset); + execlists->csb_head = execlists->csb_entries -1 ; + +if (execlists_mmio_mode (execlists)) { +const u32 mask = execlists->csb_entries ==GEN8_CSB_ENTRIES ? +GEN8_CSB_WRITE_PTR_MASK : +GEN11_CSB_WRITE_PTR_MASK ; + + reset_val =_MASKED_FIELD (mask, execlists->csb_head); + }else { + reset_val = execlists->csb_head; + } + +WRITE_ONCE (*execlists->csb_write, reset_val); }static void nop_submission_tasklet (unsigned long data)
@@ -895,7 +907,7 @@ static void process_csb(struct intel_engine_cs *engine)unsigned int status;unsigned int count; -if (++head ==GEN8_CSB_ENTRIES ) +if (++head == execlists->csb_entries) head =0 ;/*
@@ -2264,6 +2276,8 @@ static int logical_ring_init(struct intel_engine_cs *engine)upper_32_bits (ce->lrc_desc); } + execlists->csb_entries =GEN8_CSB_ENTRIES ; + execlists->csb_read = i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_PTR (engine));if (csb_force_mmio (i915)) {
@@ -2271,16 +2285,12 @@ static int logical_ring_init(struct intel_engine_cs *engine) (i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_BUF_LO (engine,0 ))); execlists->csb_write = (u32 __force *)execlists->csb_read; - execlists->csb_write_reset = -_MASKED_FIELD (GEN8_CSB_WRITE_PTR_MASK , -GEN8_CSB_ENTRIES -1 ); }else { execlists->csb_status = &engine->status_page.page_addr[I915_HWS_CSB_BUF0_INDEX ]; execlists->csb_write = &engine->status_page.page_addr[intel_hws_csb_write_index (i915)]; - execlists->csb_write_reset =GEN8_CSB_ENTRIES -1 ; }reset_csb_pointers (execlists);
drivers/gpu/drm/i915/intel_lrc.h +5 -4
@@ -55,10 +55,11 @@#define GEN8_CSB_PTR_MASK 0x7#define GEN8_CSB_READ_PTR_MASK (GEN8_CSB_PTR_MASK << 8)#define GEN8_CSB_WRITE_PTR_MASK (GEN8_CSB_PTR_MASK << 0) -#define GEN8_CSB_WRITE_PTR (csb_status) \ - (((csb_status) & GEN8_CSB_WRITE_PTR_MASK) >> 0) -#define GEN8_CSB_READ_PTR (csb_status) \ - (((csb_status) & GEN8_CSB_READ_PTR_MASK) >> 8) + +#define GEN11_CSB_ENTRIES 12 +#define GEN11_CSB_PTR_MASK 0xf +#define GEN11_CSB_READ_PTR_MASK (GEN11_CSB_PTR_MASK << 8) +#define GEN11_CSB_WRITE_PTR_MASK (GEN11_CSB_PTR_MASK << 0)enum {INTEL_CONTEXT_SCHEDULE_IN =0 ,
drivers/gpu/drm/i915/intel_ringbuffer.h +9 -6
@@ -339,13 +339,9 @@ struct intel_engine_execlists {u32 preempt_complete_status;/** -* @csb_write_reset: reset value for CSB write pointer -* -* As the CSB write pointer maybe either in HWSP or as a field -* inside an mmio register, we want to reprogram it slightly -* differently to avoid later confusion. +* @csb_entries: number of CSB entries */ -u32 csb_write_reset; +u8 csb_entries;/** * @csb_head: context status buffer head
@@ -714,6 +710,13 @@ execlists_is_active(const struct intel_engine_execlists *execlists,return test_bit (bit, (unsigned long *)&execlists->active); } +static inline bool +execlists_mmio_mode (const struct intel_engine_execlists *const execlists) +{ +return (unsigned long )execlists->csb_read == + (unsigned long )execlists->csb_write; +} +void execlists_user_begin (struct intel_engine_execlists *execlists,const struct execlist_port *port);void execlists_user_end (struct intel_engine_execlists *execlists);
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/3 drm/i915/icl: Switch to using 12 deep CSB status FIFO
Now when we can support variable csb fifo sizes, disable legacy mode. By disabling legacy we hope to get better hw testing coverage by assuming everyone else have switched over.
References: https://bugzilla.freedesktop.org/show_bug.cgi?id=108315
--- drivers/gpu/drm/i915/intel_lrc.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/intel_lrc.c +7 -11
@@ -1603,17 +1603,9 @@ static void enable_execlists(struct intel_engine_cs *engine)I915_WRITE (RING_HWSTAM (engine->mmio_base),0xffffffff ); -/* -* Make sure we're not enabling the new 12-deep CSB -* FIFO as that requires a slightly updated handling -* in the ctx switch irq. Since we're currently only -* using only 2 elements of the enhanced execlists the -* deeper FIFO it's not needed and it's not worth adding -* more statements to the irq handler to support it. -*/ if (INTEL_GEN (dev_priv) >=11 )I915_WRITE (RING_MODE_GEN7 (engine), -_MASKED_BIT_DISABLE (GEN11_GFX_DISABLE_LEGACY_MODE )); +_MASKED_BIT_ENABLE (GEN11_GFX_DISABLE_LEGACY_MODE ));else I915_WRITE (RING_MODE_GEN7 (engine),_MASKED_BIT_ENABLE (GFX_RUN_LIST_ENABLE ));
@@ -2276,10 +2268,14 @@ static int logical_ring_init(struct intel_engine_cs *engine)upper_32_bits (ce->lrc_desc); } - execlists->csb_entries =GEN8_CSB_ENTRIES ; - execlists->csb_read = i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_PTR (engine)); + +if (INTEL_GEN (engine->i915) >=11 ) + execlists->csb_entries =GEN11_CSB_ENTRIES ; +else + execlists->csb_entries =GEN8_CSB_ENTRIES ; +if (csb_force_mmio (i915)) { execlists->csb_status = (u32 __force *) (i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_BUF_LO (engine,0 )));
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/3 drm/i915: Assert the csb tail is within bounds
In reply to Mika KuoppalaMake sure that the tail we get from hardware fits within the bounds dictated by our count of csb entries.
--- drivers/gpu/drm/i915/intel_lrc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/intel_lrc.c +1 -0
@@ -888,6 +888,7 @@ static void process_csb(struct intel_engine_cs *engine)*/ head = execlists->csb_head; tail =READ_ONCE (*execlists->csb_write); +GEM_DEBUG_BUG_ON (tail >= execlists->csb_entries);GEM_TRACE ("%s cs-irq head=%d, tail=%d\n" , engine->name, head, tail);if (unlikely (head == tail))return ;
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/3] drm/i915: Assert the csb tail is within bounds
Quoting Mika Kuoppala (2018-11-27 17:38:45)
Quoted 15 lines
Make sure that the tail we get from hardware fits within the bounds dictated by our count of csb entries.
Cc Chris Wilson <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/i915/intel_lrc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/i915/intel_lrc.c +0
-0
drivers/gpu/drm/i915/intel_lrc.c static void process_csb(struct intel_engine_cs *engine) · line 892
Quoted 5 lines
drivers/gpu/drm/i915/intel_lrc.c +1
-0@@ -888,6 +888,7 @@ static void process_csb(struct intel_engine_cs *engine)*/ head = execlists->csb_head; tail =READ_ONCE (*execlists->csb_write); +GEM_DEBUG_BUG_ON (tail >= execlists->csb_entries);GEM_TRACE ("%s cs-irq head=%d, tail=%d\n" , engine->name, head, tail);
Apply the assert after the debug trace.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Mika Kuoppala (2018-11-27 17:38:43)
Quoted 13 lines
static void
reset_csb_pointers(struct intel_engine_execlists *execlists){drivers/gpu/drm/i915/intel_lrc.c +2
-2+u32 reset_val;/* * After a reset, the HW starts writing into CSB entry [0]. We * therefore have to set our HEAD pointer back one entry so that @@ -776,8 +777,19 @@ static void reset_csb_pointers(struct intel_engine_execlists *execlists)* inline comparison of our cached head position against the last HW * write works even before the first interrupt. */ - execlists->csb_head = execlists->csb_write_reset; -WRITE_ONCE (*execlists->csb_write, execlists->csb_write_reset); + execlists->csb_head = execlists->csb_entries -1 ;
drivers/gpu/drm/i915/intel_lrc.c static void reset_csb_pointers(struct intel_engine_execlists *execlists) · line 790
Quoted 10 lines
drivers/gpu/drm/i915/intel_lrc.c +10
-0+ +if (execlists_mmio_mode (execlists)) { +const u32 mask = execlists->csb_entries ==GEN8_CSB_ENTRIES ? +GEN8_CSB_WRITE_PTR_MASK : +GEN11_CSB_WRITE_PTR_MASK ; + + reset_val =_MASKED_FIELD (mask, execlists->csb_head); + }else { + reset_val = execlists->csb_head; + }
Think: did I need to change this?
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size
URL : https://patchwork.freedesktop.org/series/53096/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5211 -> Patchwork_10917 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/53096/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_10917 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_suspend@basic-s4-devices:
fi-ivb-3520m: PASS -> FAIL ([fdo#108880])
igt@i915_selftest@live_coherency:
fi-gdg-551: PASS -> DMESG-FAIL ([fdo#107164])
==== Possible fixes ====
igt@i915_module_load@reload:
fi-blb-e6850: INCOMPLETE ([fdo#107718]) -> PASS
igt@i915_selftest@live_hangcheck:
fi-cfl-8109u: INCOMPLETE ([fdo#106070]) -> PASS
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN ([fdo#102614]) -> PASS
igt@kms_pipe_crc_basic@read-crc-pipe-a:
fi-byt-clapper: FAIL ([fdo#107362]) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
fi-byt-clapper: FAIL ([fdo#103191], [fdo#107362]) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-cfl-8109u: DMESG-WARN ([fdo#106107]) -> PASS fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#106070 https://bugs.freedesktop.org/show_bug.cgi?id=106070
fdo#106107 https://bugs.freedesktop.org/show_bug.cgi?id=106107
fdo#107164 https://bugs.freedesktop.org/show_bug.cgi?id=107164
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#108880 https://bugs.freedesktop.org/show_bug.cgi?id=108880
== Participating hosts (51 -> 45) ==
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-snb-2600
== Build changes ==
* Linux: CI_DRM_5211 -> Patchwork_10917
CI_DRM_5211: b6ba4ad91b7c6c4341c40a05b0326470e0c293cb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4732: eae5c3587e56abc581af9b59060cd316df2caa08 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10917: 237214ef4edbf9418187688d4e9fd5994ce2662d @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
237214ef4edb drm/i915: Assert the csb tail is within bounds fc7285048942 drm/i915/icl: Switch to using 12 deep CSB status FIFO 72334c0aa634 drm/i915: Prepare for larger CSB status FIFO size
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10917/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines · Mika Kuoppala
Make csb entry count variable in preparation for larger CSB status FIFO size found on gen11+ hardware.
Note that not all registers in the 12-deep CSB fifo are in a contiguous range, the new ones (6-11) start at mmio_base + 0x3C0 (Bspec: 11724). If we read contiguously we'll access the registers that are in between the 2 CSB ranges (e.g. RING_CONTEXT_STATUS_PTR). Not a real issue for us since we always read from HWSP where the CSBs are contiguous, but we need to at least update intel_engine_print_registers(). Also not sure if GVT still needs the MMIO mode, if not we could maybe just rip it out instead of adapting it.
Daniele
Quoted 165 lines
Cc Chris Wilson <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/i915/intel_engine_cs.c | 16 +++++++++------- drivers/gpu/drm/i915/intel_lrc.c | 24 +++++++++++++++++------- drivers/gpu/drm/i915/intel_lrc.h | 9 +++++---- drivers/gpu/drm/i915/intel_ringbuffer.h | 15 +++++++++------ 4 files changed, 40 insertions(+), 24 deletions(-)drivers/gpu/drm/i915/intel_engine_cs.c +9
-7@@ -1347,27 +1347,29 @@ static void intel_engine_print_registers(const struct intel_engine_cs *engine,unsigned int idx;u8 read, write; -drm_printf (m,"\tExeclist status: 0x%08x %08x\n" , +drm_printf (m,"\tExeclist status: 0x%08x %08x, entries %u\n" ,I915_READ (RING_EXECLIST_STATUS_LO (engine)), -I915_READ (RING_EXECLIST_STATUS_HI (engine))); +I915_READ (RING_EXECLIST_STATUS_HI (engine)), + execlists->csb_entries); read = execlists->csb_head; write =READ_ONCE (*execlists->csb_write);drm_printf (m,"\tExeclist CSB read %d, write %d [mmio:%d], tasklet queued? %s (%s)\n" , read, write, -GEN8_CSB_WRITE_PTR (I915_READ (RING_CONTEXT_STATUS_PTR (engine))), +I915_READ (RING_CONTEXT_STATUS_PTR (engine)) & +GEN11_CSB_WRITE_PTR_MASK ,yesno (test_bit (TASKLET_STATE_SCHED , &engine->execlists.tasklet.state)),enableddisabled (!atomic_read (&engine->execlists.tasklet.count))); -if (read >=GEN8_CSB_ENTRIES ) +if (read >= execlists->csb_entries) read =0 ; -if (write >=GEN8_CSB_ENTRIES ) +if (write >= execlists->csb_entries) write =0 ;if (read > write) - write +=GEN8_CSB_ENTRIES ; + write += execlists->csb_entries;while (read < write) { - idx = ++read %GEN8_CSB_ENTRIES ; + idx = ++read % execlists->csb_entries; drm_printf(m, "\tExeclist CSB[%d]: 0x%08x [mmio:0x%08x], context: %d [mmio:%d]\n", idx, hws[idx * 2],drivers/gpu/drm/i915/intel_lrc.c +17
-7@@ -767,6 +767,7 @@ execlists_cancel_port_requests(struct intel_engine_execlists * const execlists)static void reset_csb_pointers (struct intel_engine_execlists *execlists) { +u32 reset_val;/* * After a reset, the HW starts writing into CSB entry [0]. We * therefore have to set our HEAD pointer back one entry so that @@ -776,8 +777,19 @@ static void reset_csb_pointers(struct intel_engine_execlists *execlists)* inline comparison of our cached head position against the last HW * write works even before the first interrupt. */ - execlists->csb_head = execlists->csb_write_reset; -WRITE_ONCE (*execlists->csb_write, execlists->csb_write_reset); + execlists->csb_head = execlists->csb_entries -1 ; + +if (execlists_mmio_mode (execlists)) { +const u32 mask = execlists->csb_entries ==GEN8_CSB_ENTRIES ? +GEN8_CSB_WRITE_PTR_MASK : +GEN11_CSB_WRITE_PTR_MASK ; + + reset_val =_MASKED_FIELD (mask, execlists->csb_head); + }else { + reset_val = execlists->csb_head; + } + +WRITE_ONCE (*execlists->csb_write, reset_val); }static void nop_submission_tasklet (unsigned long data)@@ -895,7 +907,7 @@ static void process_csb(struct intel_engine_cs *engine)unsigned int status;unsigned int count; -if (++head ==GEN8_CSB_ENTRIES ) +if (++head == execlists->csb_entries) head =0 ;/* @@ -2264,6 +2276,8 @@ static int logical_ring_init(struct intel_engine_cs *engine)upper_32_bits (ce->lrc_desc); } + execlists->csb_entries =GEN8_CSB_ENTRIES ; + execlists->csb_read = i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_PTR (engine));if (csb_force_mmio (i915)) {@@ -2271,16 +2285,12 @@ static int logical_ring_init(struct intel_engine_cs *engine) (i915->regs +i915_mmio_reg_offset (RING_CONTEXT_STATUS_BUF_LO (engine,0 ))); execlists->csb_write = (u32 __force *)execlists->csb_read; - execlists->csb_write_reset = -_MASKED_FIELD (GEN8_CSB_WRITE_PTR_MASK , -GEN8_CSB_ENTRIES -1 ); }else { execlists->csb_status = &engine->status_page.page_addr[I915_HWS_CSB_BUF0_INDEX ]; execlists->csb_write = &engine->status_page.page_addr[intel_hws_csb_write_index (i915)]; - execlists->csb_write_reset =GEN8_CSB_ENTRIES -1 ; }reset_csb_pointers (execlists);drivers/gpu/drm/i915/intel_lrc.h +5
-4@@ -55,10 +55,11 @@#define GEN8_CSB_PTR_MASK 0x7#define GEN8_CSB_READ_PTR_MASK (GEN8_CSB_PTR_MASK << 8)#define GEN8_CSB_WRITE_PTR_MASK (GEN8_CSB_PTR_MASK << 0) -#define GEN8_CSB_WRITE_PTR (csb_status) \ - (((csb_status) & GEN8_CSB_WRITE_PTR_MASK) >> 0) -#define GEN8_CSB_READ_PTR (csb_status) \ - (((csb_status) & GEN8_CSB_READ_PTR_MASK) >> 8) + +#define GEN11_CSB_ENTRIES 12 +#define GEN11_CSB_PTR_MASK 0xf +#define GEN11_CSB_READ_PTR_MASK (GEN11_CSB_PTR_MASK << 8) +#define GEN11_CSB_WRITE_PTR_MASK (GEN11_CSB_PTR_MASK << 0)enum {INTEL_CONTEXT_SCHEDULE_IN =0 ,drivers/gpu/drm/i915/intel_ringbuffer.h +2
-6@@ -339,13 +339,9 @@ struct intel_engine_execlists {u32 preempt_complete_status;/** -* @csb_write_reset: reset value for CSB write pointer -* -* As the CSB write pointer maybe either in HWSP or as a field -* inside an mmio register, we want to reprogram it slightly -* differently to avoid later confusion. +* @csb_entries: number of CSB entries */ -u32 csb_write_reset; +u8 csb_entries;/** * @csb_head: context status buffer head @@ -714,6 +710,13 @@ execlists_is_active(const struct intel_engine_execlists *execlists,return test_bit (bit, (unsigned long *)&execlists->active); }
drivers/gpu/drm/i915/intel_ringbuffer.h execlists_is_active(const struct intel_engine_execlists *execlists, · line 722
Quoted 10 lines
drivers/gpu/drm/i915/intel_ringbuffer.h +7
-0+static inline bool +execlists_mmio_mode (const struct intel_engine_execlists *const execlists) +{ +return (unsigned long )execlists->csb_read == + (unsigned long )execlists->csb_write; +} +void execlists_user_begin (struct intel_engine_execlists *execlists,const struct execlist_port *port);void execlists_user_end (struct intel_engine_execlists *execlists);
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: series starting with [1/3] drm/i915: Prepare for larger CSB status FIFO size
URL : https://patchwork.freedesktop.org/series/53096/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5211_full -> Patchwork_10917_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_10917_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10917_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10917_full:
=== IGT changes ===
==== Warnings ====
igt@kms_chv_cursor_fail@pipe-b-64x64-top-edge:
shard-snb: SKIP -> PASS
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: SKIP -> PASS== Known issues ==
Here are the changes found in Patchwork_10917_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_schedule@pi-ringfull-blt:
shard-skl: NOTRUN -> FAIL ([fdo#103158])
igt@gem_exec_schedule@pi-ringfull-vebox:
{shard-iclb}: NOTRUN -> FAIL ([fdo#103158])
igt@gem_ppgtt@blt-vs-render-ctxn:
shard-skl: PASS -> TIMEOUT ([fdo#108039])
igt@kms_atomic_transition@1x-modeset-transitions-fencing:
shard-skl: NOTRUN -> FAIL ([fdo#108470])
igt@kms_available_modes_crc@available_mode_test_crc:
shard-apl: PASS -> FAIL ([fdo#106641])
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-c:
shard-skl: NOTRUN -> DMESG-WARN ([fdo#107956])
igt@kms_color@pipe-a-ctm-max:
shard-apl: PASS -> FAIL ([fdo#108147])
igt@kms_cursor_crc@cursor-256x256-dpms:
shard-glk: PASS -> FAIL ([fdo#103232]) +2
igt@kms_cursor_crc@cursor-256x85-onscreen:
shard-apl: PASS -> FAIL ([fdo#103232]) +2
igt@kms_cursor_crc@cursor-64x21-random:
{shard-iclb}: NOTRUN -> FAIL ([fdo#103232])
igt@kms_draw_crc@draw-method-xrgb2101010-mmap-wc-untiled:
shard-skl: PASS -> FAIL ([fdo#103184], [fdo#103232])
igt@kms_fbcon_fbt@fbc-suspend:
shard-skl: PASS -> INCOMPLETE ([fdo#104108], [fdo#107773])
igt@kms_flip@flip-vs-expired-vblank:
shard-glk: PASS -> FAIL ([fdo#102887], [fdo#105363])
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-skl: PASS -> FAIL ([fdo#105363])
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen:
shard-apl: PASS -> FAIL ([fdo#103167]) +1
igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite:
shard-skl: NOTRUN -> FAIL ([fdo#103167])
igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-wc:
{shard-iclb}: PASS -> FAIL ([fdo#103167]) +2
igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render:
shard-skl: NOTRUN -> FAIL ([fdo#105682]) +1
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
shard-skl: NOTRUN -> FAIL ([fdo#103191], [fdo#107362])
igt@kms_plane@plane-position-covered-pipe-c-planes:
{shard-iclb}: NOTRUN -> FAIL ([fdo#103166])
igt@kms_plane_alpha_blend@pipe-a-alpha-transparant-fb:
shard-skl: NOTRUN -> FAIL ([fdo#108145])
igt@kms_plane_multiple@atomic-pipe-b-tiling-x:
shard-glk: PASS -> FAIL ([fdo#103166]) +3
igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
shard-apl: PASS -> FAIL ([fdo#103166]) +1
{shard-iclb}: PASS -> FAIL ([fdo#103166])
igt@kms_rotation_crc@primary-rotation-90:
shard-skl: NOTRUN -> FAIL ([fdo#103925], [fdo#107815])
igt@pm_rpm@dpms-mode-unset-non-lpsp:
{shard-iclb}: SKIP -> INCOMPLETE ([fdo#108840])
igt@pm_rpm@gem-idle:
{shard-iclb}: PASS -> INCOMPLETE ([fdo#107713], [fdo#108840]) +1
igt@pm_rpm@gem-mmap-cpu:
{shard-iclb}: PASS -> INCOMPLETE ([fdo#108840])
==== Possible fixes ====
igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
shard-snb: DMESG-WARN ([fdo#107956]) -> PASS
igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-c:
shard-kbl: DMESG-WARN ([fdo#107956]) -> PASS +1
igt@kms_chv_cursor_fail@pipe-a-128x128-bottom-edge:
shard-skl: FAIL ([fdo#104671]) -> PASS
igt@kms_color@pipe-a-legacy-gamma:
shard-skl: FAIL ([fdo#104782], [fdo#108145]) -> PASS
igt@kms_cursor_crc@cursor-64x64-dpms:
shard-apl: FAIL ([fdo#103232]) -> PASS +1
igt@kms_cursor_crc@cursor-64x64-offscreen:
shard-skl: FAIL ([fdo#103232]) -> PASS +1
igt@kms_cursor_legacy@cursora-vs-flipa-toggle:
shard-glk: DMESG-WARN ([fdo#105763], [fdo#106538]) -> PASS
igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-xtiled:
shard-glk: FAIL ([fdo#103184]) -> PASS
igt@kms_flip@flip-vs-expired-vblank:
shard-skl: FAIL ([fdo#105363]) -> PASS
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-apl: FAIL ([fdo#102887], [fdo#105363]) -> PASS
igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt:
shard-skl: FAIL ([fdo#105682]) -> PASS
igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-gtt:
shard-skl: FAIL ([fdo#103167]) -> PASS +4
igt@kms_plane@plane-position-covered-pipe-c-planes:
shard-apl: FAIL ([fdo#103166]) -> PASS
igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
shard-skl: FAIL ([fdo#107815], [fdo#108145]) -> PASS
igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
{shard-iclb}: FAIL ([fdo#103166]) -> PASS +1
igt@kms_setmode@basic:
shard-kbl: FAIL ([fdo#99912]) -> PASS
igt@pm_rpm@fences-dpms:
shard-skl: INCOMPLETE ([fdo#107807]) -> PASS +1
igt@pm_rpm@system-suspend-execbuf:
shard-kbl: INCOMPLETE ([fdo#103665], [fdo#107807]) -> PASS
==== Warnings ====
igt@i915_suspend@shrink:
shard-glk: DMESG-WARN ([fdo#108784]) -> INCOMPLETE ([fdo#103359], [fdo#106886], [k.org#198133]) {name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103158 https://bugs.freedesktop.org/show_bug.cgi?id=103158
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103184 https://bugs.freedesktop.org/show_bug.cgi?id=103184
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103232 https://bugs.freedesktop.org/show_bug.cgi?id=103232
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#104108 https://bugs.freedesktop.org/show_bug.cgi?id=104108
fdo#104671 https://bugs.freedesktop.org/show_bug.cgi?id=104671
fdo#104782 https://bugs.freedesktop.org/show_bug.cgi?id=104782
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105682 https://bugs.freedesktop.org/show_bug.cgi?id=105682
fdo#105763 https://bugs.freedesktop.org/show_bug.cgi?id=105763
fdo#106538 https://bugs.freedesktop.org/show_bug.cgi?id=106538
fdo#106641 https://bugs.freedesktop.org/show_bug.cgi?id=106641
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107713 https://bugs.freedesktop.org/show_bug.cgi?id=107713
fdo#107773 https://bugs.freedesktop.org/show_bug.cgi?id=107773
fdo#107807 https://bugs.freedesktop.org/show_bug.cgi?id=107807
fdo#107815 https://bugs.freedesktop.org/show_bug.cgi?id=107815
fdo#107956 https://bugs.freedesktop.org/show_bug.cgi?id=107956
fdo#108039 https://bugs.freedesktop.org/show_bug.cgi?id=108039
fdo#108145 https://bugs.freedesktop.org/show_bug.cgi?id=108145
fdo#108147 https://bugs.freedesktop.org/show_bug.cgi?id=108147
fdo#108470 https://bugs.freedesktop.org/show_bug.cgi?id=108470
fdo#108784 https://bugs.freedesktop.org/show_bug.cgi?id=108784
fdo#108840 https://bugs.freedesktop.org/show_bug.cgi?id=108840
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133
== Participating hosts (7 -> 7) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_5211 -> Patchwork_10917
CI_DRM_5211: b6ba4ad91b7c6c4341c40a05b0326470e0c293cb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4732: eae5c3587e56abc581af9b59060cd316df2caa08 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10917: 237214ef4edbf9418187688d4e9fd5994ce2662d @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10917/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx