mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
The comment blocks at the beginning of each file have a one-line summary description of the file that includes the file name. While the description is useful, the file name only creates opportunities for mistakes (as seen in rcar_du_vsp.c) without any added value. Drop it. Reported-by: Biju Das <[email protected]> Suggested-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
40 lines
997 B
C
40 lines
997 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* R-Car Display Unit Writeback Support
|
|
*
|
|
* Copyright (C) 2019 Laurent Pinchart <[email protected]>
|
|
*/
|
|
|
|
#ifndef __RCAR_DU_WRITEBACK_H__
|
|
#define __RCAR_DU_WRITEBACK_H__
|
|
|
|
#include <drm/drm_plane.h>
|
|
|
|
struct rcar_du_crtc;
|
|
struct rcar_du_device;
|
|
struct vsp1_du_atomic_pipe_config;
|
|
|
|
#ifdef CONFIG_DRM_RCAR_WRITEBACK
|
|
int rcar_du_writeback_init(struct rcar_du_device *rcdu,
|
|
struct rcar_du_crtc *rcrtc);
|
|
void rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc,
|
|
struct vsp1_du_writeback_config *cfg);
|
|
void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc);
|
|
#else
|
|
static inline int rcar_du_writeback_init(struct rcar_du_device *rcdu,
|
|
struct rcar_du_crtc *rcrtc)
|
|
{
|
|
return -ENXIO;
|
|
}
|
|
static inline void
|
|
rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc,
|
|
struct vsp1_du_writeback_config *cfg)
|
|
{
|
|
}
|
|
static inline void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __RCAR_DU_WRITEBACK_H__ */
|