From: Ville Syrjälä Date: Tue, 1 Oct 2013 15:02:10 +0000 (+0300) Subject: drm/i915: Set primary_disabled in intel_{enable, disable}_plane X-Git-Tag: v3.13-rc1~76^2~68^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=939c2fe8bdb0fbf163dc8555a08c5ca863babd89;p=pandora-kernel.git drm/i915: Set primary_disabled in intel_{enable, disable}_plane If the primary gets marked as disabled while the pipe is off for instance, we should still re-enable it when the pipe is turned on, unless the sprite covers it fully also in that configuration. Unfortunately we do the plane visibility checks only in the sprite code, which is executed after the primary enabling when turning the pipe off. Ideally we should compute the plane visibility before touching the hardware at all, but for now just set the primary_disabld flag in intel_{enable,disable}_plane. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed