From: Daniel Vetter Date: Thu, 28 Mar 2013 15:01:35 +0000 (+0100) Subject: drm/i915: check fb->pixel_format instead of bits_per_pixel X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~51^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f4901e3c9b138d4ba5fd51e93eb97207c6eaca;p=pandora-kernel.git drm/i915: check fb->pixel_format instead of bits_per_pixel We've mostly switched over to the new more flexible schema, but there's one check left in the modeset code. Motivated by a question from Ville whether there's really no way an unsupported pixel_format can escape into our platform update_plane callbacks. v2: Ville noticed that the fb->depth check is redudant when we already check fb->pixel_format. Cc: Ville Syrjälä Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed