• Oscar Mateo's avatar
    drm/i915/icl: Introduce initial Icelake Workarounds · cc38cae7
    Oscar Mateo authored
    Inherit workarounds from previous platforms that are still valid for
    Icelake.
    
    v2: GEN7_ROW_CHICKEN2 is masked
    v3:
      - Since it has been fixed already in upstream, removed the TODO
        comment about WA_SET_BIT for WaInPlaceDecompressionHang.
      - Squashed with this patch:
          drm/i915/icl: add icelake_init_clock_gating()
        from Paulo Zanoni <paulo.r.zanoni@intel.com>
      - Squashed with this patch:
          drm/i915/icl: WaForceEnableNonCoherent
        from Oscar Mateo <oscar.mateo@intel.com>
      - WaPushConstantDereferenceHoldDisable is now Wa_1604370585 and
        applies to B0 as well.
      - WaPipeControlBefore3DStateSamplePattern WABB was being applied
        to ICL incorrectly.
    v4:
      - Wrap the commit message
      - s/dev_priv/p to please checkpatch
    v5: Rebased on top of the WA refactoring
    v6: Rebased on top of further whitelist registers refactoring (Michel)
    v7: Added WaRsForcewakeAddDelayForAck
    v8: s/ICL_HDC_CHICKEN0/ICL_HDC_MODE (Mika)
    v9:
      - C, not lisp (Chris)
      - WaIncreaseDefaultTLBEntries is the same for GEN > 9_LP (Tvrtko)
    Signed-off-by: default avatarOscar Mateo <oscar.mateo@intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Cc: Tomasz Lis <tomasz.lis@intel.com>
    Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
    Signed-off-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/1525814984-20039-2-git-send-email-oscar.mateo@intel.com
    cc38cae7
intel_lrc.c 82.3 KB