aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/nouveau/dispnv50/core507d.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-06-20 17:55:22 +1000
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 18:51:01 +1000
commitd8b24526ef68059b91b4c2ea6c4ff8a0e39eb926 (patch)
tree81e9ce408cd01178eb11231f6a0ba43966f17aad /drivers/gpu/drm/nouveau/dispnv50/core507d.c
parentdrm/nouveau/kms/nv50-: use NVIDIA's headers for core ntfy_init() (diff)
downloadwireguard-linux-d8b24526ef68059b91b4c2ea6c4ff8a0e39eb926.tar.xz
wireguard-linux-d8b24526ef68059b91b4c2ea6c4ff8a0e39eb926.zip
drm/nouveau/kms/nv50-: use NVIDIA's headers for core caps_init()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/core507d.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/core507d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/core507d.c b/drivers/gpu/drm/nouveau/dispnv50/core507d.c
index f28b91cae2db..626f83904434 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/core507d.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/core507d.c
@@ -76,7 +76,7 @@ core507d_caps_init(struct nouveau_drm *drm, struct nv50_disp *disp)
if ((ret = PUSH_WAIT(push, 2)))
return ret;
- PUSH_NVSQ(push, NV507D, 0x008c, 0x00000000);
+ PUSH_MTHD(push, NV507D, GET_CAPABILITIES, 0x00000000);
return PUSH_KICK(push);
}