]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Simplify SWIDTHSW calculation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Dec 2016 17:28:09 +0000 (19:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Dec 2016 19:30:54 +0000 (21:30 +0200)
commit7039a6dc17a9ae73dcf38fe16e9e78dedbfb26e0
treebef5923e932dcf8313c1d84a2c95e0c00fa5476f
parent949d8cf8017c03ac20a153070730ea9e35f4f1d5
drm/i915: Simplify SWIDTHSW calculation

The formula in Bspec for computing the overlay SWIDTHSW is overly
obfuscated. Simplify the formula to something that's easily parsed by
humans.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1481131693-27993-8-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_overlay.c