diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2015-12-16 13:56:46 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2015-12-16 13:58:45 +0900 |
commit | 57114dc3f550cf6b1529196a80bd077fee38c48e (patch) | |
tree | 04c61c5eae569d0fbe1d62e67c56e39a497bd627 | |
parent | 2a71d406c2fa9a2df41bdf6d09969b1c7e62341e (diff) | |
download | libdrm-57114dc3f550cf6b1529196a80bd077fee38c48e.tar.gz libdrm-57114dc3f550cf6b1529196a80bd077fee38c48e.tar.bz2 libdrm-57114dc3f550cf6b1529196a80bd077fee38c48e.zip |
sprd_drm: turn off the SPRD_DEBUG_MSGsubmit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151216.074016accepted/tizen/wearable/20151217.021424accepted/tizen/tv/20151217.021313accepted/tizen/mobile/20151217.021411
Change-Id: Ibe883b2e4698b88002c17c30127de6efa3f1cb7c
-rwxr-xr-x[-rw-r--r--] | sprd/sprd_drm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sprd/sprd_drm.c b/sprd/sprd_drm.c index add3bbdc..283ba1e6 100644..100755 --- a/sprd/sprd_drm.c +++ b/sprd/sprd_drm.c @@ -57,16 +57,16 @@ #define ALIGN(_v, _d) (((_v) + ((_d) - 1)) & ~((_d) - 1)) -#define SPRD_DEBUG_MSG 1 +//#define SPRD_DEBUG_MSG 1 #ifdef SPRD_DEBUG_MSG #define SPRD_DRM_DEBUG(fmt, ...) printf(fmt, ##__VA_ARGS__) - #define SPRD_DRM_ERROR(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) #else #define SPRD_DRM_DEBUG(fmt, ...) - #define SPRD_DRM_ERROR(fmt, ...) #endif +#define SPRD_DRM_ERROR(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) + #define FB_DEV_LCD "/dev/fb0" //TODO:: @@ -859,7 +859,7 @@ static int32_t sprd_drm_plane_set_property(struct sprd_drm_property *prop, uint3 if (plane == NULL) { return -EINVAL; } - + if (strcmp(prop->name, "zpos") == 0) { zpos = (uint32_t)val; } @@ -870,7 +870,7 @@ static int32_t sprd_drm_plane_set_property(struct sprd_drm_property *prop, uint3 if(!_chack_zpos(zpos)) { return -EINVAL; } - + if (plane->zpos != zpos) { plane->need_update = 1; plane->zpos = zpos; @@ -1014,7 +1014,7 @@ static int32_t sprd_drm_connector_set_property(struct sprd_drm_property *prop, u sprd_drm_connector_enable(conn); } } - + return 0; } |