#define pr_fmt(fmt) …
#include <linux/debugfs.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_managed.h>
#include "dpu_encoder_phys.h"
#include "dpu_formats.h"
#include "dpu_hw_top.h"
#include "dpu_hw_wb.h"
#include "dpu_hw_lm.h"
#include "dpu_hw_merge3d.h"
#include "dpu_hw_interrupts.h"
#include "dpu_core_irq.h"
#include "dpu_vbif.h"
#include "dpu_crtc.h"
#include "disp/msm_disp_snapshot.h"
#define to_dpu_encoder_phys_wb(x) …
static bool dpu_encoder_phys_wb_is_master(struct dpu_encoder_phys *phys_enc)
{ … }
static bool _dpu_encoder_phys_wb_clk_force_ctrl(struct dpu_hw_wb *wb,
struct dpu_hw_mdp *mdp,
bool enable, bool *forced_on)
{ … }
static void dpu_encoder_phys_wb_set_ot_limit(
struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_set_qos_remap(
struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_set_qos(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_setup_fb(struct dpu_encoder_phys *phys_enc,
struct drm_framebuffer *fb)
{ … }
static void dpu_encoder_phys_wb_setup_ctl(struct dpu_encoder_phys *phys_enc)
{ … }
static void _dpu_encoder_phys_wb_update_flush(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_setup(
struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_done_irq(void *arg)
{ … }
static void dpu_encoder_phys_wb_irq_enable(struct dpu_encoder_phys *phys)
{ … }
static void dpu_encoder_phys_wb_irq_disable(struct dpu_encoder_phys *phys)
{ … }
static void dpu_encoder_phys_wb_atomic_mode_set(
struct dpu_encoder_phys *phys_enc,
struct drm_crtc_state *crtc_state,
struct drm_connector_state *conn_state)
{ … }
static void _dpu_encoder_phys_wb_handle_wbdone_timeout(
struct dpu_encoder_phys *phys_enc)
{ … }
static int dpu_encoder_phys_wb_wait_for_commit_done(
struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_prepare_for_kickoff(
struct dpu_encoder_phys *phys_enc)
{ … }
static bool dpu_encoder_phys_wb_needs_single_flush(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_handle_post_kickoff(
struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_enable(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_disable(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_prepare_wb_job(struct dpu_encoder_phys *phys_enc,
struct drm_writeback_job *job)
{ … }
static void dpu_encoder_phys_wb_cleanup_wb_job(struct dpu_encoder_phys *phys_enc,
struct drm_writeback_job *job)
{ … }
static bool dpu_encoder_phys_wb_is_valid_for_commit(struct dpu_encoder_phys *phys_enc)
{ … }
static void dpu_encoder_phys_wb_init_ops(struct dpu_encoder_phys_ops *ops)
{ … }
struct dpu_encoder_phys *dpu_encoder_phys_wb_init(struct drm_device *dev,
struct dpu_enc_phys_init_params *p)
{ … }