diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-07-18 17:39:15 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:50:56 +1000 |
commit | c4b27bc8682c5d919a7e95c7cb3e2021d8b37c92 (patch) | |
tree | ec5ddd153c6f6029de4adce8f6875e5ad9b34394 /drivers/gpu/drm/nouveau/dispnv50/crc.h | |
parent | ff37116ea421ed62e99e310b793214f95f1f8eb0 (diff) | |
download | lwn-c4b27bc8682c5d919a7e95c7cb3e2021d8b37c92.tar.gz lwn-c4b27bc8682c5d919a7e95c7cb3e2021d8b37c92.zip |
drm/nouveau/kms/nv50-: convert core crc_set_src() to new push macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/crc.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/crc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/crc.h b/drivers/gpu/drm/nouveau/dispnv50/crc.h index 4bc59e779315..0c10f84b1d62 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/crc.h +++ b/drivers/gpu/drm/nouveau/dispnv50/crc.h @@ -50,8 +50,8 @@ struct nv50_crc_atom { }; struct nv50_crc_func { - void (*set_src)(struct nv50_head *, int or, enum nv50_crc_source_type, - struct nv50_crc_notifier_ctx *, u32 wndw); + int (*set_src)(struct nv50_head *, int or, enum nv50_crc_source_type, + struct nv50_crc_notifier_ctx *, u32 wndw); void (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); u32 (*get_entry)(struct nv50_head *, struct nv50_crc_notifier_ctx *, enum nv50_crc_source, int idx); |