• José Roberto de Souza's avatar
    drm/i915/tgl: Fix stepping WA matching · c33298cb
    José Roberto de Souza authored
    TGL made stepping a litte mess, workarounds refer to the stepping of
    the IP(GT or Display) not of the GPU stepping so it would already
    require the same solution as used in commit 96c5a15f
    ("drm/i915/kbl: Fix revision ID checks").
    But to make things even more messy it have a different IP stepping
    mapping between SKUs and the same stepping revision of GT do not match
    the same HW between TGL U/Y and regular TGL.
    
    So it was required to have 2 different macros to check GT WAs while
    for Display we are able to use just one macro that uses the right
    revids table.
    
    All TGL workarounds checked and updated accordingly.
    
    v2:
    - removed TODO to check if WA 14010919138 applies to regular TGL.
    - fixed display stepping in regular TGL (Anusha)
    
    BSpec: 52890
    BSpec: 55378
    BSpec: 44455
    Reviewed-by: default avatarAnusha Srivatsa <anusha.srivtsa@intel.com>
    Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Cc: Penne Lee <penne.y.lee@intel.com>
    Cc: Guangyao Bai <guangyao.bai@intel.com>
    Cc: Matt Roper <matthew.d.roper@intel.com>
    Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200827233943.400946-1-jose.souza@intel.com
    c33298cb
intel_pm.c 226 KB