summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/sor507d.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-05-22 13:17:05 +1000
committerDave Airlie <airlied@redhat.com>2020-05-22 13:17:12 +1000
commit918b73dcfc69f976d6210028dcb50fbcd15c15ae (patch)
tree001d7e542a6a3cbeb98ad5ed92202f1a46f99daf /drivers/gpu/drm/nouveau/dispnv50/sor507d.c
parent5f0ed4f8f684a2e824c582aee0420a24d43642cd (diff)
parentdc455f4c888365595c0a13da445e092422d55b8d (diff)
Merge branch 'linux-5.8' of git://github.com/skeggsb/linux into drm-next
- HD audio fixes on recent systems - vGPU detection (fail probe if we're on one, for now) - Interlaced mode fixes (mostly avoidance on Turing, which doesn't support it) - SVM improvements/fixes - NVIDIA format modifier support - Misc other fixes. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Ben Skeggs <skeggsb@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/ <CACAvsv6DcRFMDVEftdL7LxNtxuSQQ=qnfqdHXO0K=BmJ8Q2-+g@mail.gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/sor507d.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/sor507d.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/sor507d.c b/drivers/gpu/drm/nouveau/dispnv50/sor507d.c
index 5222fe6a9b21..9a59fa7da00d 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/sor507d.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/sor507d.c
@@ -38,7 +38,14 @@ sor507d_ctrl(struct nv50_core *core, int or, u32 ctrl,
}
}
+static void
+sor507d_get_caps(struct nv50_disp *core, struct nouveau_encoder *outp, int or)
+{
+ outp->caps.dp_interlace = true;
+}
+
const struct nv50_outp_func
sor507d = {
.ctrl = sor507d_ctrl,
+ .get_caps = sor507d_get_caps,
};