summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-06 12:51:43 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-06 12:51:43 +0200
commitd5d3f31b108c8514a820bb50a5736ba06fc33275 (patch)
treef78da8efacface277ad608889cb57f9a74b487df /linux-core
parent88f668a0b91a9961d599c46392f3acbb5573ed9d (diff)
NV50: init gamma storage
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/nv50_kms_wrapper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c
index 8f71e649..a7966e9a 100644
--- a/linux-core/nv50_kms_wrapper.c
+++ b/linux-core/nv50_kms_wrapper.c
@@ -762,6 +762,9 @@ static int nv50_kms_crtcs_init(struct drm_device *dev)
struct drm_crtc *drm_crtc = to_nv50_kms_crtc(crtc);
drm_crtc_init(dev, drm_crtc, &nv50_kms_crtc_funcs);
+
+ /* init lut storage */
+ drm_mode_crtc_set_gamma_size(drm_crtc, 256);
}
return 0;