drm/atomic: Add drm_atomic_helper_best_encoder()
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 11 May 2016 16:09:21 +0000 (18:09 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 May 2016 16:55:16 +0000 (18:55 +0200)
commit9ecb549867d7f642f0379f574f0e52870009a8bf
tree3988cedd7ae05165ddb233a3e596ac1864d2ba6f
parent2827635e39a35f7263fc290c0a39ea3d1dbe35fa
drm/atomic: Add drm_atomic_helper_best_encoder()

Add (struct drm_connector_helper_funcs *)->best_encoder callback helper
for connectors that support exactly 1 encoder, statically determined at
driver init time.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1462982962-10530-6-git-send-email-noralf@tronnes.org
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic_helper.h