[PATCH 01/15] drm: Reject mode set with current fb if no current fb is bound

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? When doing a mode set with the special fb id -1, reject the mode set if no fb is currently bound to the crtc. Also remove the pointless list traversal to find the current crtc based on the current crtc :) Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 14 +

[PATCH 01/15] drm: Reject mode set with current fb if no current fb is bound

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä When doing a mode set with the special fb id -1, reject the mode set if no fb is currently bound to the crtc. Also remove the pointless list traversal to find the current crtc based on the current crtc :) Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c | 14 +