summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-30 12:51:25 +0300
committerThierry Reding <treding@nvidia.com>2016-03-31 13:30:12 +0300
commit3a9b33c6048a9f41c596954e9c3de7c3ab3c4717 (patch)
treedeb9e96c9cfd40969663ff98ed640761c6d635ad /drivers/gpu/drm/tegra
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-3a9b33c6048a9f41c596954e9c3de7c3ab3c4717.tar.xz
drm/tegra: Don't set a gamma table size
Tegra doesn't have any functions to set gamma tables, so this is completely defunct. Not nice to lie to userspace, so let's stop! Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/dc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index fb2b4b0271a2..3b85a31b625d 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -1722,7 +1722,6 @@ static int tegra_dc_init(struct host1x_client *client)
if (err < 0)
goto cleanup;
- drm_mode_crtc_set_gamma_size(&dc->base, 256);
drm_crtc_helper_add(&dc->base, &tegra_crtc_helper_funcs);
/*