aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2012-03-13 12:35:38 +0200
committerDave Airlie <[email protected]>2012-03-15 09:48:56 +0000
commit6653cc8d3b8d1c685fbf01cc8a536957045f4609 (patch)
tree7b42e3c557fff0dec3cc31e70ac91676be1b5f23 /lib/memory-notifier-error-inject.c
parent09016a11fc738e82ca1303e2332473b517bbd660 (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ä <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions