diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-07-20 09:49:39 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:51:03 +1000 |
commit | 1fad04ceef14eed22a8f52fab9ff9ab031f24057 (patch) | |
tree | 249d17a295b2f5cc0c976a06cf2e7393c69a7d8c /drivers/gpu/drm/nouveau/dispnv50/crc907d.c | |
parent | 6162638e196f8cf46cc63cb0f5327f7c6ae7d62b (diff) |
drm/nouveau/kms/nv50-: use NVIDIA's headers for core crc_set_ctx()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/crc907d.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/crc907d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/crc907d.c b/drivers/gpu/drm/nouveau/dispnv50/crc907d.c index 3e8842220e7e..0fb0fdb9f119 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/crc907d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/crc907d.c @@ -81,7 +81,7 @@ crc907d_set_ctx(struct nv50_head *head, struct nv50_crc_notifier_ctx *ctx) if ((ret = PUSH_WAIT(push, 2))) return ret; - PUSH_NVSQ(push, NV907D, 0x0438 + (i * 0x300), ctx ? ctx->ntfy.handle : 0); + PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0); return 0; } |