diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 05:50:02 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 06:37:49 +0100 |
commit | cb55cd0c66a16fd965a44e2634755b060dc64bd7 (patch) | |
tree | 653f6a51b7d7894e17dd890f2b507f5df65ce5a2 /drivers/gpu/drm/nouveau/dispnv50/atom.h | |
parent | drm/nouveau: remove left-over struct member (diff) | |
download | linux-cb55cd0c66a16fd965a44e2634755b060dc64bd7.tar.xz linux-cb55cd0c66a16fd965a44e2634755b060dc64bd7.zip |
drm/nouveau/kms/nv50-: allow more flexibility with lut formats
Will be required for Turing.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/atom.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/atom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/atom.h b/drivers/gpu/drm/nouveau/dispnv50/atom.h index 908feb1fc60f..0ca5ae103ee9 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/atom.h +++ b/drivers/gpu/drm/nouveau/dispnv50/atom.h @@ -57,6 +57,7 @@ struct nv50_head_atom { u8 size:2; u8 range:2; u8 output_mode:2; + void (*load)(struct drm_color_lut *, int size, void __iomem *); } olut; struct { @@ -172,6 +173,8 @@ struct nv50_wndw_atom { u8 size:2; u8 range:2; u8 output_mode:2; + void (*load)(struct drm_color_lut *, int size, + void __iomem *); } i; } xlut; |