linux/drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c

// SPDX-License-Identifier: GPL-2.0+
// Copyright 2018 IBM Corporation

#include <linux/clk.h>
#include <linux/reset.h>
#include <linux/regmap.h>

#include <drm/drm_device.h>
#include <drm/drm_fb_dma_helper.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_panel.h>
#include <drm/drm_simple_kms_helper.h>
#include <drm/drm_vblank.h>

#include "aspeed_gfx.h"

static struct aspeed_gfx *
drm_pipe_to_aspeed_gfx(struct drm_simple_display_pipe *pipe)
{}

static int aspeed_gfx_set_pixel_fmt(struct aspeed_gfx *priv, u32 *bpp)
{}

static void aspeed_gfx_enable_controller(struct aspeed_gfx *priv)
{}

static void aspeed_gfx_disable_controller(struct aspeed_gfx *priv)
{}

static void aspeed_gfx_crtc_mode_set_nofb(struct aspeed_gfx *priv)
{}

static void aspeed_gfx_pipe_enable(struct drm_simple_display_pipe *pipe,
			      struct drm_crtc_state *crtc_state,
			      struct drm_plane_state *plane_state)
{}

static void aspeed_gfx_pipe_disable(struct drm_simple_display_pipe *pipe)
{}

static void aspeed_gfx_pipe_update(struct drm_simple_display_pipe *pipe,
				   struct drm_plane_state *plane_state)
{}

static int aspeed_gfx_enable_vblank(struct drm_simple_display_pipe *pipe)
{}

static void aspeed_gfx_disable_vblank(struct drm_simple_display_pipe *pipe)
{}

static const struct drm_simple_display_pipe_funcs aspeed_gfx_funcs =;

static const uint32_t aspeed_gfx_formats[] =;

int aspeed_gfx_create_pipe(struct drm_device *drm)
{}