mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
1b8ce4060b
The struct vsp1_drm references a member 'planes' which doesn't exist. Correctly identify this documentation against the 'inputs' Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/*
|
|
* vsp1_drm.h -- R-Car VSP1 DRM/KMS Interface
|
|
*
|
|
* Copyright (C) 2015 Renesas Electronics Corporation
|
|
*
|
|
* Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
#ifndef __VSP1_DRM_H__
|
|
#define __VSP1_DRM_H__
|
|
|
|
#include <linux/videodev2.h>
|
|
|
|
#include "vsp1_pipe.h"
|
|
|
|
/**
|
|
* vsp1_drm - State for the API exposed to the DRM driver
|
|
* @pipe: the VSP1 pipeline used for display
|
|
* @num_inputs: number of active pipeline inputs at the beginning of an update
|
|
* @inputs: source crop rectangle, destination compose rectangle and z-order
|
|
* position for every input
|
|
*/
|
|
struct vsp1_drm {
|
|
struct vsp1_pipeline pipe;
|
|
unsigned int num_inputs;
|
|
struct {
|
|
bool enabled;
|
|
struct v4l2_rect crop;
|
|
struct v4l2_rect compose;
|
|
unsigned int zpos;
|
|
} inputs[VSP1_MAX_RPF];
|
|
};
|
|
|
|
int vsp1_drm_init(struct vsp1_device *vsp1);
|
|
void vsp1_drm_cleanup(struct vsp1_device *vsp1);
|
|
int vsp1_drm_create_links(struct vsp1_device *vsp1);
|
|
|
|
void vsp1_drm_display_start(struct vsp1_device *vsp1);
|
|
|
|
#endif /* __VSP1_DRM_H__ */
|