linux/drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2013 Red Hat
 * Author: Rob Clark <[email protected]>
 */

#include <linux/delay.h>

#include <drm/drm_vblank.h>

#include "msm_drv.h"
#include "msm_gem.h"
#include "msm_mmu.h"
#include "mdp4_kms.h"

static int mdp4_hw_init(struct msm_kms *kms)
{}

static void mdp4_enable_commit(struct msm_kms *kms)
{}

static void mdp4_disable_commit(struct msm_kms *kms)
{}

static void mdp4_flush_commit(struct msm_kms *kms, unsigned crtc_mask)
{}

static void mdp4_wait_flush(struct msm_kms *kms, unsigned crtc_mask)
{}

static void mdp4_complete_commit(struct msm_kms *kms, unsigned crtc_mask)
{}

static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate,
		struct drm_encoder *encoder)
{}

static void mdp4_destroy(struct msm_kms *kms)
{}

static const struct mdp_kms_funcs kms_funcs =;

int mdp4_disable(struct mdp4_kms *mdp4_kms)
{}

int mdp4_enable(struct mdp4_kms *mdp4_kms)
{}


static int mdp4_modeset_init_intf(struct mdp4_kms *mdp4_kms,
				  int intf_type)
{}

static int modeset_init(struct mdp4_kms *mdp4_kms)
{}

static void read_mdp_hw_revision(struct mdp4_kms *mdp4_kms,
				 u32 *major, u32 *minor)
{}

static int mdp4_kms_init(struct drm_device *dev)
{}

static const struct dev_pm_ops mdp4_pm_ops =;

static int mdp4_probe(struct platform_device *pdev)
{}

static void mdp4_remove(struct platform_device *pdev)
{}

static const struct of_device_id mdp4_dt_match[] =;
MODULE_DEVICE_TABLE(of, mdp4_dt_match);

static struct platform_driver mdp4_platform_driver =;

void __init msm_mdp4_register(void)
{}

void __exit msm_mdp4_unregister(void)
{}