Skip to content
Commit 228f2cb3 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Daniel Vetter
Browse files

drm/crtc: Remove duplicated ioctl code



Make drm_mode_add_fb() call drm_mode_add_fb2() after converting its
args to the new internal format, instead of duplicating code.

Also picks up a lot more error checking, which the legacy modes
should pass after being converted to the new format.

Signed-off-by: default avatarChuck Ebbert <cebbert.lkml@gmail.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 209f5527
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment