Staging
v0.8.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 4f5cafb5cb8471e54afdc9054d973535614f7675 authored by Linus Torvalds on 13 October 2019, 23:37:36 UTC
Linux 5.4-rc3
Tip revision: 4f5cafb
framebuffer.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2008-2011, Intel Corporation
 *
 * Authors:
 *      Eric Anholt <eric@anholt.net>
 */

#ifndef _FRAMEBUFFER_H_
#define _FRAMEBUFFER_H_

#include <drm/drm_fb_helper.h>

#include "psb_drv.h"

struct psb_framebuffer {
	struct drm_framebuffer base;
	struct address_space *addr_space;
	struct fb_info *fbdev;
};

struct psb_fbdev {
	struct drm_fb_helper psb_fb_helper; /* must be first */
	struct psb_framebuffer pfb;
};

#define to_psb_fb(x) container_of(x, struct psb_framebuffer, base)

extern int gma_connector_clones(struct drm_device *dev, int type_mask);

#endif

back to top