]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract i845_cursor_ctl() and i9xx_cursor_ctl()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Mar 2017 21:18:01 +0000 (23:18 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Mar 2017 13:48:06 +0000 (15:48 +0200)
commit3b394c859749615a94a79ce856a342b42875e5c0
tree7ba5593c46d0ec9c6412cbb13d67ec62c71bdd2b
parent07ae501d1160d491a2ee5f46aa1fc8cecff85652
drm/i915: Extract i845_cursor_ctl() and i9xx_cursor_ctl()

Pull the code to calculate the cursor control register value into
separate functions. Allows us to pre-compute them in the future.

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