All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] drm/vc4: Atomic color management support
@ 2018-04-11 20:49 Stefan Schake
  2018-04-11 20:49 ` [PATCH v3 1/4] drm/vc4: Add some missing HVS register definitions Stefan Schake
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Stefan Schake @ 2018-04-11 20:49 UTC (permalink / raw)
  To: eric; +Cc: airlied, linux-rpi-kernel, dri-devel, Stefan Schake

This series adds support for the gamma and CTM properties to VC4.

The CTM support is somewhat limited in that we can only enable it for one
CRTC at a time and coefficients are S0.9 in hardware. The latter seems
good enough for the various color corrections Android offers.

The CTM support in v3 is an entire rewrite from previous versions since I
didn't previously model our CTM hardware as private atomic state, which is
needed to correctly limit it to one CRTC. Since v2, Eric has also
confirmed from the HDL that CTM in VC4 is applied before gamma lut,
matching the documented behavior for the DRM property.

Eric Anholt (1):
  drm/vc4: Add some missing HVS register definitions.

Stefan Schake (3):
  drm/vc4: Expose gamma as atomic property
  drm/vc4: Move CRTC state to header
  drm/vc4: Add CTM support

 drivers/gpu/drm/vc4/vc4_crtc.c |  74 ++++++++----------
 drivers/gpu/drm/vc4/vc4_drv.h  |  36 +++++++++
 drivers/gpu/drm/vc4/vc4_kms.c  | 167 ++++++++++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/vc4/vc4_regs.h |  96 +++++++++++++++++++++++
 4 files changed, 328 insertions(+), 45 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-17 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-11 20:49 [PATCH v3 0/4] drm/vc4: Atomic color management support Stefan Schake
2018-04-11 20:49 ` [PATCH v3 1/4] drm/vc4: Add some missing HVS register definitions Stefan Schake
2018-04-11 20:49 ` [PATCH v3 2/4] drm/vc4: Expose gamma as atomic property Stefan Schake
2018-04-11 20:49 ` [PATCH v3 3/4] drm/vc4: Move CRTC state to header Stefan Schake
2018-04-11 20:49 ` [PATCH v3 4/4] drm/vc4: Add CTM support Stefan Schake
2018-04-16 20:36   ` Eric Anholt
2018-04-17 22:00     ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.