diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-06-21 01:51:03 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 11:50:54 +0300 |
commit | caa966a7a6e57c61181e38de34d145df76a4f00b (patch) | |
tree | 74b6d9a984f9fc3b021d913fff9631da9eee4762 /drivers/gpu/drm/nouveau/dispnv50/head.h | |
parent | 1f772f5a08b28fd3d6fc385af70133952a202725 (diff) | |
download | linux-caa966a7a6e57c61181e38de34d145df76a4f00b.tar.xz |
drm/nouveau/kms/nv50-: convert core head_mode() 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/head.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/head.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/head.h b/drivers/gpu/drm/nouveau/dispnv50/head.h index dfd4d2c758d8..2d376e368372 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/head.h +++ b/drivers/gpu/drm/nouveau/dispnv50/head.h @@ -26,7 +26,7 @@ void nv50_head_flush_clr(struct nv50_head *head, struct nv50_head_func { int (*view)(struct nv50_head *, struct nv50_head_atom *); - void (*mode)(struct nv50_head *, struct nv50_head_atom *); + int (*mode)(struct nv50_head *, struct nv50_head_atom *); bool (*olut)(struct nv50_head *, struct nv50_head_atom *, int); bool olut_identity; int olut_size; @@ -51,7 +51,7 @@ struct nv50_head_func { extern const struct nv50_head_func head507d; int head507d_view(struct nv50_head *, struct nv50_head_atom *); -void head507d_mode(struct nv50_head *, struct nv50_head_atom *); +int head507d_mode(struct nv50_head *, struct nv50_head_atom *); bool head507d_olut(struct nv50_head *, struct nv50_head_atom *, int); void head507d_core_calc(struct nv50_head *, struct nv50_head_atom *); void head507d_core_clr(struct nv50_head *); @@ -68,7 +68,7 @@ extern const struct nv50_head_func head827d; extern const struct nv50_head_func head907d; int head907d_view(struct nv50_head *, struct nv50_head_atom *); -void head907d_mode(struct nv50_head *, struct nv50_head_atom *); +int head907d_mode(struct nv50_head *, struct nv50_head_atom *); bool head907d_olut(struct nv50_head *, struct nv50_head_atom *, int); void head907d_olut_set(struct nv50_head *, struct nv50_head_atom *); void head907d_olut_clr(struct nv50_head *); |