From: Daniel Stone Date: Mon, 25 May 2015 18:11:51 +0000 (+0100) Subject: drm/atomic: Add current-mode blob to CRTC state X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~41^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cf4a29fa24461bbfe22125967188a18383eb5c;p=pandora-kernel.git drm/atomic: Add current-mode blob to CRTC state Add a blob property tracking the current mode to the CRTC state, and ensure it is properly updated and referenced. v2: Continue using crtc_state->mode inside getcrtc, instead of reading out the mode blob. Use IS_ERR and PTR_ERR from create_blob. Move set_mode_prop_for_crtc to later patch where it actually gets used. Enforce !!state->enable == !!state->mode_blob inside drm_atomic_crtc_check. Signed-off-by: Daniel Stone Tested-by: Sean Paul Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed