]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit292889e1ffa8bb56fda2c6208d3f884ce97e1189
tree7ba5593c46d0ec9c6412cbb13d67ec62c71bdd2b
parent0a37514795625713f8a0b6e7d33e42a3abd1dbe6
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