summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_utils.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-05-09 15:21:58 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-05-20 18:04:48 +0300
commit2033012982231533e545b002f744a60699fe968c (patch)
tree816563f65de423b3fddfbc360972b307458222b7 /drivers/gpu/drm/i915/i915_utils.h
parentaa5ca8b7421cdbdd2b1275e0cc4d11bdce043de9 (diff)
downloadlinux-2033012982231533e545b002f744a60699fe968c.tar.bz2
drm/i915: Bump fb stride limit to 128KiB for gen4+ and 256KiB for gen7+
With gtt remapping plugged in we can simply raise the stride limit on gen4+. Let's just pick the limit to match the render engine max stride (256KiB on gen7+, 128KiB on gen4+). No remapping CCS because the virtual address of each page actually matters due to the new hash mode (WaCompressedResourceDisplayNewHashMode:skl,kbl etc.), and no remapping on gen2/3 due extra complications from fence alignment and gen2 2KiB GTT tile size. Also no real benefit since the display engine limits already match the other limits. v2: Rebase due to is_ccs_modifier() v3: Tweak the comment and commit msg v4: Fix gen4+ stride limit to be 128KiB Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> #v3 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190509122159.24376-8-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_utils.h')
0 files changed, 0 insertions, 0 deletions