summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-09-21 18:25:17 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-09-24 15:55:02 +0300
commit09bbdd8730dce85db1d945961dbf0ea4066eb6d6 (patch)
treea6b510548dea3175dc3105e156bfcd81707cf4ee /drivers/block
parent5f524aea39d9e2a74c063f340a77516e454badce (diff)
downloadlinux-09bbdd8730dce85db1d945961dbf0ea4066eb6d6.tar.bz2
drm/i915/fbc: Allow higher compression limits on FBC1
On FBC1 we can specify an arbitrary cfb stride. The hw will simply throw away any compressed line that would exceed the specified limit and keep using the uncompressed data instead. Thus we can allow arbitrary compression limits. The one thing we have to keep in mind though is that the cfb stride is specified in units of 32B (gen2) or 64B (gen3+). Fortunately X-tile is already 128B (gen2) or 512B (gen3+) wide so as long as we limit outselves to the same 4x compression limit that FBC2 has we are guaranteed to have a sufficiently aligned cfb stride. Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210921152517.803-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions