mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add a function for dumping the entries of a specific flip queue. 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/20250624170049.27284-9-ville.syrjala@linux.intel.com
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_FLIPQ_H__
|
|
#define __INTEL_FLIPQ_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum intel_dsb_id;
|
|
enum intel_flipq_id;
|
|
enum pipe;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_display;
|
|
struct intel_dsb;
|
|
|
|
bool intel_flipq_supported(struct intel_display *display);
|
|
void intel_flipq_init(struct intel_display *display);
|
|
void intel_flipq_reset(struct intel_display *display, enum pipe pipe);
|
|
|
|
void intel_flipq_enable(const struct intel_crtc_state *crtc_state);
|
|
void intel_flipq_disable(const struct intel_crtc_state *old_crtc_state);
|
|
|
|
void intel_flipq_add(struct intel_crtc *crtc,
|
|
enum intel_flipq_id flip_queue_id,
|
|
unsigned int pts,
|
|
enum intel_dsb_id dsb_id,
|
|
struct intel_dsb *dsb);
|
|
int intel_flipq_exec_time_us(struct intel_display *display);
|
|
void intel_flipq_wait_dmc_halt(struct intel_dsb *dsb, struct intel_crtc *crtc);
|
|
void intel_flipq_unhalt_dmc(struct intel_dsb *dsb, struct intel_crtc *crtc);
|
|
void intel_flipq_dump(struct intel_crtc *crtc,
|
|
enum intel_flipq_id flip_queue_id);
|
|
|
|
#endif /* __INTEL_FLIPQ_H__ */
|