diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2020-03-11 09:22:57 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2020-03-13 09:01:44 -0700 |
commit | d0ed510a8eb12915aedf1cdc28bd1707fbe6c9c0 (patch) | |
tree | 11a1ba60e6d5486da08fa45ba0cef08292cc5c4f /drivers/gpu/drm/i915/i915_reg.h | |
parent | aa64f8e1cf235f2e36615dba57c2c50d06181f84 (diff) | |
download | kernel_replicant_linux-d0ed510a8eb12915aedf1cdc28bd1707fbe6c9c0.tar.gz kernel_replicant_linux-d0ed510a8eb12915aedf1cdc28bd1707fbe6c9c0.tar.bz2 kernel_replicant_linux-d0ed510a8eb12915aedf1cdc28bd1707fbe6c9c0.zip |
drm/i915: Add Wa_1604278689:icl,ehl
The bspec description for this workaround tells us to program
0xFFFF_FFFF into both FBC_RT_BASE_ADDR_REGISTER_* registers, but we've
previously found that this leads to failures in CI. Our suspicion is
that the failures are caused by this valid turning on the "address valid
bit" even though we're intentionally supplying an invalid address.
Experimentation has shown that setting all bits _except_ for the
RT_VALID bit seems to avoid these failures.
v2:
- Mask off the RT_VALID bit. Experimentation with CI trybot indicates
that this is necessary to avoid reset failures on BCS.
v3:
- Program RT_BASE before RT_BASE_UPPER so that the valid bit is turned
off by the first write. (Chris)
Bspec: 11388
Bspec: 33451
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311162300.1838847-4-matthew.d.roper@intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index ee4a75ac9186..b6b52b735120 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -3285,6 +3285,7 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg) /* Framebuffer compression for Ivybridge */ #define IVB_FBC_RT_BASE _MMIO(0x7020) +#define IVB_FBC_RT_BASE_UPPER _MMIO(0x7024) #define IPS_CTL _MMIO(0x43408) #define IPS_ENABLE (1 << 31) |