]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Fix gen3 physical cursor alignment requirements
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Mar 2017 18:55:43 +0000 (21:55 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 10 May 2017 16:28:34 +0000 (19:28 +0300)
commitfabac4840169217de95c8b6d64db2ddd27c192f8
treee5db817c0dc33dc6f56abbd5907049d49585ca31
parent024faac7d59b97be439cc645ac998dbd184bfeb0
drm/i915: Fix gen3 physical cursor alignment requirements

Bspec tells us that gen3 platforms need 4KiB alignment for CURBASE
rather than the 256 byte alignment required by i85x. Let's fix that
and pull the code to determine the correct alignment to a helper
function.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327185546.2977-13-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_display.c