diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-06-12 17:50:14 +0300 | 
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-06-17 19:12:08 +0300 | 
| commit | 7e151f53fd6aec9fa04cec6a23a54cd415650330 (patch) | |
| tree | 6f6a2fee58174eb27d759fc22d12f43fdb8056ca /drivers/gpu/drm/i915/display/intel_dsb.h | |
| parent | ed9434c6b4f3d9aa89c9ba6853849b9751a2b1f3 (diff) | |
drm/i915/dsb: Provide intel_dsb_head() and intel_dsb_size()
The upcoming flip queue implementation will need to know the
DSB buffer head and size. Expose those outside intel_dsb.c.
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250612145018.8735-3-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dsb.h')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dsb.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/i915/display/intel_dsb.h b/drivers/gpu/drm/i915/display/intel_dsb.h index 6900acd603b8..ab6489749866 100644 --- a/drivers/gpu/drm/i915/display/intel_dsb.h +++ b/drivers/gpu/drm/i915/display/intel_dsb.h @@ -26,6 +26,8 @@ enum intel_dsb_id {  	I915_MAX_DSBS,  }; +unsigned int intel_dsb_size(struct intel_dsb *dsb); +unsigned int intel_dsb_head(struct intel_dsb *dsb);  struct intel_dsb *intel_dsb_prepare(struct intel_atomic_state *state,  				    struct intel_crtc *crtc,  				    enum intel_dsb_id dsb_id, | 
