diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-05-19 16:59:35 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-06-16 07:04:52 +0300 |
commit | 22e008f90d546507d57bdac92030cece73ded09a (patch) | |
tree | 1071f8e28fc2620136572c03ff0adc115a2b4580 /drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | |
parent | 49f2b376df7f9235ccbed1e90f0ec93040001a9b (diff) | |
download | linux-22e008f90d546507d57bdac92030cece73ded09a.tar.xz |
drm/nouveau/disp/dp: only check for re-train when the link is active
An upcoming commit will limit link training to only when the sink is
meant to be displaying an image.
We still need IRQs enabled even when the link isn't trained (for MST
messages), but don't want to train the link unnecessarily.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c index bd67335d5466..acc663061ceb 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c @@ -661,9 +661,8 @@ nv50_disp_intr_unk20_0(struct nv50_disp *disp, int head) .execute = 1, }; - nvkm_notify_put(&outpdp->irq); - nvbios_exec(&init); atomic_set(&outpdp->lt.done, 0); + nvbios_exec(&init); } } |