drm/i915: Disable decoupled mmio for GEN9LP
Subsystems (2)
PATCH 1/1 drm/i915: Disable decoupled mmio for GEN9LP
From: Kai Chen <[email protected]>
The decoupled mmio feature doesn't work as intended by HW team. Enabling it with forcewake will only make debugging efforts more difficult, so let's just simply remove it.
v2:
- Remove dead code related to GEN9LP decoupled mmio.
- Change backgrounds: In theory, decoupled mmio should require less cycles for single read/write operation by avoiding frequent software forcewake. However, it turns out this design not to be true on HW practice and not to provide any decoupling benefit. It also introduces problems which cause failures in intel-gpu-tools (gem), and also cause driver code and debugging more complex.
- This change therefore reverts:
commit 85ee17ebeedd1af0dccd98f82ab4e644e29d84c0
Author: Praveen Paneri <[email protected]>
Date: Tue Nov 15 22:49:20 2016 +0530
drm/i915/bxt: Broxton decoupled MMIO
V3:
- Remove HAS_DECOUPLED_MMIO macro and has_decoupled_mmio flag, as they are not needed, either.
- This patch will be on top with drm-intel.
V4:
- Add signed-off-by.
--- drivers/gpu/drm/i915/i915_drv.h | 3 - drivers/gpu/drm/i915/i915_pci.c | 1 - drivers/gpu/drm/i915/i915_reg.h | 7 -- drivers/gpu/drm/i915/intel_uncore.c | 126 ------------------------------------ 4 files changed, 137 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +0 -3
@@ -703,7 +703,6 @@ struct intel_csr {func (has_aliasing_ppgtt); \func (has_csr); \func (has_ddi); \ -func (has_decoupled_mmio); \func (has_dp_mst); \func (has_fbc); \func (has_fpga_dbg); \
@@ -2944,8 +2943,6 @@ intel_info(const struct drm_i915_private *dev_priv)#define GT_FREQUENCY_MULTIPLIER 50#define GEN9_FREQ_SCALER 3 -#define HAS_DECOUPLED_MMIO (dev_priv) (INTEL_INFO(dev_priv)->has_decoupled_mmio) -#include "i915_trace.h" static inline bool intel_scanout_needs_vtd_wa (struct drm_i915_private *dev_priv)
drivers/gpu/drm/i915/i915_pci.c +0 -1
@@ -385,7 +385,6 @@ static const struct intel_device_info intel_skylake_gt3_info = { .has_gmbus_irq = 1, \ .has_logical_ring_contexts = 1, \ .has_guc = 1, \ - .has_decoupled_mmio = 1, \ .has_aliasing_ppgtt = 1, \ .has_full_ppgtt = 1, \ .has_full_48bit_ppgtt = 1, \
drivers/gpu/drm/i915/i915_reg.h +0 -7
@@ -7792,13 +7792,6 @@ enum {#define SKL_FUSE_PG1_DIST_STATUS (1<<26)#define SKL_FUSE_PG2_DIST_STATUS (1<<25) -/* Decoupled MMIO register pair for kernel driver */ -#define GEN9_DECOUPLED_REG0_DW0 _MMIO(0xF00) -#define GEN9_DECOUPLED_REG0_DW1 _MMIO(0xF04) -#define GEN9_DECOUPLED_DW1_GO (1<<31) -#define GEN9_DECOUPLED_PD_SHIFT 28 -#define GEN9_DECOUPLED_OP_SHIFT 24 -/* Per-pipe DDI Function Control */ #define _TRANS_DDI_FUNC_CTL_A 0x60400#define _TRANS_DDI_FUNC_CTL_B 0x61400
drivers/gpu/drm/i915/intel_uncore.c +0 -126
162 lines not on this page · raw message
Signature · 6 lines
2.9.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: Disable decoupled mmio for GEN9LP (rev4)
== Series Details ==
== Series Details ==
Series: drm/i915: Disable decoupled mmio for GEN9LP (rev4)
URL : https://patchwork.freedesktop.org/series/24470/
State : failure
== Summary ==
Series 24470v4 drm/i915: Disable decoupled mmio for GEN9LP
https://patchwork.freedesktop.org/api/1.0/series/24470/revisions/4/mbox/
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-legacy:
pass -> FAIL (fi-snb-2600) fdo#100215
Test kms_flip:
Subgroup basic-flip-vs-dpms:
pass -> DMESG-FAIL (fi-skl-6700hq) fdo#101144
Subgroup basic-flip-vs-modeset:
pass -> SKIP (fi-skl-6700hq) fdo#100867
Subgroup basic-flip-vs-wf_vblank:
pass -> SKIP (fi-skl-6700hq) fdo#99739 +1
Subgroup basic-plain-flip:
pass -> SKIP (fi-skl-6700hq)
Test kms_frontbuffer_tracking:
Subgroup basic:
pass -> SKIP (fi-skl-6700hq)
Test kms_pipe_crc_basic:
Subgroup hang-read-crc-pipe-a:
pass -> FAIL (fi-skl-6700hq)
Subgroup hang-read-crc-pipe-b:
pass -> FAIL (fi-skl-6700hq)
Subgroup hang-read-crc-pipe-c:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-a:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-a-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-b:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-b-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-c:
pass -> FAIL (fi-skl-6700hq)
Subgroup nonblocking-crc-pipe-c-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-a:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-a-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-b:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-b-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-c:
pass -> FAIL (fi-skl-6700hq)
Subgroup read-crc-pipe-c-frame-sequence:
pass -> FAIL (fi-skl-6700hq)
Subgroup suspend-read-crc-pipe-a:
pass -> FAIL (fi-skl-6700hq)
Test pm_backlight:
Subgroup basic-brightness:
pass -> FAIL (fi-skl-6700hq)fdo#100215 https://bugs.freedesktop.org/show_bug.cgi?id=100215
fdo#101144 https://bugs.freedesktop.org/show_bug.cgi?id=101144
fdo#100867 https://bugs.freedesktop.org/show_bug.cgi?id=100867
fdo#99739 https://bugs.freedesktop.org/show_bug.cgi?id=99739
fi-bdw-5557u total:278 pass:267 dwarn:0 dfail:0 fail:0 skip:11 time:443s fi-bdw-gvtdvm total:278 pass:256 dwarn:8 dfail:0 fail:0 skip:14 time:431s fi-bsw-n3050 total:278 pass:242 dwarn:0 dfail:0 fail:0 skip:36 time:592s fi-bxt-j4205 total:278 pass:259 dwarn:0 dfail:0 fail:0 skip:19 time:516s fi-byt-j1900 total:278 pass:254 dwarn:0 dfail:0 fail:0 skip:24 time:493s fi-byt-n2820 total:278 pass:250 dwarn:0 dfail:0 fail:0 skip:28 time:482s fi-hsw-4770 total:278 pass:262 dwarn:0 dfail:0 fail:0 skip:16 time:420s fi-hsw-4770r total:278 pass:262 dwarn:0 dfail:0 fail:0 skip:16 time:411s fi-ilk-650 total:278 pass:228 dwarn:0 dfail:0 fail:0 skip:50 time:417s fi-ivb-3520m total:278 pass:260 dwarn:0 dfail:0 fail:0 skip:18 time:498s fi-ivb-3770 total:278 pass:260 dwarn:0 dfail:0 fail:0 skip:18 time:462s fi-kbl-7500u total:278 pass:255 dwarn:5 dfail:0 fail:0 skip:18 time:463s fi-kbl-7560u total:278 pass:263 dwarn:5 dfail:0 fail:0 skip:10 time:566s fi-skl-6260u total:278 pass:268 dwarn:0 dfail:0 fail:0 skip:10 time:457s fi-skl-6700hq total:278 pass:239 dwarn:0 dfail:1 fail:17 skip:21 time:437s fi-skl-6700k total:278 pass:256 dwarn:4 dfail:0 fail:0 skip:18 time:473s fi-skl-6770hq total:278 pass:268 dwarn:0 dfail:0 fail:0 skip:10 time:503s fi-skl-gvtdvm total:278 pass:265 dwarn:0 dfail:0 fail:0 skip:13 time:441s fi-snb-2520m total:278 pass:250 dwarn:0 dfail:0 fail:0 skip:28 time:539s fi-snb-2600 total:278 pass:248 dwarn:0 dfail:0 fail:1 skip:29 time:406s
5c5ce2ab8183e4bd85a603169e260cc938837e2c drm-tip: 2017y-05m-22d-13h-42m-03s UTC integration manifest c5da6a8 drm/i915: Disable decoupled mmio for GEN9LP
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_4779/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx