summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/disp.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-01-13 10:12:52 +0300
committerBen Skeggs <bskeggs@redhat.com>2021-01-15 03:25:17 +0300
commitcaeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e (patch)
tree2553b8912f868e2f8ddb1f37db6828cd9d7a4c02 /drivers/gpu/drm/nouveau/dispnv50/disp.h
parentadd42781ad76c5ae65127bf13852a4c6b2f08849 (diff)
downloadlinux-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.h2
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 *);
/*