• M
    drm/i915: Store and use edram capabilities · 3accaf7e
    Mika Kuoppala 提交于
    Store the edram capabilities instead of only the size of
    edram. This is preparatory patch to allow edram size calculation
    based on edram capability bits for gen9+. With gen9 the
    edram is behind llc and is a separate entity. With hsw/bdw
    it was more of a victim cache for LLC so the name 'eLLC' might
    be warranted. Regardless, rename all mentions of eLLC to EDRAM to
    clear the confusion.
    
    v2: return bytes for edram size (Chris)
        s/eLLC/eDRAM in output if we are gen > 8
    
    v3: rebase, INTEL_GEN (Chris)
    Signed-off-by: NMika Kuoppala <mika.kuoppala@intel.com>
    Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
    3accaf7e
i915_gem.c 138.6 KB