[Intel-gfx] [PATCH v7 0/3] CRTC background color

Matt Roper matthew.d.roper at intel.com
Mon Sep 30 22:47:04 UTC 2019


The previous version of this series was posted in February here:
        https://lists.freedesktop.org/archives/dri-devel/2019-February/208068.html

Right before we merged this in February Maarten noticed that we should
be setting up the initial property state in a CRTC reset function (which
didn't exist yet) instead of when the property was attached.  Maarten
landed the CRTC reset functionality a week or two later, but I was busy
with travel and other work at the time, so revisiting and rebasing this
background color series fell through the cracks and I'm just getting
back to it now.

Userspace consumer is chromeos; these are the links the ChromeOS folks
gave me back in February:
  https://chromium-review.googlesource.com/c/chromium/src/+/1278858
  https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/1241436

IGT is still the same as posted in February:
  https://lists.freedesktop.org/archives/igt-dev/2019-February/009637.html

Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

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

 drivers/gpu/drm/drm_atomic_state_helper.c    |  4 +-
 drivers/gpu/drm/drm_atomic_uapi.c            |  4 ++
 drivers/gpu/drm/drm_blend.c                  | 35 +++++++++++++--
 drivers/gpu/drm/drm_mode_config.c            |  6 +++
 drivers/gpu/drm/i915/display/intel_color.c   | 11 +++--
 drivers/gpu/drm/i915/display/intel_display.c | 45 ++++++++++++++++++++
 drivers/gpu/drm/i915/i915_debugfs.c          |  9 ++++
 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 ++++++++++++
 11 files changed, 153 insertions(+), 7 deletions(-)

-- 
2.21.0



More information about the Intel-gfx mailing list