dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/28] Enable Pipe writeback
@ 2025-07-25  5:03 Suraj Kandpal
  2025-07-25  5:03 ` [PATCH 01/28] drm/writeback: Add function that takes preallocated connector Suraj Kandpal
                   ` (28 more replies)
  0 siblings, 29 replies; 56+ messages in thread
From: Suraj Kandpal @ 2025-07-25  5:03 UTC (permalink / raw)
  To: dri-devel, intel-xe, intel-gfx
  Cc: ankit.k.nautiyal, arun.r.murthy, uma.shankar, Suraj Kandpal,
	Harry Wetland

This series aims to enable pipe writeback functionality on
ADLP where it has been tested. The plan is to slowly accomodate
all supported hardware after this functionality is tested on them.
This series also brings change to drm core but not in a drastic way.
We introduce a helper which lets drivers have their own preallocated
conenctor keeping the connector in drm_writeback_conenctor blank.
This lets driver have more control over their connector but still use
the drm core queues for job creation and signalling. Some new helpers
have been added to aid drivers so that derivation of drm_connector
from drm_writeback_connector and vice versa becomes easy for drivers
that will use this helper since it won't be as straight forward as
wb_conn->connector anymore. Driver not using these API will not be
affected in anyways.
This series enables the triggered captured mode where we need to
trigger a capture.

Cc: Harry Wetland <harry.wentland@amd.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (28):
  drm/writeback: Add function that takes preallocated connector
  drm/writeback: Add a helper function to get writeback connector
  drm/writeback: Define function to get drm_connector from writeback
  drm/i915/writeback: Add writeback registers
  drm/i915/writeback: Add some preliminary writeback definitions
  drm/i915/writeback: Init writeback connector
  drm/i915/writeback: Add function for get_writeback_connector
  drm/i915/writeback: Define the get_connector_from_writeback hook
  drm/i915/writeback: Add function to get modes
  drm/i915/writeback: Add hook to check modes
  drm/i915/writeback: Define encoder->get_hw_state
  drm/i915/writeback: Fill encoder->get_config
  drm/i915/writeback: Add private structure for writeback job
  drm/i915/writeback: Define function for prepare and cleanup hooks
  drm/i915/writeback: Define compute_config for writeback
  drm/i915/writeback: Define function for connector function detect
  drm/i915/writeback: Define function to destroy writeback connector
  drm/i915/writeback: Add connector atomic check
  drm/i915/writeback: Add the enable sequence from writeback
  drm/i915/writeback: Add writeback to xe Makefile
  drm/i915/writeback: Define writeback frame capture function
  drm/i915/writeback: Configure WD_STRIDE reg
  drm/i915/writeback: Configure WD_SURF register
  drm/i915/writeback: Enable writeback interrupts
  drm/i915/writeback: Initialize writeback encoder.
  drm/i915/writeback: Define the disable sequence for writeback
  drm/i915/writeback: Make exception for writeback connector
  drm/i915/writeback: Modify state verify function

 drivers/gpu/drm/drm_writeback.c               | 123 +++-
 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_acpi.c     |   1 +
 .../drm/i915/display/intel_crtc_state_dump.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_display.c  | 178 +++--
 drivers/gpu/drm/i915/display/intel_display.h  |   4 +
 .../drm/i915/display/intel_display_debugfs.c  |   3 +
 .../drm/i915/display/intel_display_device.c   |  29 +-
 .../drm/i915/display/intel_display_device.h   |   2 +-
 .../gpu/drm/i915/display/intel_display_irq.c  |  10 +
 .../drm/i915/display/intel_display_limits.h   |   2 +
 .../drm/i915/display/intel_display_power.c    |   4 +
 .../drm/i915/display/intel_display_power.h    |   2 +
 .../gpu/drm/i915/display/intel_display_regs.h |   1 +
 .../drm/i915/display/intel_display_types.h    |   1 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |   3 +
 drivers/gpu/drm/i915/display/intel_opregion.c |   2 +-
 drivers/gpu/drm/i915/display/intel_pmdemand.c |   3 +
 drivers/gpu/drm/i915/display/intel_vdsc.c     |   4 +
 .../gpu/drm/i915/display/intel_writeback.c    | 686 ++++++++++++++++++
 .../gpu/drm/i915/display/intel_writeback.h    |  23 +
 .../drm/i915/display/intel_writeback_reg.h    | 142 ++++
 drivers/gpu/drm/xe/Makefile                   |   1 +
 include/drm/drm_modeset_helper_vtables.h      |  59 ++
 include/drm/drm_writeback.h                   |  21 +-
 25 files changed, 1238 insertions(+), 69 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_writeback.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_writeback.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_writeback_reg.h

-- 
2.34.1


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

end of thread, other threads:[~2025-08-01 14:33 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25  5:03 [PATCH 00/28] Enable Pipe writeback Suraj Kandpal
2025-07-25  5:03 ` [PATCH 01/28] drm/writeback: Add function that takes preallocated connector Suraj Kandpal
2025-07-26 12:15   ` Dmitry Baryshkov
2025-07-26 16:41     ` Kandpal, Suraj
2025-07-27 15:33       ` Dmitry Baryshkov
2025-08-01  4:03         ` Kandpal, Suraj
2025-07-25  5:03 ` [PATCH 02/28] drm/writeback: Add a helper function to get writeback connector Suraj Kandpal
2025-07-26 12:20   ` Dmitry Baryshkov
2025-07-26 16:43     ` Kandpal, Suraj
2025-07-27 15:33       ` Dmitry Baryshkov
2025-08-01  4:04         ` Kandpal, Suraj
2025-07-25  5:03 ` [PATCH 03/28] drm/writeback: Define function to get drm_connector from writeback Suraj Kandpal
2025-07-26 12:33   ` Dmitry Baryshkov
2025-07-26 16:49     ` Kandpal, Suraj
2025-07-27 15:54       ` Dmitry Baryshkov
2025-08-01  5:18         ` Kandpal, Suraj
2025-08-01 10:17           ` Dmitry Baryshkov
2025-08-01 11:57             ` Jani Nikula
2025-08-01 13:19               ` Dmitry Baryshkov
2025-08-01 13:57                 ` Jani Nikula
2025-08-01 14:32             ` Kandpal, Suraj
2025-07-25  5:03 ` [PATCH 04/28] drm/i915/writeback: Add writeback registers Suraj Kandpal
2025-07-28  6:31   ` Murthy, Arun R
2025-07-25  5:03 ` [PATCH 05/28] drm/i915/writeback: Add some preliminary writeback definitions Suraj Kandpal
2025-07-25  5:03 ` [PATCH 06/28] drm/i915/writeback: Init writeback connector Suraj Kandpal
2025-07-25  5:03 ` [PATCH 07/28] drm/i915/writeback: Add function for get_writeback_connector Suraj Kandpal
2025-07-25  5:03 ` [PATCH 08/28] drm/i915/writeback: Define the get_connector_from_writeback hook Suraj Kandpal
2025-07-25  5:03 ` [PATCH 09/28] drm/i915/writeback: Add function to get modes Suraj Kandpal
2025-07-25  5:03 ` [PATCH 10/28] drm/i915/writeback: Add hook to check modes Suraj Kandpal
2025-07-25  5:03 ` [PATCH 11/28] drm/i915/writeback: Define encoder->get_hw_state Suraj Kandpal
2025-07-26 11:55   ` kernel test robot
2025-07-25  5:03 ` [PATCH 12/28] drm/i915/writeback: Fill encoder->get_config Suraj Kandpal
2025-07-25  5:03 ` [PATCH 13/28] drm/i915/writeback: Add private structure for writeback job Suraj Kandpal
2025-07-25  5:03 ` [PATCH 14/28] drm/i915/writeback: Define function for prepare and cleanup hooks Suraj Kandpal
2025-07-26 13:42   ` kernel test robot
2025-07-25  5:03 ` [PATCH 15/28] drm/i915/writeback: Define compute_config for writeback Suraj Kandpal
2025-07-25  5:03 ` [PATCH 16/28] drm/i915/writeback: Define function for connector function detect Suraj Kandpal
2025-07-25  5:03 ` [PATCH 17/28] drm/i915/writeback: Define function to destroy writeback connector Suraj Kandpal
2025-07-26 12:40   ` Dmitry Baryshkov
2025-07-26 16:29     ` Kandpal, Suraj
2025-07-27 15:55       ` Dmitry Baryshkov
2025-07-25  5:03 ` [PATCH 18/28] drm/i915/writeback: Add connector atomic check Suraj Kandpal
2025-07-26 12:38   ` Dmitry Baryshkov
2025-07-25  5:04 ` [PATCH 19/28] drm/i915/writeback: Add the enable sequence from writeback Suraj Kandpal
2025-07-25  5:04 ` [PATCH 20/28] drm/i915/writeback: Add writeback to xe Makefile Suraj Kandpal
2025-07-25  5:04 ` [PATCH 21/28] drm/i915/writeback: Define writeback frame capture function Suraj Kandpal
2025-07-25  5:04 ` [PATCH 22/28] drm/i915/writeback: Configure WD_STRIDE reg Suraj Kandpal
2025-07-25  5:04 ` [PATCH 23/28] drm/i915/writeback: Configure WD_SURF register Suraj Kandpal
2025-07-25  5:04 ` [PATCH 24/28] drm/i915/writeback: Enable writeback interrupts Suraj Kandpal
2025-07-25  5:04 ` [PATCH 25/28] drm/i915/writeback: Initialize writeback encoder Suraj Kandpal
2025-07-25  5:04 ` [PATCH 26/28] drm/i915/writeback: Define the disable sequence for writeback Suraj Kandpal
2025-07-25  5:04 ` [PATCH 27/28] drm/i915/writeback: Make exception for writeback connector Suraj Kandpal
2025-07-26 16:06   ` kernel test robot
2025-07-25  5:04 ` [PATCH 28/28] drm/i915/writeback: Modify state verify function Suraj Kandpal
2025-07-26 12:39 ` [PATCH 00/28] Enable Pipe writeback Dmitry Baryshkov
2025-07-26 16:33   ` Kandpal, Suraj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).