libhwc: resolve compilation errors lineage-16.0
authorJan Altensen <info@stricted.net>
Sat, 3 Oct 2020 05:13:27 +0000 (07:13 +0200)
committerJan Altensen <info@stricted.net>
Thu, 8 Oct 2020 03:34:25 +0000 (05:34 +0200)
Change-Id: I9f5e26da0398d240b74ea763f11dbf085faa7e00

libhwc/ExynosHWC.cpp
libhwc/ExynosHWC.h

index 21d739710ca9f32cb87b6546f77f1c24a556444e..c6f1e50a31bfc2a2e5e37d98e1e34fc95408a276 100644 (file)
@@ -965,7 +965,7 @@ int exynos5_getDisplayAttributes(struct hwc_composer_device_1 *dev,
             values[i] = pdev->secondaryDisplay->getDisplayAttributes(attributes[i]);
 #else
         if (disp == HWC_DISPLAY_PRIMARY)
-            values[i] = pdev->primaryDisplay->getDisplayAttributes(attributes[i]);
+            values[i] = pdev->primaryDisplay->getDisplayAttributes(attributes[i], config);
 #endif
         else if (disp == HWC_DISPLAY_EXTERNAL) {
             if (hwcHasApiVersion((hwc_composer_device_1_t*)dev, HWC_DEVICE_API_VERSION_1_4))
index 6b05e81cec3e13d9eb8b7af2cb83f2a206ddda48..324c1f106fe5b634cb1844e6dc96ef04bdc1f9a7 100644 (file)
@@ -37,7 +37,7 @@
 #endif
 #include "ExynosDisplayResourceManagerModule.h"
 #else
-#include <s3c-fb.h>
+#include <decon-fb.h>
 #endif
 
 #include <EGL/egl.h>