[Intel-gfx] [PATCH 00/10] legacy gamma code cleanup

Daniel Vetter daniel.vetter at ffwll.ch
Wed Mar 30 09:51:15 UTC 2016


Hi all,

Inspired by the color manager work, some prep work cleanup for the legacy gamma
code. Two more things I'd like to pull off:
- rework the fbdev emulation to use the main gamma interfaces, instead of
  hand-rolling it's own.
- add some helpers to implement legacy gamma in terms of atomic and the new
  color manager stuff. Probably not too useful for i915.ko, since legacy gamma
  (which is needed to support C8) and the new color manager stuff use completely
  different hw blocks.

As usual, review&comments highly welcome.

Thanks, Daniel

Daniel Vetter (10):
  drm: Initialize a linear gamma table by default
  drm/fb-helper: Remove dead code in setcolreg
  drm/armada: Drop fb gamma_set/get functions
  drm/bochs: Drop fake gamma support
  drm/cirrus: Drop redundnant gamma size check
  drm/msm: Nuke dummy gamma_set/get functions
  drm/virtio: Drop dummy gamma table support
  drm/imx: Don't set a gamma table size
  drm/qxl: Don't set a gamma table size
  drm/tegra: Don't set a gamma table size

 drivers/gpu/drm/armada/armada_crtc.c       | 10 ---------
 drivers/gpu/drm/armada/armada_crtc.h       |  2 --
 drivers/gpu/drm/armada/armada_fbdev.c      |  2 --
 drivers/gpu/drm/bochs/bochs_fbdev.c        | 15 --------------
 drivers/gpu/drm/bochs/bochs_kms.c          |  7 -------
 drivers/gpu/drm/cirrus/cirrus_mode.c       |  3 ---
 drivers/gpu/drm/drm_crtc.c                 | 13 ++++++++++++
 drivers/gpu/drm/drm_fb_helper.c            | 33 ++----------------------------
 drivers/gpu/drm/gma500/psb_intel_display.c |  7 -------
 drivers/gpu/drm/imx/imx-drm-core.c         |  4 ----
 drivers/gpu/drm/msm/msm_fbdev.c            | 14 -------------
 drivers/gpu/drm/qxl/qxl_display.c          |  1 -
 drivers/gpu/drm/tegra/dc.c                 |  1 -
 drivers/gpu/drm/virtio/virtgpu_display.c   |  9 --------
 14 files changed, 15 insertions(+), 106 deletions(-)

-- 
2.8.0.rc3



More information about the Intel-gfx mailing list