drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
Subsystems (2)
PATCH 1/2 drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
This got duplicated on introducing icl workarounds. Fix by using the older definition and moving the wa bit definition there. No functional changes.
v3: avoid fixes tag, whitespace (Chris)
References: 908ae0517363 ("drm/i915/icl: WaDisCtxReload")
--- drivers/gpu/drm/i915/i915_reg.h | 4 +--- drivers/gpu/drm/i915/intel_workarounds.c | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +1 -3
@@ -2400,6 +2400,7 @@ enum i915_power_well_id {#define GEN8_GAMW_ECO_DEV_RW_IA _MMIO(0x4080)#define GAMW_ECO_ENABLE_64K_IPS_FIELD 0xF +#define GAMW_ECO_DEV_CTX_RELOAD_DISABLE (1 << 7)#define GAMT_CHKN_BIT_REG _MMIO(0x4ab8)#define GAMT_CHKN_DISABLE_L3_COH_PIPE (1 << 31)
@@ -8708,9 +8709,6 @@ enum {#define GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC (1 << 9)#define GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC (1 << 7) -#define GAMW_ECO_DEV_RW_IA_REG _MMIO(0x4080) -#define GAMW_ECO_DEV_CTX_RELOAD_DISABLE (1 << 7) -#define GEN10_SAMPLER_MODE _MMIO(0xE18C)/* IVYBRIDGE DPF */
drivers/gpu/drm/i915/intel_workarounds.c +3 -2
@@ -867,8 +867,9 @@ static void icl_gt_workarounds_apply(struct drm_i915_private *dev_priv)/* Wa_220166154:icl * Formerly known as WaDisCtxReload */ -I915_WRITE (GAMW_ECO_DEV_RW_IA_REG ,I915_READ (GAMW_ECO_DEV_RW_IA_REG ) | -GAMW_ECO_DEV_CTX_RELOAD_DISABLE ); +I915_WRITE (GEN8_GAMW_ECO_DEV_RW_IA , +I915_READ (GEN8_GAMW_ECO_DEV_RW_IA ) | +GAMW_ECO_DEV_CTX_RELOAD_DISABLE );/* Wa_1405779004:icl (pre-prod) */ if (IS_ICL_REVID (dev_priv,ICL_REVID_A0 ,ICL_REVID_A0 ))
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 drm/i915: Fix icl workarounds whitespaces
Align icl workarounds whitespace with the rest of the file
--- drivers/gpu/drm/i915/intel_workarounds.c | 27 ++++++++++++++---------- 1 file changed, 16 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/intel_workarounds.c +16 -11
@@ -823,18 +823,21 @@ static void icl_gt_workarounds_apply(struct drm_i915_private *dev_priv) _MASKED_BIT_ENABLE(_3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE));/* WaInPlaceDecompressionHang:icl */ -I915_WRITE (GEN9_GAMT_ECO_REG_RW_IA ,I915_READ (GEN9_GAMT_ECO_REG_RW_IA ) | -GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS ); +I915_WRITE (GEN9_GAMT_ECO_REG_RW_IA , +I915_READ (GEN9_GAMT_ECO_REG_RW_IA ) | +GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS );/* WaPipelineFlushCoherentLines:icl */ -I915_WRITE (GEN8_L3SQCREG4 ,I915_READ (GEN8_L3SQCREG4 ) | -GEN8_LQSC_FLUSH_COHERENT_LINES ); +I915_WRITE (GEN8_L3SQCREG4 , +I915_READ (GEN8_L3SQCREG4 ) | +GEN8_LQSC_FLUSH_COHERENT_LINES );/* Wa_1405543622:icl * Formerly known as WaGAPZPriorityScheme */ -I915_WRITE (GEN8_GARBCNTL ,I915_READ (GEN8_GARBCNTL ) | -GEN11_ARBITRATION_PRIO_ORDER_MASK ); +I915_WRITE (GEN8_GARBCNTL , +I915_READ (GEN8_GARBCNTL ) | +GEN11_ARBITRATION_PRIO_ORDER_MASK );/* Wa_1604223664:icl * Formerly known as WaL3BankAddressHashing
@@ -854,15 +857,17 @@ static void icl_gt_workarounds_apply(struct drm_i915_private *dev_priv)/* Wa_1405733216:icl * Formerly known as WaDisableCleanEvicts */ -I915_WRITE (GEN8_L3SQCREG4 ,I915_READ (GEN8_L3SQCREG4 ) | -GEN11_LQSC_CLEAN_EVICT_DISABLE ); +I915_WRITE (GEN8_L3SQCREG4 , +I915_READ (GEN8_L3SQCREG4 ) | +GEN11_LQSC_CLEAN_EVICT_DISABLE );/* Wa_1405766107:icl * Formerly known as WaCL2SFHalfMaxAlloc */ -I915_WRITE (GEN11_LSN_UNSLCVC ,I915_READ (GEN11_LSN_UNSLCVC ) | -GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC | -GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC ); +I915_WRITE (GEN11_LSN_UNSLCVC , +I915_READ (GEN11_LSN_UNSLCVC ) | +GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC | +GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC );/* Wa_220166154:icl * Formerly known as WaDisCtxReload
Signature · 6 lines
2.17.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/2] drm/i915: Fix icl workarounds whitespaces
Quoting Mika Kuoppala (2018-11-09 14:53:33)
Quoted 4 lines
Align icl workarounds whitespace with the rest of the file
Cc Chris Wilson <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>
That'll do. Fine piece of Wensleydale,
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/2] drm/i915: Fix icl workarounds whitespaces
Quoted 8 lines · Chris Wilson
Quoting Mika Kuoppala (2018-11-09 14:53:33)
Quoted 4 lines
Align icl workarounds whitespace with the rest of the file
Cc Chris Wilson <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>That'll do. Fine piece of Wensleydale,
Reviewed-by Chris Wilson <[email protected]>
Both patches pushed, thanks for review.
-Mika
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
URL : https://patchwork.freedesktop.org/series/52301/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
4297fd927509 drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
-:13: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 908ae0517363 ("drm/i915/icl: WaDisCtxReload")'
#13:
References: 908ae0517363 ("drm/i915/icl: WaDisCtxReload")total: 1 errors, 0 warnings, 0 checks, 27 lines checked a63f6f70b5c1 drm/i915: Fix icl workarounds whitespaces
_______________________________________________
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/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
URL : https://patchwork.freedesktop.org/series/52301/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5113 -> Patchwork_10794 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/52301/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_10794 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_ctx_create@basic-files:
fi-bsw-n3050: PASS -> FAIL (fdo#108656)
fi-bsw-kefka: PASS -> FAIL (fdo#108656)
==== Possible fixes ====
igt@gem_close_race@basic-threads:
fi-bsw-kefka: FAIL (fdo#108656) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-byt-clapper: FAIL (fdo#103191, fdo#107362) -> PASS fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#108656 https://bugs.freedesktop.org/show_bug.cgi?id=108656
== Participating hosts (53 -> 47) ==
Additional (1): fi-kbl-7560u
Missing (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-snb-2520m fi-ctg-p8600
== Build changes ==
* Linux: CI_DRM_5113 -> Patchwork_10794
CI_DRM_5113: 54a159cbae565f40866b2a54edef1620ef8581f1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4714: cab148ca3ec904a94d0cd43476cf7e1f8663f906 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10794: a63f6f70b5c17bb1336916c1d3fabe1cb7dd300e @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
a63f6f70b5c1 drm/i915: Fix icl workarounds whitespaces 4297fd927509 drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10794/issues.html
_______________________________________________
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/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: Deduplicate register definition for GAMW_ECO_DEV_RW_IA
URL : https://patchwork.freedesktop.org/series/52301/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5113_full -> Patchwork_10794_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_10794_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10794_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_10794_full:
=== IGT changes ===
==== Warnings ====
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: PASS -> SKIP== Known issues ==
Here are the changes found in Patchwork_10794_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_ppgtt@blt-vs-render-ctx0:
shard-skl: NOTRUN -> TIMEOUT (fdo#108039)
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-c:
shard-skl: NOTRUN -> DMESG-WARN (fdo#107956) +1
igt@kms_color@pipe-c-legacy-gamma:
shard-apl: PASS -> FAIL (fdo#104782)
igt@kms_cursor_crc@cursor-128x128-random:
shard-apl: PASS -> FAIL (fdo#103232) +1
igt@kms_cursor_crc@cursor-64x64-suspend:
shard-skl: PASS -> INCOMPLETE (fdo#104108)
igt@kms_flip@2x-flip-vs-expired-vblank:
shard-glk: PASS -> FAIL (fdo#105363)
shard-hsw: PASS -> FAIL (fdo#102887)
igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render:
shard-glk: PASS -> FAIL (fdo#103167)
igt@kms_frontbuffer_tracking@fbc-stridechange:
shard-skl: NOTRUN -> FAIL (fdo#105683)
igt@kms_plane@plane-position-covered-pipe-b-planes:
shard-glk: PASS -> FAIL (fdo#103166)
igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
shard-skl: NOTRUN -> FAIL (fdo#108145, fdo#107815) +2
igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
shard-skl: PASS -> FAIL (fdo#107815)
igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
shard-skl: NOTRUN -> FAIL (fdo#108145) +1
igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
shard-apl: PASS -> FAIL (fdo#103166) +1
igt@kms_properties@connector-properties-legacy:
shard-kbl: PASS -> DMESG-WARN (fdo#103313, fdo#105345)
igt@kms_setmode@basic:
shard-kbl: PASS -> FAIL (fdo#99912)
igt@perf_pmu@busy-start-vcs0:
shard-apl: PASS -> DMESG-WARN (fdo#103558, fdo#105602) +1
igt@perf_pmu@rc6-runtime-pm-long:
shard-apl: PASS -> INCOMPLETE (fdo#103927)
igt@pm_rpm@modeset-non-lpsp-stress-no-wait:
shard-skl: SKIP -> INCOMPLETE (fdo#107807)
igt@pm_rpm@universal-planes-dpms:
shard-skl: PASS -> INCOMPLETE (fdo#107807) +1
==== Possible fixes ====
igt@gem_softpin@noreloc-s3:
shard-skl: INCOMPLETE (fdo#104108, fdo#107773) -> PASS
igt@kms_chv_cursor_fail@pipe-c-256x256-top-edge:
shard-skl: FAIL (fdo#104671) -> PASS
igt@kms_cursor_crc@cursor-256x256-suspend:
shard-apl: FAIL (fdo#103191, fdo#103232) -> PASS
igt@kms_flip@absolute-wf_vblank:
shard-kbl: DMESG-WARN (fdo#103313, fdo#105345) -> PASS
igt@kms_flip@flip-vs-expired-vblank:
shard-skl: FAIL (fdo#105363) -> PASS
igt@kms_setmode@basic:
shard-apl: FAIL (fdo#99912) -> PASS
igt@pm_rpm@dpms-mode-unset-lpsp:
shard-skl: INCOMPLETE (fdo#107807) -> PASS fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103232 https://bugs.freedesktop.org/show_bug.cgi?id=103232
fdo#103313 https://bugs.freedesktop.org/show_bug.cgi?id=103313
fdo#103558 https://bugs.freedesktop.org/show_bug.cgi?id=103558
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
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#105345 https://bugs.freedesktop.org/show_bug.cgi?id=105345
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
fdo#105683 https://bugs.freedesktop.org/show_bug.cgi?id=105683
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#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (6 -> 6) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_5113 -> Patchwork_10794
CI_DRM_5113: 54a159cbae565f40866b2a54edef1620ef8581f1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4714: cab148ca3ec904a94d0cd43476cf7e1f8663f906 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10794: a63f6f70b5c17bb1336916c1d3fabe1cb7dd300e @ 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_10794/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx