drm/i915: Remove some post-commit members from intel_crtc->atomic, v3.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 9 Mar 2016 09:35:44 +0000 (10:35 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 16 Mar 2016 13:50:25 +0000 (14:50 +0100)
commitcd202f69d89c48a935d4763ff96c50e762ed2e0a
tree040f396d45958a52d3be52dd54e7d4e0e8d2755a
parent31fa684096601d8fe5ea11e1c4d473229fef7c70
drm/i915: Remove some post-commit members from intel_crtc->atomic, v3.

fb_bits is useful to have in the crtc_state for cs flips when
the code is updated to use intel_frontbuffer_flip_prepare/complete.
So calculate it in advance and move it to crtc_state. The other stuff
can be calculated in post_plane_update, and aren't useful elsewhere.

Changes since v1:
- Changing wording, remove comment about loop.
Changes since v2:
- Rebase.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457516145-32117-1-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h