Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffceaed6 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Inki Dae
Browse files

drm/exynos: move to_exynos_crtc() macro to main header



With this change we allow other pieces of the code to use this macro.

Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 281d1bbd
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -20,9 +20,6 @@
#include "exynos_drm_encoder.h"
#include "exynos_drm_encoder.h"
#include "exynos_drm_plane.h"
#include "exynos_drm_plane.h"


#define to_exynos_crtc(x)	container_of(x, struct exynos_drm_crtc,\
				drm_crtc)

enum exynos_crtc_mode {
enum exynos_crtc_mode {
	CRTC_MODE_NORMAL,	/* normal mode */
	CRTC_MODE_NORMAL,	/* normal mode */
	CRTC_MODE_BLANK,	/* The private plane of crtc is blank */
	CRTC_MODE_BLANK,	/* The private plane of crtc is blank */
+3 −0
Original line number Original line Diff line number Diff line
@@ -23,6 +23,9 @@
#define MAX_FB_BUFFER	4
#define MAX_FB_BUFFER	4
#define DEFAULT_ZPOS	-1
#define DEFAULT_ZPOS	-1


#define to_exynos_crtc(x)	container_of(x, struct exynos_drm_crtc,\
				drm_crtc)

/* This enumerates device type. */
/* This enumerates device type. */
enum exynos_drm_device_type {
enum exynos_drm_device_type {
	EXYNOS_DEVICE_TYPE_NONE,
	EXYNOS_DEVICE_TYPE_NONE,