aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_atomic.h
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2015-05-25 19:11:52 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-05-26 15:50:42 +0200
commit955f3c334f0fb2b843efad5cc6d3b7e141e9d666 (patch)
treea5950f3239adb485d3d1129b66d4419f0d324843 /include/drm/drm_atomic.h
parentdrm/atomic: Add current-mode blob to CRTC state (diff)
downloadlinux-dev-955f3c334f0fb2b843efad5cc6d3b7e141e9d666.tar.xz
linux-dev-955f3c334f0fb2b843efad5cc6d3b7e141e9d666.zip
drm/atomic: Add MODE_ID property
Atomic modesetting: now with modesetting support. v2: Moved drm_atomic_set_mode_prop_for_crtc from previous patch; removed state->active fiddling, documented return code. Changed property type to DRM_MODE_PROP_BLOB. Signed-off-by: Daniel Stone <daniels@collabora.com> Tested-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_atomic.h')
-rw-r--r--include/drm/drm_atomic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 1e8c61f23294..55f46049e4a0 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -113,6 +113,9 @@ int __must_check
drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state,
struct drm_display_mode *mode);
int __must_check
+drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state,
+ struct drm_property_blob *blob);
+int __must_check
drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,
struct drm_crtc *crtc);
void drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state,