mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
9bbf86fe87
Make the link between all the hardware drivers and DRM/KMS interface. Create the driver itself and make it register all the sub-components. Use GEM CMA helpers for buffer allocation. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: Rob Clark <robdclark@gmail.com>
19 lines
445 B
C
19 lines
445 B
C
/*
|
|
* Copyright (C) STMicroelectronics SA 2014
|
|
* Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
|
|
* License terms: GNU General Public License (GPL), version 2
|
|
*/
|
|
|
|
#ifndef _STI_DRM_PLANE_H_
|
|
#define _STI_DRM_PLANE_H_
|
|
|
|
#include <drm/drmP.h>
|
|
|
|
struct sti_layer;
|
|
|
|
struct drm_plane *sti_drm_plane_init(struct drm_device *dev,
|
|
struct sti_layer *layer,
|
|
unsigned int possible_crtcs,
|
|
enum drm_plane_type type);
|
|
#endif
|