diff options
author | Roman Marchenko <r.marchenko@samsung.com> | 2015-11-25 15:40:03 +0200 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2015-12-02 11:59:58 +0900 |
commit | 7ff94383aa546fc188e846e5f6a64e42afbbaee7 (patch) | |
tree | 67bd7fd612a12338d1cf213670b14d6027133746 | |
parent | bff018709719b7d6b51650b3c5f0a0ab24028e3e (diff) | |
download | libdrm-7ff94383aa546fc188e846e5f6a64e42afbbaee7.tar.gz libdrm-7ff94383aa546fc188e846e5f6a64e42afbbaee7.tar.bz2 libdrm-7ff94383aa546fc188e846e5f6a64e42afbbaee7.zip |
[SPRD] Fix inverse behavior of DPMS property settingsubmit/tizen/20151202.030640accepted/tizen/wearable/20151202.230038accepted/tizen/tv/20151202.230019accepted/tizen/mobile/20151202.230004
Change-Id: I832a6ec5f76d4f8a0b94a616ac840d3d7f379f5b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
-rw-r--r-- | sprd/sprd_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sprd/sprd_drm.c b/sprd/sprd_drm.c index a81bae9d..a97fa444 100644 --- a/sprd/sprd_drm.c +++ b/sprd/sprd_drm.c @@ -874,7 +874,7 @@ static void sprd_drm_connector_set_property(struct sprd_drm_property *prop, uint struct sprd_drm_mode_connector * conn = sprd_drm_resource_get(obj_id); if (conn) { if (strcmp(prop->name, "DPMS") == 0) { - if (val == 0) + if (val == DRM_MODE_DPMS_OFF) sprd_drm_connector_disable(conn); else sprd_drm_connector_enable(conn); |