]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50-: Remove nv50_mstc_best_encoder()
authorLyude Paul <lyude@redhat.com>
Fri, 13 Sep 2019 22:37:20 +0000 (18:37 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:58 +0000 (10:49 +1000)
commit4bf2c417becbf9e2b0444d5f62688ec753cd5fad
treeec82c162aaa639a293974c59a5c227b9454bafe0
parent8a4693b63a80ba44c2ca7cd9aeabd0a688f1f383
drm/nouveau/kms/nv50-: Remove nv50_mstc_best_encoder()

When drm_connector_helper_funcs->atomic_best_encoder is defined,
->best_encoder is ignored by the atomic modesetting helpers. That being
said, this hook is completely broken anyway - it always returns the
first msto for a given mstc, despite the fact it might already be in
use.

So, just get rid of it. We'll need this in a moment anyway, when we make
mstos per-head as opposed to per-connector.

Changes since v1:
* Fix typo in documentation - imirkin

Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c