aboutsummaryrefslogtreecommitdiff
path: root/drmhwctwo.cpp
diff options
context:
space:
mode:
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-05-11 11:40:53 +0100
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-07-13 15:36:48 +0100
commit62e2d2c8a6cf240ccc44c847d8e20f56e4b12492 (patch)
tree056ce3991fb6e9fc0399eed6b03e75c8d766ed9f /drmhwctwo.cpp
parent6f0030f2bb023d99b919104c0331241761677801 (diff)
downloaddrm_hwcomposer-62e2d2c8a6cf240ccc44c847d8e20f56e4b12492.tar.gz
drm_hwcomposer: Purge drm_ from drmdisplaycompositor
Having DrmDevice as a member in DrmDisplayCompositor is redundant, since that could be always retrieved by calling: resource_manager_->GetDrmDevice(display_) Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Diffstat (limited to 'drmhwctwo.cpp')
-rw-r--r--drmhwctwo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp
index a6b48e2..c81828f 100644
--- a/drmhwctwo.cpp
+++ b/drmhwctwo.cpp
@@ -173,7 +173,7 @@ HWC2::Error DrmHwcTwo::HwcDisplay::Init(std::vector<DrmPlane *> *planes) {
}
int display = static_cast<int>(handle_);
- int ret = compositor_.Init(resource_manager_, drm_, display);
+ int ret = compositor_.Init(resource_manager_, display);
if (ret) {
ALOGE("Failed display compositor init for display %d (%d)", display, ret);
return HWC2::Error::NoResources;