drm/i915: Consolidate TLB invalidation flow
Subsystems (2)
PATCH v5 1/1 drm/i915: Consolidate TLB invalidation flow
From: Tvrtko Ursulin <[email protected]>
As the logic for selecting the register and corresponsing values grew, the code become a bit unsightly. Consolidate by storing the required values at engine init time in the engine itself, and by doing so minimise the amount of invariant platform and engine checks during each and every TLB invalidation.
v2:
* Fail engine probe if TLB invlidations registers are unknown.
v3:
* Rebase.
v4:
* Fix handling of GEN8_M2TCR. (Andrzej)
v5:
* Tidy checkpatch warnings.
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 97 +++++++++++++ drivers/gpu/drm/i915/gt/intel_engine_types.h | 14 ++ drivers/gpu/drm/i915/gt/intel_gt.c | 138 +++---------------- 3 files changed, 133 insertions(+), 116 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +97 -0
@@ -9,6 +9,7 @@#include "gem/i915_gem_context.h" #include "gem/i915_gem_internal.h" +#include "gt/intel_gt_print.h" #include "gt/intel_gt_regs.h" #include "i915_cmd_parser.h"
@@ -1143,12 +1144,108 @@ static int init_status_page(struct intel_engine_cs *engine)return ret; } +static int intel_engine_init_tlb_invalidation (struct intel_engine_cs *engine) +{ +static const union intel_engine_tlb_inv_reg gen8_regs[] = { + [RENDER_CLASS ].reg =GEN8_RTCR , + [VIDEO_DECODE_CLASS ].reg =GEN8_M1TCR ,/* , GEN8_M2TCR */ + [VIDEO_ENHANCEMENT_CLASS ].reg =GEN8_VTCR , + [COPY_ENGINE_CLASS ].reg =GEN8_BTCR , + }; +static const union intel_engine_tlb_inv_reg gen12_regs[] = { + [RENDER_CLASS ].reg =GEN12_GFX_TLB_INV_CR , + [VIDEO_DECODE_CLASS ].reg =GEN12_VD_TLB_INV_CR , + [VIDEO_ENHANCEMENT_CLASS ].reg =GEN12_VE_TLB_INV_CR , + [COPY_ENGINE_CLASS ].reg =GEN12_BLT_TLB_INV_CR , + [COMPUTE_CLASS ].reg =GEN12_COMPCTX_TLB_INV_CR , + }; +static const union intel_engine_tlb_inv_reg xehp_regs[] = { + [RENDER_CLASS ].mcr_reg =XEHP_GFX_TLB_INV_CR , + [VIDEO_DECODE_CLASS ].mcr_reg =XEHP_VD_TLB_INV_CR , + [VIDEO_ENHANCEMENT_CLASS ].mcr_reg =XEHP_VE_TLB_INV_CR , + [COPY_ENGINE_CLASS ].mcr_reg =XEHP_BLT_TLB_INV_CR , + [COMPUTE_CLASS ].mcr_reg =XEHP_COMPCTX_TLB_INV_CR , + }; +struct drm_i915_private *i915 = engine->i915; +const unsigned int instance = engine->instance; +const unsigned int class = engine->class; +const union intel_engine_tlb_inv_reg *regs; +union intel_engine_tlb_inv_reg reg; +unsigned int num =0 ; +u32 val; + +/* +* New platforms should not be added with catch-all-newer (>=) +* condition so that any later platform added triggers the below warning +* and in turn mandates a human cross-check of whether the invalidation +* flows have compatible semantics. +* +* For instance with the 11.00 -> 12.00 transition three out of five +* respective engine registers were moved to masked type. Then after the +* 12.00 -> 12.50 transition multi cast handling is required too. +*/ + +if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,50 ) || +GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,55 )) { + regs = xehp_regs; + num =ARRAY_SIZE (xehp_regs); + }else if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,0 ) || +GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,10 )) { + regs = gen12_regs; + num =ARRAY_SIZE (gen12_regs); + }else if (GRAPHICS_VER (i915) >=8 &&GRAPHICS_VER (i915) <=11 ) { + regs = gen8_regs; + num =ARRAY_SIZE (gen8_regs); + }else if (GRAPHICS_VER (i915) <8 ) { +return 0 ; + } + +if (gt_WARN_ONCE (engine->gt, !num, +"Platform does not implement TLB invalidation!" )) +return -ENODEV ; + +if (gt_WARN_ON_ONCE (engine->gt, + class >= num || + (!regs[class].reg.reg && + !regs[class].mcr_reg.reg))) +return -ERANGE ; + + reg = regs[class]; + +if (regs == gen8_regs && class ==VIDEO_DECODE_CLASS && instance ==1 ) { + reg.reg =GEN8_M2TCR ; + val =0 ; + }else { + val = instance; + } + + val =BIT (val); + + engine->tlb_inv.mcr = regs == xehp_regs; + engine->tlb_inv.reg = reg; + engine->tlb_inv.done = val; + +if (GRAPHICS_VER (i915) >=12 && + (engine->class ==VIDEO_DECODE_CLASS || + engine->class ==VIDEO_ENHANCEMENT_CLASS || + engine->class ==COMPUTE_CLASS )) + engine->tlb_inv.request =_MASKED_BIT_ENABLE (val); +else + engine->tlb_inv.request = val; + +return 0 ; +} +static int engine_setup_common (struct intel_engine_cs *engine) {int err;init_llist_head (&engine->barrier_tasks); + err =intel_engine_init_tlb_invalidation (engine); +if (err) +return err; + err =init_status_page (engine);if (err)return err;
drivers/gpu/drm/i915/gt/intel_engine_types.h +14 -0
@@ -341,6 +341,18 @@ struct intel_engine_guc_stats {u64 start_gt_clk; }; +union intel_engine_tlb_inv_reg { +i915_reg_t reg; +i915_mcr_reg_t mcr_reg; +}; + +struct intel_engine_tlb_inv { +bool mcr; +union intel_engine_tlb_inv_reg reg; +u32 request; +u32 done; +}; +struct intel_engine_cs {struct drm_i915_private *i915;struct intel_gt *gt;
@@ -372,6 +384,8 @@ struct intel_engine_cs {u32 context_size;u32 mmio_base; +struct intel_engine_tlb_inv tlb_inv; +/* * Some w/a require forcewake to be held (which prevents RC6) while * a particular engine is active. If so, we set fw_domain to which
drivers/gpu/drm/i915/gt/intel_gt.c +22 -116
183 lines not on this page · raw message
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Consolidate TLB invalidation flow (rev4)
== Series Details ==
== Series Details ==
Series: drm/i915: Consolidate TLB invalidation flow (rev4)
URL : https://patchwork.freedesktop.org/series/113563/
State : warning
== Summary ==
Error: dim checkpatch failed229b87b1e195 drm/i915: Consolidate TLB invalidation flow -:29: WARNING:BAD_SIGN_OFF: Duplicate signature #29:
total: 0 errors, 1 warnings, 0 checks, 324 lines checked
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Consolidate TLB invalidation flow (rev4)
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: drm/i915: Consolidate TLB invalidation flow (rev4)
URL : https://patchwork.freedesktop.org/series/113563/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12748 -> Patchwork_113563v4
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/index.html
Participating hosts (39 -> 38)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_113563v4 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@gt_pm:
- bat-rpls-2: [PASS][1] -> [DMESG-FAIL][2] ([i915#4258])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-FAIL][3] ([i915#6367] / [i915#6997])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-rpls-2: NOTRUN -> [SKIP][4] ([i915#7828])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-2/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-dg2-11/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-rpls-2: NOTRUN -> [SKIP][6] ([i915#1845])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-2/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][7] ([i915#5354])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@hangcheck:
- bat-dg2-11: [ABORT][8] ([i915#7913]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/bat-dg2-11/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-dg2-11/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][10] ([i915#4983]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/bat-rpls-2/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-2/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@i915_selftest@live@slpc:
- bat-rpls-1: [DMESG-FAIL][12] ([i915#6367] / [i915#7996]) -> [DMESG-FAIL][13] ([i915#6367] / [i915#6997])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/bat-rpls-1/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/bat-rpls-1/igt@i915_selftest@[email protected]
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* Linux: CI_DRM_12748 -> Patchwork_113563v4
CI-20190529: 20190529
CI_DRM_12748: 2d71e322ff387f05855e797efc6ccaf61dc4b80d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7160: 45da871dd2684227e93a2fc002b87dfc58bd5fd9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_113563v4: 2d71e322ff387f05855e797efc6ccaf61dc4b80d @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
a83d91c3293f drm/i915: Consolidate TLB invalidation flow
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/index.html
Quoted 17 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
As the logic for selecting the register and corresponsing values grew, the code become a bit unsightly. Consolidate by storing the required values at engine init time in the engine itself, and by doing so minimise the amount of invariant platform and engine checks during each and every TLB invalidation.
v2:
* Fail engine probe if TLB invlidations registers are unknown.v3:
* Rebase.v4:
* Fix handling ofGEN8_M2TCR. (Andrzej)
Quoted 8 lines
v5:
* Tidy checkpatch warnings.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Andrzej Hajda <[email protected]>Cc Matt Roper <[email protected]>Reviewed-by Andrzej Hajda <[email protected]> # v1Reviewed-by Matt Roper <[email protected]> # v3
for this version as well.
Matt
Quoted 356 lines
Signed-off-by Tvrtko Ursulin <[email protected]>--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 97 +++++++++++++ drivers/gpu/drm/i915/gt/intel_engine_types.h | 14 ++ drivers/gpu/drm/i915/gt/intel_gt.c | 138 +++---------------- 3 files changed, 133 insertions(+), 116 deletions(-)drivers/gpu/drm/i915/gt/intel_engine_cs.c +97
-0@@ -9,6 +9,7 @@#include "gem/i915_gem_context.h" #include "gem/i915_gem_internal.h" +#include "gt/intel_gt_print.h" #include "gt/intel_gt_regs.h" #include "i915_cmd_parser.h" @@ -1143,12 +1144,108 @@ static int init_status_page(struct intel_engine_cs *engine)return ret; } +static int intel_engine_init_tlb_invalidation (struct intel_engine_cs *engine) +{ +static const union intel_engine_tlb_inv_reg gen8_regs[] = { + [RENDER_CLASS ].reg =GEN8_RTCR , + [VIDEO_DECODE_CLASS ].reg =GEN8_M1TCR ,/* , GEN8_M2TCR */ + [VIDEO_ENHANCEMENT_CLASS ].reg =GEN8_VTCR , + [COPY_ENGINE_CLASS ].reg =GEN8_BTCR , + }; +static const union intel_engine_tlb_inv_reg gen12_regs[] = { + [RENDER_CLASS ].reg =GEN12_GFX_TLB_INV_CR , + [VIDEO_DECODE_CLASS ].reg =GEN12_VD_TLB_INV_CR , + [VIDEO_ENHANCEMENT_CLASS ].reg =GEN12_VE_TLB_INV_CR , + [COPY_ENGINE_CLASS ].reg =GEN12_BLT_TLB_INV_CR , + [COMPUTE_CLASS ].reg =GEN12_COMPCTX_TLB_INV_CR , + }; +static const union intel_engine_tlb_inv_reg xehp_regs[] = { + [RENDER_CLASS ].mcr_reg =XEHP_GFX_TLB_INV_CR , + [VIDEO_DECODE_CLASS ].mcr_reg =XEHP_VD_TLB_INV_CR , + [VIDEO_ENHANCEMENT_CLASS ].mcr_reg =XEHP_VE_TLB_INV_CR , + [COPY_ENGINE_CLASS ].mcr_reg =XEHP_BLT_TLB_INV_CR , + [COMPUTE_CLASS ].mcr_reg =XEHP_COMPCTX_TLB_INV_CR , + }; +struct drm_i915_private *i915 = engine->i915; +const unsigned int instance = engine->instance; +const unsigned int class = engine->class; +const union intel_engine_tlb_inv_reg *regs; +union intel_engine_tlb_inv_reg reg; +unsigned int num =0 ; +u32 val; + +/* +* New platforms should not be added with catch-all-newer (>=) +* condition so that any later platform added triggers the below warning +* and in turn mandates a human cross-check of whether the invalidation +* flows have compatible semantics. +* +* For instance with the 11.00 -> 12.00 transition three out of five +* respective engine registers were moved to masked type. Then after the +* 12.00 -> 12.50 transition multi cast handling is required too. +*/ + +if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,50 ) || +GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,55 )) { + regs = xehp_regs; + num =ARRAY_SIZE (xehp_regs); + }else if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,0 ) || +GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,10 )) { + regs = gen12_regs; + num =ARRAY_SIZE (gen12_regs); + }else if (GRAPHICS_VER (i915) >=8 &&GRAPHICS_VER (i915) <=11 ) { + regs = gen8_regs; + num =ARRAY_SIZE (gen8_regs); + }else if (GRAPHICS_VER (i915) <8 ) { +return 0 ; + } + +if (gt_WARN_ONCE (engine->gt, !num, +"Platform does not implement TLB invalidation!" )) +return -ENODEV ; + +if (gt_WARN_ON_ONCE (engine->gt, + class >= num || + (!regs[class].reg.reg && + !regs[class].mcr_reg.reg))) +return -ERANGE ; + + reg = regs[class]; + +if (regs == gen8_regs && class ==VIDEO_DECODE_CLASS && instance ==1 ) { + reg.reg =GEN8_M2TCR ; + val =0 ; + }else { + val = instance; + } + + val =BIT (val); + + engine->tlb_inv.mcr = regs == xehp_regs; + engine->tlb_inv.reg = reg; + engine->tlb_inv.done = val; + +if (GRAPHICS_VER (i915) >=12 && + (engine->class ==VIDEO_DECODE_CLASS || + engine->class ==VIDEO_ENHANCEMENT_CLASS || + engine->class ==COMPUTE_CLASS )) + engine->tlb_inv.request =_MASKED_BIT_ENABLE (val); +else + engine->tlb_inv.request = val; + +return 0 ; +} +static int engine_setup_common (struct intel_engine_cs *engine) {int err;init_llist_head (&engine->barrier_tasks); + err =intel_engine_init_tlb_invalidation (engine); +if (err) +return err; + err =init_status_page (engine);if (err)return err;drivers/gpu/drm/i915/gt/intel_engine_types.h +14
-0@@ -341,6 +341,18 @@ struct intel_engine_guc_stats {u64 start_gt_clk; }; +union intel_engine_tlb_inv_reg { +i915_reg_t reg; +i915_mcr_reg_t mcr_reg; +}; + +struct intel_engine_tlb_inv { +bool mcr; +union intel_engine_tlb_inv_reg reg; +u32 request; +u32 done; +}; +struct intel_engine_cs {struct drm_i915_private *i915;struct intel_gt *gt;@@ -372,6 +384,8 @@ struct intel_engine_cs {u32 context_size;u32 mmio_base; +struct intel_engine_tlb_inv tlb_inv; +/* * Some w/a require forcewake to be held (which prevents RC6) while * a particular engine is active. If so, we set fw_domain to which drivers/gpu/drm/i915/gt/intel_gt.c +22
-116@@ -982,35 +982,6 @@ void intel_gt_info_print(const struct intel_gt_info *info,intel_sseu_dump (&info->sseu, p); } -struct reg_and_bit { -union { -i915_reg_t reg; -i915_mcr_reg_t mcr_reg; - }; -u32 bit; -}; - -static struct reg_and_bit -get_reg_and_bit (const struct intel_engine_cs *engine,const bool gen8, -const i915_reg_t *regs,const unsigned int num) -{ -const unsigned int class = engine->class; -struct reg_and_bit rb = { }; - -if (gt_WARN_ON_ONCE (engine->gt, class >= num || !regs[class].reg)) -return rb; - - rb.reg = regs[class]; -if (gen8 && class ==VIDEO_DECODE_CLASS ) - rb.reg.reg +=4 * engine->instance;/* GEN8_M2TCR */ -else - rb.bit = engine->instance; - - rb.bit =BIT (rb.bit); - -return rb; -} -/* * HW architecture suggest typical invalidation time at 40us, * with pessimistic cases up to 100us and a recommendation to @@ -1024,14 +995,20 @@ get_reg_and_bit(const struct intel_engine_cs *engine, const bool gen8,* but are now considered MCR registers. Since they exist within a GAM range, * the primary instance of the register rolls up the status from each unit. */ -static int wait_for_invalidate (struct intel_gt *gt,struct reg_and_bit rb) +static int wait_for_invalidate (struct intel_engine_cs *engine) { -if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,50 )) -return intel_gt_mcr_wait_for_reg (gt, rb.mcr_reg, rb.bit,0 , +if (engine->tlb_inv.mcr) +return intel_gt_mcr_wait_for_reg (engine->gt, + engine->tlb_inv.reg.mcr_reg, + engine->tlb_inv.done, +0 ,TLB_INVAL_TIMEOUT_US ,TLB_INVAL_TIMEOUT_MS );else -return __intel_wait_for_register_fw (gt->uncore, rb.reg, rb.bit,0 , +return __intel_wait_for_register_fw (engine->gt->uncore, + engine->tlb_inv.reg.reg, + engine->tlb_inv.done, +0 ,TLB_INVAL_TIMEOUT_US ,TLB_INVAL_TIMEOUT_MS ,NULL );@@ -1039,62 +1016,14 @@ static int wait_for_invalidate(struct intel_gt *gt, struct reg_and_bit rb)static void mmio_invalidate_full (struct intel_gt *gt) { -static const i915_reg_t gen8_regs[] = { - [RENDER_CLASS ] =GEN8_RTCR , - [VIDEO_DECODE_CLASS ] =GEN8_M1TCR ,/* , GEN8_M2TCR */ - [VIDEO_ENHANCEMENT_CLASS ] =GEN8_VTCR , - [COPY_ENGINE_CLASS ] =GEN8_BTCR , - }; -static const i915_reg_t gen12_regs[] = { - [RENDER_CLASS ] =GEN12_GFX_TLB_INV_CR , - [VIDEO_DECODE_CLASS ] =GEN12_VD_TLB_INV_CR , - [VIDEO_ENHANCEMENT_CLASS ] =GEN12_VE_TLB_INV_CR , - [COPY_ENGINE_CLASS ] =GEN12_BLT_TLB_INV_CR , - [COMPUTE_CLASS ] =GEN12_COMPCTX_TLB_INV_CR , - }; -static const i915_mcr_reg_t xehp_regs[] = { - [RENDER_CLASS ] =XEHP_GFX_TLB_INV_CR , - [VIDEO_DECODE_CLASS ] =XEHP_VD_TLB_INV_CR , - [VIDEO_ENHANCEMENT_CLASS ] =XEHP_VE_TLB_INV_CR , - [COPY_ENGINE_CLASS ] =XEHP_BLT_TLB_INV_CR , - [COMPUTE_CLASS ] =XEHP_COMPCTX_TLB_INV_CR , - };struct drm_i915_private *i915 = gt->i915;struct intel_uncore *uncore = gt->uncore;struct intel_engine_cs *engine;intel_engine_mask_t awake, tmp;enum intel_engine_id id; -const i915_reg_t *regs; -unsigned int num =0 ;unsigned long flags; -/* -* New platforms should not be added with catch-all-newer (>=) -* condition so that any later platform added triggers the below warning -* and in turn mandates a human cross-check of whether the invalidation -* flows have compatible semantics. -* -* For instance with the 11.00 -> 12.00 transition three out of five -* respective engine registers were moved to masked type. Then after the -* 12.00 -> 12.50 transition multi cast handling is required too. -*/ - -if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,50 ) || -GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,55 )) { - regs =NULL ; - num =ARRAY_SIZE (xehp_regs); - }else if (GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,0 ) || -GRAPHICS_VER_FULL (i915) ==IP_VER (12 ,10 )) { - regs = gen12_regs; - num =ARRAY_SIZE (gen12_regs); - }else if (GRAPHICS_VER (i915) >=8 &&GRAPHICS_VER (i915) <=11 ) { - regs = gen8_regs; - num =ARRAY_SIZE (gen8_regs); - }else if (GRAPHICS_VER (i915) <8 ) { -return ; - } - -if (gt_WARN_ONCE (gt, !num,"Platform does not implement TLB invalidation!" )) +if (GRAPHICS_VER (i915) <8 )return ;intel_uncore_forcewake_get (uncore,FORCEWAKE_ALL );@@ -1104,33 +1033,18 @@ static void mmio_invalidate_full(struct intel_gt *gt) awake =0 ;for_each_engine (engine, gt, id) { -struct reg_and_bit rb; -if (!intel_engine_pm_is_awake (engine))continue ; -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { -u32 val =BIT (engine->instance); - -if (engine->class ==VIDEO_DECODE_CLASS || - engine->class ==VIDEO_ENHANCEMENT_CLASS || - engine->class ==COMPUTE_CLASS ) - val =_MASKED_BIT_ENABLE (val); +if (engine->tlb_inv.mcr)intel_gt_mcr_multicast_write_fw (gt, - xehp_regs[engine->class], - val); - }else { - rb =get_reg_and_bit (engine, regs == gen8_regs, regs, num); -if (!i915_mmio_reg_offset (rb.reg)) -continue ; - -if (GRAPHICS_VER (i915) ==12 && (engine->class ==VIDEO_DECODE_CLASS || - engine->class ==VIDEO_ENHANCEMENT_CLASS || - engine->class ==COMPUTE_CLASS )) - rb.bit =_MASKED_BIT_ENABLE (rb.bit); - -intel_uncore_write_fw (uncore, rb.reg, rb.bit); - } + engine->tlb_inv.reg.mcr_reg, + engine->tlb_inv.request); +else +intel_uncore_write_fw (uncore, + engine->tlb_inv.reg.reg, + engine->tlb_inv.request); + awake |= engine->mask; }@@ -1149,17 +1063,9 @@ static void mmio_invalidate_full(struct intel_gt *gt)intel_gt_mcr_unlock (gt, flags);for_each_engine_masked (engine, gt, awake, tmp) { -struct reg_and_bit rb; - -if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,50 )) { - rb.mcr_reg = xehp_regs[engine->class]; - rb.bit =BIT (engine->instance); - }else { - rb =get_reg_and_bit (engine, regs == gen8_regs, regs, num); - } - -if (wait_for_invalidate (gt, rb)) -gt_err_ratelimited (gt,"%s TLB invalidation did not complete in %ums!\n" , +if (wait_for_invalidate (engine)) +gt_err_ratelimited (gt, +"%s TLB invalidation did not complete in %ums!\n" , engine->name,TLB_INVAL_TIMEOUT_MS ); }Signature · 1 line
2.34.1
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Consolidate TLB invalidation flow (rev4)
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: drm/i915: Consolidate TLB invalidation flow (rev4)
URL : https://patchwork.freedesktop.org/series/113563/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12748_full -> Patchwork_113563v4_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_113563v4_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_113563v4_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_113563v4_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-apl4/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-apl2/igt@kms_flip@[email protected]
Known issues
------------
Here are the changes found in Patchwork_113563v4_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][3] -> [FAIL][4] ([i915#2842]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-apl6/igt@gem_exec_fair@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-glk6/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [PASS][7] -> [FAIL][8] ([i915#6537])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-apl2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-apl6/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- shard-snb: [PASS][9] -> [INCOMPLETE][10] ([i915#4528] / [i915#4817])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-snb2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-snb5/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-snb: NOTRUN -> [SKIP][11] ([fdo#109271]) +66 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-snb7/igt@kms_psr@psr2_sprite_plane_onoff.html
#### Possible fixes ####
* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][12] ([i915#5115] / [i915#7052]) -> [PASS][13] +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-4/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-2/igt@[email protected]
* igt@gem_exec_balancer@fairslice:
- {shard-rkl}: [SKIP][14] ([i915#6259]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-1/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- {shard-rkl}: [FAIL][16] ([i915#2842]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-3/igt@gem_exec_fair@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-gtt-read-noreloc:
- {shard-rkl}: [SKIP][18] ([i915#3281]) -> [PASS][19] +9 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-5/igt@[email protected]
* igt@gem_mmap_gtt@fault-concurrent-y:
- shard-snb: [ABORT][20] -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-snb4/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-snb7/igt@[email protected]
* igt@gem_set_tiling_vs_pwrite:
- {shard-rkl}: [SKIP][22] ([i915#3282]) -> [PASS][23] +5 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-1/igt@gem_set_tiling_vs_pwrite.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-5/igt@gem_set_tiling_vs_pwrite.html
* igt@gen9_exec_parse@shadow-peek:
- {shard-rkl}: [SKIP][24] ([i915#2527]) -> [PASS][25] +2 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-3/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-5/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- {shard-rkl}: [SKIP][26] ([fdo#109308]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@modeset-lpsp-stress:
- {shard-dg1}: [SKIP][28] ([i915#1397]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-dg1-12/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-dg1-14/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- {shard-rkl}: [SKIP][30] ([i915#1845] / [i915#4098]) -> [PASS][31] +11 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-6/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- {shard-dg1}: [DMESG-WARN][32] -> [PASS][33] +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-dg1-15/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-dg1-18/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
- shard-apl: [FAIL][34] ([i915#2346]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-apl4/igt@kms_cursor_legacy@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-apl6/igt@kms_cursor_legacy@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][36] ([i915#2346]) -> [PASS][37] +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-glk6/igt@kms_cursor_legacy@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-glk5/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][38] ([i915#79]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-glk3/igt@kms_flip@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-glk7/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc:
- {shard-rkl}: [SKIP][40] ([i915#1849] / [i915#4098]) -> [PASS][41] +3 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_plane@plane-panning-top-left@pipe-a-planes:
- {shard-rkl}: [SKIP][42] ([i915#1849]) -> [PASS][43] +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@kms_plane@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-6/igt@kms_plane@[email protected]
* igt@kms_psr@cursor_mmap_gtt:
- {shard-rkl}: [SKIP][44] ([i915#1072]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-5/igt@kms_psr@cursor_mmap_gtt.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-6/igt@kms_psr@cursor_mmap_gtt.html
* igt@prime_vgem@basic-write:
- {shard-rkl}: [SKIP][46] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12748/shard-rkl-4/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113563v4/shard-rkl-5/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
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6259]: https://gitlab.freedesktop.org/drm/intel/issues/6259
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#8018]: https://gitlab.freedesktop.org/drm/intel/issues/8018
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
Build changes
-------------
* Linux: CI_DRM_12748 -> Patchwork_113563v4
CI-20190529: 20190529
CI_DRM_12748: 2d71e322ff387f05855e797efc6ccaf61dc4b80d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7160: 45da871dd2684227e93a2fc002b87dfc58bd5fd9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_113563v4: 2d71e322ff387f05855e797efc6ccaf61dc4b80d @ 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_113563v4/index.html
Quoted 27 lines · Matt Roper
Quoted 17 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
As the logic for selecting the register and corresponsing values grew, the code become a bit unsightly. Consolidate by storing the required values at engine init time in the engine itself, and by doing so minimise the amount of invariant platform and engine checks during each and every TLB invalidation.
v2:
* Fail engine probe if TLB invlidations registers are unknown.v3:
* Rebase.v4:
* Fix handling ofGEN8_M2TCR. (Andrzej)Quoted 8 lines
v5:
* Tidy checkpatch warnings.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Andrzej Hajda <[email protected]>Cc Matt Roper <[email protected]>Reviewed-by Andrzej Hajda <[email protected]> # v1Reviewed-by Matt Roper <[email protected]> # v3
Quoted 3 lines
Reviewed-by Matt Roper <[email protected]>for this version as well.
Thanks Matt, pushed.
Regards,
Tvrtko