forked from Minki/linux
80a58240ef
To support multiple display pipelines, we need to keep track of the multiple display backends and TCONs registered with the driver. Switch to lists to track registered components. Components are only appended to their respective lists if the bind process was successful. The TCON bind function now defers if a backend was not registered. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
28 lines
651 B
C
28 lines
651 B
C
/*
|
|
* Copyright (C) 2015 Free Electrons
|
|
* Copyright (C) 2015 NextThing Co
|
|
*
|
|
* Maxime Ripard <maxime.ripard@free-electrons.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 _SUN4I_DRV_H_
|
|
#define _SUN4I_DRV_H_
|
|
|
|
#include <linux/clk.h>
|
|
#include <linux/list.h>
|
|
#include <linux/regmap.h>
|
|
|
|
struct sun4i_drv {
|
|
struct list_head backend_list;
|
|
struct list_head tcon_list;
|
|
|
|
struct drm_fbdev_cma *fbdev;
|
|
};
|
|
|
|
#endif /* _SUN4I_DRV_H_ */
|