commit | 6653cc8d3b8d1c685fbf01cc8a536957045f4609 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Mar 13 12:35:38 2012 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Thu Mar 15 09:48:56 2012 +0000 |
tree | 7b42e3c557fff0dec3cc31e70ac91676be1b5f23 | |
parent | 09016a11fc738e82ca1303e2332473b517bbd660 [diff] |
drm: Reject mode set with current fb if no current fb is bound 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ä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>