drm/crtc-helper: no need to check for fb->depth/bpp
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jun 2013 22:13:12 +0000 (00:13 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 25 Jun 2013 01:01:09 +0000 (11:01 +1000)
commitcbdfebc972adb7c09b56e6aae06d81b5c1edd2cb
treec8dc84f87ad7a0b90388450567a6c0b931e6e430
parente58de88078e92ca3a97b8f15f95c966b6f1dd714
drm/crtc-helper: no need to check for fb->depth/bpp

... since we already check for fb->pixel_format, which encodes all
this. The other two fields are only for backwards compat of older
drivers (and we might want to look into eventually just killing them).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c