commit | a0864d5905a94359621946a027e180a3063f80a5 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Mar 23 21:27:09 2017 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Mar 27 15:58:33 2017 +0300 |
tree | c746248c0c5227bea799b570d059ca58d6540570 | |
parent | 6a4407a653e93f56e0d7b8849fc9c1d334de39fc [diff] |
drm/i915: Pre-compute plane control register value Computing the plane control register value is branchy so moving it out from the plane commit hook seems prudent. Let's pre-compute it during the atomic check phase and store the result in the plane state. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170323192712.30682-4-ville.syrjala@linux.intel.com