drm/atomic: Make prepare_fb/cleanup_fb only take state, v3.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 2 Sep 2015 08:42:40 +0000 (10:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 11:45:54 +0000 (13:45 +0200)
commit844f9111f6f54f88eb2f0fac121b82ce77193866
tree99fe4604582b1ca0a9c3e71ce36d4c42ff46d2e1
parent825926d8e0bfa6f933706236603bb74a8cea002c
drm/atomic: Make prepare_fb/cleanup_fb only take state, v3.

This removes the need to separately track fb changes i915.
That will be done as a separate commit, however.

Changes since v1:
- Add dri-devel to cc.
- Fix a check in intel's prepare and cleanup fb to take rotation
  into account.
Changes since v2:
- Split out i915 changes to a separate commit.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
[danvet: Squash in msm fixup from Maarten.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_plane_helper.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/omapdrm/omap_plane.c
drivers/gpu/drm/tegra/dc.c
include/drm/drm_plane_helper.h