mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 19:03:28 +07:00
514743357f
Drop use of drmp.h from all header files in drm/gma500. Fix fallout in all files. In some cases moved include lines and sorted them too. With drmP.h removed from all header files it can now be removed from each .c file without any further dependencies Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190519195526.3422-3-sam@ravnborg.org
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2008-2011, Intel Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*
|
|
* 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
|
|
|