drm/i915: inline intel_best_encoder
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Jul 2012 08:45:45 +0000 (10:45 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 05:56:35 +0000 (07:56 +0200)
commit6d832d189bb671cfa2c681d97625bab2d6463c66
treea413389740692f096e0995a968459f7347879077
parent4f660f49b9d68e53d85f5ce4f5bbf167257e7fc2
drm/i915: inline intel_best_encoder

Also kill the error-path, we have a fixed connector->encoder mapping.

Unfortunately we can't rip out all the ->best_encoder callbacks, these
are all still used by the fb_helper. Neat helper layering violation there.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c