summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_crtc.h
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2017-07-13 18:25:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-08-04 11:36:11 +0200
commit804ea3ec442ece4674d4e141a5fa6110f8792c8c (patch)
tree3bf094b0d7282692b9fd1694716a754d0989c214 /drivers/gpu/drm/nouveau/nouveau_crtc.h
parent9ed85e14e9b5d8ae628387ee0ba655005e19eeed (diff)
downloadlinux-stable-804ea3ec442ece4674d4e141a5fa6110f8792c8c.tar.gz
linux-stable-804ea3ec442ece4674d4e141a5fa6110f8792c8c.tar.bz2
linux-stable-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;