summaryrefslogtreecommitdiff
path: root/libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp
diff options
context:
space:
mode:
authorYongWook Shin <yongwook.shin@samsung.com>2021-05-06 17:45:07 +0900
committerAaron Ding <aaronding@google.com>2021-05-20 21:28:12 +0800
commit0a00997dec6dbbad04739a432927e98ab18d50ef (patch)
tree4a57ecbb20d31c8549f49ed46676a5e3b8c1fd57 /libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp
parent3e811710af75c56455a3c1e0492345d4cd07cfc2 (diff)
libhwc2.1: Support SoC specific namespace
To support SoC variations, SoC specific codes will support own namespace. Common codes will use specific namespace defined by build variable such as TARGET_BOARD_PLATFORM. Bug: 186905324 Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Change-Id: I4667525730308f683555e331df92cb0e2725fa0a
Diffstat (limited to 'libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp')
-rw-r--r--libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp b/libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp
index f0caf47..a812ba0 100644
--- a/libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp
+++ b/libhwc2.1/libdisplayinterface/ExynosDeviceDrmInterface.cpp
@@ -63,6 +63,8 @@ static void set_dpp_ch_restriction(struct hwc_dpp_ch_restriction &hwc_dpp_restri
hwc_dpp_restriction.restriction.scale_up = 1;
}
+using namespace SOC_VERSION;
+
ExynosDeviceDrmInterface::ExynosDeviceDrmInterface(ExynosDevice *exynosDevice)
{
mType = INTERFACE_TYPE_DRM;