All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add "BACKGROUND_COLOR" drm property
@ 2021-07-07  8:48 ` Raphael GALLAIS-POU - foss
  0 siblings, 0 replies; 60+ messages in thread
From: Raphael GALLAIS-POU - foss @ 2021-07-07  8:48 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Daniel Vetter, Yannick FERTRE - foss,
	Philippe CORNU - foss, Benjamin Gaignard, Maxime Coquelin,
	Alexandre TORGUE - foss, Matt Roper, dri-devel, linux-kernel,
	linux-stm32, linux-arm-kernel
  Cc: Yannick FERTRE, Philippe CORNU, Raphael GALLAIS-POU - foss,
	Raphael GALLAIS-POU

Hello,

This series aims to add a generic background color property for CRTC as
discussed in the conversation:
https://patchwork.freedesktop.org/patch/439585/

This patch "drm: add crtc background color property" is strongly inspired
of Matthew Roper's.  Please see:
https://patchwork.freedesktop.org/patch/333632/

Raphael Gallais-Pou (2):
  drm: add crtc background color property
  drm/stm: ltdc: add crtc background color property support

 drivers/gpu/drm/drm_atomic_state_helper.c |  1 +
 drivers/gpu/drm/drm_atomic_uapi.c         |  4 ++
 drivers/gpu/drm/drm_blend.c               | 34 +++++++++++++++-
 drivers/gpu/drm/drm_mode_config.c         |  6 +++
 drivers/gpu/drm/stm/ltdc.c                | 48 ++++++++++++++++++++---
 include/drm/drm_blend.h                   |  1 +
 include/drm/drm_crtc.h                    | 12 ++++++
 include/drm/drm_mode_config.h             |  5 +++
 include/uapi/drm/drm_mode.h               | 28 +++++++++++++
 9 files changed, 132 insertions(+), 7 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 60+ messages in thread
* [PATCH 0/2] CRTC background color
@ 2018-10-10 23:50 Matt Roper
  2018-10-10 23:50 ` [PATCH 1/2] drm: Add CRTC background color property Matt Roper
  0 siblings, 1 reply; 60+ messages in thread
From: Matt Roper @ 2018-10-10 23:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: wei.c.li, dri-devel, harish.krupo.kps

Some display controllers can be programmed to present non-black colors
for pixels not covered by any plane (or pixels covered by the
transparent regions of higher planes).  Compositors that want a UI with
a solid color background can potentially save memory bandwidth by
setting the CRTC background property and using smaller planes to display
the rest of the content.

Earlier versions of these patches were floated on dri-devel about 2.5
years ago, but at that time the only userspace software that made use of
this was closed-source (product-specific Wayland compositors), so we
never landed the patches upstream.  I'm told that there's now some
renewed interest in this functionality from both the ChromeOS camp and
the Weston camp, so I'm re-posting updated kernel patches here to get
the ball rolling again.  As always, we'll still need the patches for at
least one of those projects to get posted (and reviewed) somewhere
public before we actually merge these kernel patches.

Cc: dri-devel@lists.freedesktop.org
Cc: wei.c.li@intel.com
Cc: harish.krupo.kps@intel.com

Matt Roper (2):
  drm: Add CRTC background color property
  drm/i915/gen9+: Add support for pipe background color

 drivers/gpu/drm/drm_atomic_state_helper.c |  1 +
 drivers/gpu/drm/drm_atomic_uapi.c         |  5 +++++
 drivers/gpu/drm/drm_mode_config.c         |  6 ++++++
 drivers/gpu/drm/i915/i915_debugfs.c       |  9 ++++++++
 drivers/gpu/drm/i915/i915_reg.h           |  6 ++++++
 drivers/gpu/drm/i915/intel_display.c      | 34 +++++++++++++++++++++++++++++++
 include/drm/drm_crtc.h                    | 17 ++++++++++++++++
 include/drm/drm_mode_config.h             |  5 +++++
 include/uapi/drm/drm_mode.h               | 26 +++++++++++++++++++++++
 9 files changed, 109 insertions(+)

-- 
2.14.4

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

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

end of thread, other threads:[~2021-07-15 18:12 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  8:48 [PATCH 0/2] Add "BACKGROUND_COLOR" drm property Raphael GALLAIS-POU - foss
2021-07-07  8:48 ` Raphael GALLAIS-POU - foss
2021-07-07  8:48 ` Raphael GALLAIS-POU - foss
2021-07-07  8:48 ` [PATCH 1/2] drm: add crtc background color property Raphael GALLAIS-POU - foss
2021-07-07  8:48   ` Raphael GALLAIS-POU - foss
2021-07-07  8:48   ` Raphael GALLAIS-POU - foss
2021-07-07 15:07   ` kernel test robot
2021-07-09  8:04   ` Pekka Paalanen
2021-07-09  8:04     ` Pekka Paalanen
2021-07-09  8:04     ` Pekka Paalanen
2021-07-09 16:23     ` Raphael Gallais-Pou
2021-07-09 16:23       ` Raphael Gallais-Pou
2021-07-09 16:23       ` Raphael Gallais-Pou
2021-07-12  8:03       ` Pekka Paalanen
2021-07-12  8:03         ` Pekka Paalanen
2021-07-12  8:03         ` Pekka Paalanen
2021-07-12 16:15         ` Harry Wentland
2021-07-12 16:15           ` Harry Wentland
2021-07-12 16:15           ` Harry Wentland
2021-07-13  7:52           ` Pekka Paalanen
2021-07-13  7:52             ` Pekka Paalanen
2021-07-13  7:52             ` Pekka Paalanen
2021-07-13 13:54             ` Harry Wentland
2021-07-13 13:54               ` Harry Wentland
2021-07-13 13:54               ` Harry Wentland
2021-07-14  7:35               ` Pekka Paalanen
2021-07-14  7:35                 ` Pekka Paalanen
2021-07-14  7:35                 ` Pekka Paalanen
2021-07-14 16:13                 ` Harry Wentland
2021-07-14 16:13                   ` Harry Wentland
2021-07-14 16:13                   ` Harry Wentland
2021-07-15  9:34                   ` Pekka Paalanen
2021-07-15  9:34                     ` Pekka Paalanen
2021-07-15  9:34                     ` Pekka Paalanen
2021-07-15 18:10                     ` Harry Wentland
2021-07-15 18:10                       ` Harry Wentland
2021-07-15 18:10                       ` Harry Wentland
2021-07-07  8:48 ` [PATCH 2/2] drm/stm: ltdc: add crtc background color property support Raphael GALLAIS-POU - foss
2021-07-07  8:48   ` Raphael GALLAIS-POU - foss
2021-07-07  8:48   ` Raphael GALLAIS-POU - foss
2021-07-09  7:36   ` Pekka Paalanen
2021-07-09  7:36     ` Pekka Paalanen
2021-07-09  7:36     ` Pekka Paalanen
2021-07-07  9:03 ` [PATCH 0/2] Add "BACKGROUND_COLOR" drm property Simon Ser
2021-07-07  9:03   ` Simon Ser
2021-07-07  9:03   ` Simon Ser
2021-07-07 11:42   ` Daniel Vetter
2021-07-07 11:42     ` Daniel Vetter
2021-07-07 11:42     ` Daniel Vetter
2021-07-09  9:09     ` Raphael Gallais-Pou
2021-07-09  9:09       ` Raphael Gallais-Pou
2021-07-09  9:09       ` Raphael Gallais-Pou
2021-07-09  9:23       ` Simon Ser
2021-07-09  9:23         ` Simon Ser
2021-07-09  9:23         ` Simon Ser
2021-07-12 15:50         ` Raphael Gallais-Pou
2021-07-12 15:50           ` Raphael Gallais-Pou
2021-07-12 15:50           ` Raphael Gallais-Pou
  -- strict thread matches above, loose matches on Subject: below --
2018-10-10 23:50 [PATCH 0/2] CRTC background color Matt Roper
2018-10-10 23:50 ` [PATCH 1/2] drm: Add CRTC background color property Matt Roper
2018-10-11 11:30   ` Ville Syrjälä

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.