[PATCH v5 0/3] CRTC background color

Matt Roper
2019-01-31T23:56:01Z

Previous patch series/discussion was here:
https://lists.freedesktop.org/archives/dri-devel/2019-January/205504.html

Reviewed userspace (chromeos) is here:
https://chromium-review.googlesource.com/c/chromium/src/+/1278858
https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/1241436

i-g-t test is here:
https://lists.freedesktop.org/archives/igt-dev/2019-January/008751.html

Just minor changes in this revision:
- Patch 1:
* drm_crtc_add_bgcolor_property() also explicitly sets the crtc
state field to solid black in case the driver doesn't already do
this.
* Added kerneldoc for drm_crtc_add_bgcolor_property()

- Patch 2:
* s/uint64_t/u64/

- Patch 3:
* New i915 patch to add bgcolor to hardware readout & state
verification as suggested by Ville

I think patches #1 and 2 have the necessary reviews and ABI prereqs to
merge at this point. Dave/Daniel, any worries if we merge this through
the intel tree rather than drm-misc? I think merging through the Intel
tree may help avoid some minor conflicts with an upcoming series from
Ville.

Matt Roper (3):
drm: Add CRTC background color property (v5)
drm/i915/gen9+: Add support for pipe background color (v5)
drm/i915: Add background color hardware readout and state check

drivers/gpu/drm/drm_atomic_uapi.c | 4 ++
drivers/gpu/drm/drm_blend.c | 41 +++++++++++++++++--
drivers/gpu/drm/drm_mode_config.c | 6 +++
drivers/gpu/drm/i915/i915_debugfs.c | 9 +++++
drivers/gpu/drm/i915/intel_display.c | 78 +++++++++++++++++++++++++++++++-----
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, 170 insertions(+), 14 deletions(-)

--
2.14.5