From: Matt Roper Date: Thu, 9 Apr 2015 17:48:38 +0000 (-0700) Subject: drm/i915: Clear crtc atomic flags at beginning of transaction X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~58^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e2daea79e96a50cdbca1bdd1a70900e1af5da1;p=pandora-kernel.git drm/i915: Clear crtc atomic flags at beginning of transaction Once we have full atomic modeset, these kind of flags should be in a real intel_crtc_state that's tracked properly. In the meantime, make sure we clear out any old flags at the beginning of a transaction so that we don't wind up seeing leftover flags from old transactions that were checked, but never went to the commit step. At the moment, a failed check or prepare could leave stale flags behind that interfere with the next atomic transaction. v2: Just do a memset; the series this patch was originally part of placed additional fields into the structure that shouldn't be cleared, but that's no longer the case. Signed-off-by: Matt Roper Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed