diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-01-13 10:12:52 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-01-15 03:25:17 +0300 |
commit | caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e (patch) | |
tree | 2553b8912f868e2f8ddb1f37db6828cd9d7a4c02 /drivers/gpu/drm/nouveau/dispnv50/disp.h | |
parent | add42781ad76c5ae65127bf13852a4c6b2f08849 (diff) | |
download | linux-caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e.tar.xz |
drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
VRAM offset 0 is a valid address, triggered on GA102.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/disp.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/disp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h index 92bddc083617..38dec11e7dda 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.h +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h @@ -95,7 +95,7 @@ struct nv50_outp_atom { int nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, const s32 *oclass, u8 head, void *data, u32 size, - u64 syncbuf, struct nv50_dmac *dmac); + s64 syncbuf, struct nv50_dmac *dmac); void nv50_dmac_destroy(struct nv50_dmac *); /* |