diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-20 17:55:22 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:51:01 +1000 |
commit | d8b24526ef68059b91b4c2ea6c4ff8a0e39eb926 (patch) | |
tree | 81e9ce408cd01178eb11231f6a0ba43966f17aad /drivers/gpu/drm/nouveau/dispnv50 | |
parent | 38a323b0076c4c0fa330c92751967ef51936588d (diff) | |
download | linux-d8b24526ef68059b91b4c2ea6c4ff8a0e39eb926.tar.bz2 |
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')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/core507d.c | 2 |
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); } |