diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-06-12 05:40:36 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-08-23 05:55:32 +0300 |
commit | 88b703527ba70659365d989f29579f1292ebf9c3 (patch) | |
tree | 0bcd2a15ec9625df31604a031cefb30e639ec781 /drivers/gpu/drm/nouveau/dispnv50/atom.h | |
parent | 7c844e9d95fb210b40398516d3d7525e8fa38a5f (diff) | |
download | linux-88b703527ba70659365d989f29579f1292ebf9c3.tar.xz |
drm/nouveau/kms/gf119-: add ctm property support
This adds support on GF119:GV100 (exclusive) for CTM (aka CSC).
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/atom.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/atom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/atom.h b/drivers/gpu/drm/nouveau/dispnv50/atom.h index b5fae5ab3fa8..75bda111da10 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/atom.h +++ b/drivers/gpu/drm/nouveau/dispnv50/atom.h @@ -185,6 +185,11 @@ struct nv50_wndw_atom { } xlut; struct { + u32 matrix[12]; + bool valid; + } csc; + + struct { u8 mode:2; u8 interval:4; @@ -221,6 +226,7 @@ struct nv50_wndw_atom { bool ntfy:1; bool sema:1; bool xlut:1; + bool csc:1; bool image:1; bool scale:1; bool point:1; |