]> git.baikalelectronics.ru Git - kernel.git/commit
drm: arc: Rely on the default ->best_encoder() behavior
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 7 Jun 2016 11:47:57 +0000 (13:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jun 2016 15:21:52 +0000 (17:21 +0200)
commit51e9be8abf22ffe1799cd16220a29da63daa88b9
tree226c3f1405f2edf103871f070ac4a0789d4b1884
parentf40619cf9c2724c403010152f9437b5634cd6d95
drm: arc: Rely on the default ->best_encoder() behavior

We have a 1:1 relationship between connectors and encoders and the
driver is relying on the atomic helpers: we can drop the custom
->best_encoder(), and let the core call drm_atomic_helper_best_encoder()
for us.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465300095-16971-3-git-send-email-boris.brezillon@free-electrons.com
drivers/gpu/drm/arc/arcpgu_hdmi.c