mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/2] drm: atmel-hlcdc: clut support
@ 2017-06-22  5:03 Peter Rosin
  2017-06-22  5:03 ` [PATCH v5 1/2] drm: atmel-hlcdc: add missing .set_property helper to the crtc Peter Rosin
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Peter Rosin @ 2017-06-22  5:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Rosin, Boris Brezillon, David Airlie, dri-devel,
	Alexandre Belloni, Nicolas Ferre, Daniel Vetter

Hi!

This series adds support for an 8-bit clut mode in the atmel-hlcdc
driver.

Changes since v4:

- Added .clut_offset for overlay2 at 0xe00 for sama5d4 (unconfirmed if 0xe00
  is the correct offset, but I'll eat my hat if it's not there). The sama5d4
  overlay2 is indeed there, it is just AWOL in the current datasheet.
- Added Acked-by from Daniel on patch 2/2.

Changes since v3:

- Dropped ugly code (patches 2/3 and 3/3) for legacy fbdev interaction.
- Slit out the .set_property change to a patch of its own.

Changes since v2:

- Fix mapping to the clut registers.

Changes since v1:

- Move the clut update from atmel_hlcdc_crtc_mode_valid to
  atmel_hlcdc_plane_atomic_update.
- Add default .gamma_set helper (drm_atomic_helper_legacy_gamma_set).
- Don't keep a spare copy of the clut, reuse gamma_store instead.
- Don't try to synchronize the legacy fb clut with the drm clut.

Cheers,
peda

Peter Rosin (2):
  drm: atmel-hlcdc: add missing .set_property helper to the crtc
  drm: atmel-hlcdc: add support for 8-bit color lookup table mode

 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  |  5 +++++
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    | 14 ++++++++++++
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h    | 16 ++++++++++++++
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 29 +++++++++++++++++++++++++
 4 files changed, 64 insertions(+)

-- 
2.1.4

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

end of thread, other threads:[~2017-06-23  9:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22  5:03 [PATCH v5 0/2] drm: atmel-hlcdc: clut support Peter Rosin
2017-06-22  5:03 ` [PATCH v5 1/2] drm: atmel-hlcdc: add missing .set_property helper to the crtc Peter Rosin
2017-06-23  9:26   ` Daniel Vetter
2017-06-22  5:03 ` [PATCH v5 2/2] drm: atmel-hlcdc: add support for 8-bit color lookup table mode Peter Rosin
2017-06-22  8:12 ` [PATCH v5 0/2] drm: atmel-hlcdc: clut support Nicolas Ferre
2017-06-22 20:59 ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®