projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b28ca2
)
drm/qxl: Don't set a gamma table size
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 09:51:24 +0000
(11:51 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 31 May 2016 13:26:57 +0000
(15:26 +0200)
qxl doesn't have any functions for setting the gamma table, so this is
completely defunct.
Not nice to lie to userspace, so let's stop!
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1459331485-28376-10-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/qxl/qxl_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_display.c
b/drivers/gpu/drm/qxl/qxl_display.c
index 8b5d543858927d9718a34fc5c2027f36d27325ed..5bc36c4d423266db51dfda2584f770c029faebfb 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_display.c
+++ b/
drivers/gpu/drm/qxl/qxl_display.c
@@
-730,7
+730,6
@@
static int qdev_crtc_init(struct drm_device *dev, int crtc_id)
drm_crtc_init(dev, &qxl_crtc->base, &qxl_crtc_funcs);
qxl_crtc->index = crtc_id;
- drm_mode_crtc_set_gamma_size(&qxl_crtc->base, 256);
drm_crtc_helper_add(&qxl_crtc->base, &qxl_crtc_helper_funcs);
return 0;
}