commit | 292889e1ffa8bb56fda2c6208d3f884ce97e1189 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 17 23:18:01 2017 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Mar 23 15:48:06 2017 +0200 |
tree | 7ba5593c46d0ec9c6412cbb13d67ec62c71bdd2b | |
parent | 0a37514795625713f8a0b6e7d33e42a3abd1dbe6 [diff] |
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>