summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_crtc.h
diff options
context:
space:
mode:
authorPeter Rosin2017-07-13 18:25:35 +0200
committerDaniel Vetter2017-08-04 11:36:11 +0200
commit804ea3ec442ece4674d4e141a5fa6110f8792c8c (patch)
tree3bf094b0d7282692b9fd1694716a754d0989c214 /drivers/gpu/drm/nouveau/nouveau_crtc.h
parentdrm: mgag200: remove dead code and pointless local lut storage (diff)
downloadkernel-qcow2-linux-804ea3ec442ece4674d4e141a5fa6110f8792c8c.tar.gz
kernel-qcow2-linux-804ea3ec442ece4674d4e141a5fa6110f8792c8c.tar.xz
kernel-qcow2-linux-804ea3ec442ece4674d4e141a5fa6110f8792c8c.zip
drm: nouveau: remove dead code and pointless local lut storage
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are no longer used. Remove the dead code and hook up the crtc .gamma_set to use the crtc gamma_store directly instead of duplicating that info locally. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20170713162538.22788-12-peda@axentia.se
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_crtc.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_crtc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_crtc.h b/drivers/gpu/drm/nouveau/nouveau_crtc.h
index 050fcf30a0d2..b7a18fbee6dc 100644
--- a/drivers/gpu/drm/nouveau/nouveau_crtc.h
+++ b/drivers/gpu/drm/nouveau/nouveau_crtc.h
@@ -61,9 +61,6 @@ struct nouveau_crtc {
struct {
struct nouveau_bo *nvbo;
- uint16_t r[256];
- uint16_t g[256];
- uint16_t b[256];
int depth;
} lut;