summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-10-31 20:43:25 -0400
committerRobert Foss <robert.foss@collabora.com>2017-03-10 22:12:27 -0500
commit5894b73d067afd2a622d68e00070222f1b8e7c7f (patch)
tree88cdd4c8a34ec4b91c44a55db0d369b9479c4580
parent4bdb6370bc99ff0a74b1dae20b901302213b0c98 (diff)
downloaddrm_hwcomposer-hwc2_fence_v2_db410c.tar.gz
drm_hwcomposer-hwc2_fence_v2_db410c.tar.xz
HACK: make things biggerhwc2_fence_v2_db410c
-rw-r--r--drmhwctwo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp
index 56806bc..af97296 100644
--- a/drmhwctwo.cpp
+++ b/drmhwctwo.cpp
@@ -342,7 +342,7 @@ HWC2::Error DrmHwcTwo::HwcDisplay::GetDisplayAttribute(hwc2_config_t config,
return HWC2::Error::BadConfig;
}
- static const int32_t kUmPerInch = 25400;
+ static const int32_t kUmPerInch = 25400*2;
uint32_t mm_width = connector_->mm_width();
uint32_t mm_height = connector_->mm_height();
auto attribute = static_cast<HWC2::Attribute>(attribute_in);