drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
Subsystems (2)
PATCH 1/1 drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
Now that we write RING_FORCE_TO_NONPRIV registers directly to hardware, [commit 32ced39 ("drm/i915: Transform whitelisting WAs into a simple reg write")] there is no need to save space for them in the list of context workarounds.
v2: Refer to previous commit in commit message (Michel)
--- drivers/gpu/drm/i915/i915_drv.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +1 -7
@@ -1964,13 +1964,7 @@ struct i915_wa_reg {u32 mask; }; -/* -* RING_MAX_NONPRIV_SLOTS is per-engine but at this point we are only -* allowing it for RCS as we don't foresee any requirement of having -* a whitelist for other engines. When it is really required for -* other engines then the limit need to be increased. -*/ -#define I915_MAX_WA_REGS (16 + RING_MAX_NONPRIV_SLOTS) +#define I915_MAX_WA_REGS 16struct i915_workarounds {struct i915_wa_reg reg[I915_MAX_WA_REGS ];
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
== Series Details ==
== Series Details ==
Series: drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
URL : https://patchwork.freedesktop.org/series/32159/
State : success
== Summary ==
Series 32159v1 drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
https://patchwork.freedesktop.org/api/1.0/series/32159/revisions/1/mbox/
Test chamelium:
Subgroup dp-edid-read:
incomplete -> SKIP (fi-hsw-4770r)
Subgroup dp-crc-fast:
dmesg-fail -> FAIL (fi-kbl-7500u) fdo#102514
Test drv_module_reload:
Subgroup basic-reload-inject:
dmesg-warn -> INCOMPLETE (fi-cfl-s) fdo#103206fdo#102514 https://bugs.freedesktop.org/show_bug.cgi?id=102514
fdo#103206 https://bugs.freedesktop.org/show_bug.cgi?id=103206
fi-bdw-5557u total:289 pass:268 dwarn:0 dfail:0 fail:0 skip:21 time:443s fi-bdw-gvtdvm total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:459s fi-blb-e6850 total:289 pass:223 dwarn:1 dfail:0 fail:0 skip:65 time:374s fi-bsw-n3050 total:289 pass:243 dwarn:0 dfail:0 fail:0 skip:46 time:531s fi-bwr-2160 total:289 pass:183 dwarn:0 dfail:0 fail:0 skip:106 time:263s fi-bxt-dsi total:289 pass:259 dwarn:0 dfail:0 fail:0 skip:30 time:490s fi-bxt-j4205 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:494s fi-byt-j1900 total:289 pass:253 dwarn:1 dfail:0 fail:0 skip:35 time:489s fi-byt-n2820 total:289 pass:249 dwarn:1 dfail:0 fail:0 skip:39 time:478s fi-cfl-s total:288 pass:253 dwarn:3 dfail:0 fail:0 skip:31 fi-elk-e7500 total:289 pass:229 dwarn:0 dfail:0 fail:0 skip:60 time:414s fi-gdg-551 total:289 pass:178 dwarn:1 dfail:0 fail:1 skip:109 time:249s fi-glk-1 total:289 pass:261 dwarn:0 dfail:0 fail:0 skip:28 time:564s fi-hsw-4770r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:424s fi-ilk-650 total:289 pass:228 dwarn:0 dfail:0 fail:0 skip:61 time:433s fi-ivb-3520m total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:487s fi-ivb-3770 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:459s fi-kbl-7500u total:289 pass:263 dwarn:1 dfail:0 fail:1 skip:24 time:475s fi-kbl-7560u total:289 pass:270 dwarn:0 dfail:0 fail:0 skip:19 time:572s fi-kbl-7567u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:476s fi-kbl-r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:581s fi-pnv-d510 total:289 pass:222 dwarn:1 dfail:0 fail:0 skip:66 time:556s fi-skl-6260u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:449s fi-skl-6700hq total:289 pass:263 dwarn:0 dfail:0 fail:0 skip:26 time:642s fi-skl-6700k total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:514s fi-skl-6770hq total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:491s fi-skl-gvtdvm total:289 pass:266 dwarn:0 dfail:0 fail:0 skip:23 time:461s fi-snb-2520m total:289 pass:250 dwarn:0 dfail:0 fail:0 skip:39 time:573s fi-snb-2600 total:289 pass:249 dwarn:0 dfail:0 fail:0 skip:40 time:428s
17972293741c44cf70b30bb740bc3d4f2333403c drm-tip: 2017y-10m-17d-18h-04m-07s UTC integration manifest 4a491ff6570e drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_6082/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
In reply to Oscar Mateo== Series Details ==
== Series Details ==
Series: drm/i915: No need for RING_MAX_NONPRIV_SLOTS space
URL : https://patchwork.freedesktop.org/series/32159/
State : failure
== Summary ==
Test drv_suspend:
Subgroup sysfs-reader-hibernate:
fail -> DMESG-FAIL (shard-hsw) k.org#196691
Test kms_chv_cursor_fail:
Subgroup pipe-B-256x256-top-edge:
pass -> DMESG-FAIL (shard-hsw)k.org#196691 https://bugzilla.kernel.org/show_bug.cgi?id=196691
shard-hsw total:2551 pass:1440 dwarn:0 dfail:2 fail:8 skip:1101 time:9334s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_6082/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Oscar Mateo (2017-10-17 21:27:51)
Quoted 11 lines
Now that we write
RING_FORCE_TO_NONPRIVregisters directly to hardware, [commit 32ced39 ("drm/i915: Transform whitelisting WAs into a simple reg write")] there is no need to save space for them in the list of context workarounds.v2: Refer to previous commit in commit message (Michel)
Signed-off-by Oscar Mateo <[email protected]>Cc Chris Wilson <[email protected]>Reviewed-by Michel Thierry <[email protected]>Reviewed-by Mika Kuoppala <[email protected]>
And pushed, thanks for the patch.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx