]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Make intel_adjust_tile_offset() work for linear buffers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Feb 2016 16:44:05 +0000 (18:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Aug 2016 15:34:39 +0000 (18:34 +0300)
commit66a2d927cb0eb6767529454316ac36511cdffdac
tree23c6a5ca1ebd4d601f16c4d557f270df74985382
parentb9b2403845f11cae20af5f6b5fd5cf7c6c9346ab
drm/i915: Make intel_adjust_tile_offset() work for linear buffers

To make life less surprising we can make intel_adjust_tile_offset()
deal with linear buffers as well. Currently it doesn't seem like there's
a real need for this since only X tiling and NV12 (which would always
be tiled currently) should need it. But I've used it for some debug
hacks already so seems like a reasonable thing to have.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470821001-25272-10-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c