summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-11-29 09:14:31 -0500
committerChris Michael <cp.michael@samsung.com>2016-11-29 09:14:31 -0500
commit4b4201584f663c2b9b04017689967cd4186be20e (patch)
treed7072597c9ee0b4f7e8f9c60301b3c7eaefbc0c9 /src/lib/ecore_drm2/ecore_drm2.c
parent2c7bedc622adc5aa872cb3d63d20c8a719203089 (diff)
ecore-drm2: Add symlink to gamma setting function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2.c b/src/lib/ecore_drm2/ecore_drm2.c
index df0eb2d..491ed47 100644
--- a/src/lib/ecore_drm2/ecore_drm2.c
+++ b/src/lib/ecore_drm2/ecore_drm2.c
@@ -44,6 +44,7 @@ int (*sym_drmModeAddFB)(int fd, uint32_t width, uint32_t height, uint8_t depth,
44int (*sym_drmModeRmFB)(int fd, uint32_t bufferId) = NULL; 44int (*sym_drmModeRmFB)(int fd, uint32_t bufferId) = NULL;
45int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL; 45int (*sym_drmModePageFlip)(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data) = NULL;
46int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL; 46int (*sym_drmModeDirtyFB)(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips) = NULL;
47int (*sym_drmModeCrtcSetGamma)(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue) = NULL;
47 48
48EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1; 49EAPI int ECORE_DRM2_EVENT_OUTPUT_CHANGED = -1;
49EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1; 50EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
@@ -119,6 +120,7 @@ _ecore_drm2_link(void)
119 SYM(drm_lib, drmModeRmFB); 120 SYM(drm_lib, drmModeRmFB);
120 SYM(drm_lib, drmModePageFlip); 121 SYM(drm_lib, drmModePageFlip);
121 SYM(drm_lib, drmModeDirtyFB); 122 SYM(drm_lib, drmModeDirtyFB);
123 SYM(drm_lib, drmModeCrtcSetGamma);
122 124
123 if (fail) 125 if (fail)
124 { 126 {