From: Ben Gamari Date: Thu, 11 Jun 2009 04:44:26 +0000 (-0400) Subject: drm/i915: Warn when inteldrmfb fails to restore its framebuffer config X-Git-Tag: v2.6.31-rc1~101^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=049b77cb2ad8bd36308a4a424ca4f2eb4d65d2af;p=pandora-kernel.git drm/i915: Warn when inteldrmfb fails to restore its framebuffer config While sifting through the inteldrmfb code trying to solve #22040 I found that the fb restore path doesn't check the return value of drm_crtc_helper_set_config(), which seems to have all sorts of potential failure modes. We should warn someone if one of these is triggered. Signed-Off-By: Ben Gamari Acked-by: Jesse Barnes [anholt: hand-applied, failures are mine] Signed-off-by: Eric Anholt --- Reading git-diff-tree failed