summaryrefslogtreecommitdiff
path: root/linux-core/radeon_ms_fb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-02 14:04:41 +1000
committerDave Airlie <airlied@redhat.com>2008-06-02 14:04:41 +1000
commit4e7b24639808e5e1e2c05143028db1a3bc2812e9 (patch)
treeba16702759e87caa1119a46a1e18d27048c9667d /linux-core/radeon_ms_fb.c
parenteba6cdc936cb33d929997ccb9bade6f75bb40670 (diff)
drm: add functions to get/set gamma ramps
Diffstat (limited to 'linux-core/radeon_ms_fb.c')
-rw-r--r--linux-core/radeon_ms_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/radeon_ms_fb.c b/linux-core/radeon_ms_fb.c
index e320144e..0ac9207c 100644
--- a/linux-core/radeon_ms_fb.c
+++ b/linux-core/radeon_ms_fb.c
@@ -54,9 +54,9 @@ static int radeonfb_setcolreg(unsigned regno, unsigned red,
if (regno > 255) {
return 1;
}
- if (crtc->funcs->gamma_set) {
- crtc->funcs->gamma_set(crtc, red, green, blue, regno);
- }
+ // if (crtc->funcs->gamma_set) {
+ // crtc->funcs->gamma_set(crtc, red, green, blue, regno);
+ // }
if (regno < 16) {
switch (fb->depth) {
case 15: