drm: Add sanity checks to framebuffer creation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Apr 2012 18:35:18 +0000 (21:35 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:38:20 +0000 (12:38 +0100)
commitd1b45d5f0586041fe750d90a62ba09cffb3eace1
treecd73534530031cce2d26bf1ba7e225b46539f813
parent01b68b0483627631c738dcfca0dee7e22892c420
drm: Add sanity checks to framebuffer creation

Perform some basic sanity check on some of the parameters in
drm_mode_fb_cmd2.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c