diff options
Diffstat (limited to 'hwcomposer/display.cc')
-rw-r--r-- | hwcomposer/display.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hwcomposer/display.cc b/hwcomposer/display.cc index 76d8052..0a3ddae 100644 --- a/hwcomposer/display.cc +++ b/hwcomposer/display.cc | |||
@@ -164,14 +164,15 @@ static void set_plane_properties(kms::AtomicReq &req, drm_plane_props_t *plane_p | |||
164 | uint32_t fb_id = plane_props->fb_info->fb_id; | 164 | uint32_t fb_id = plane_props->fb_info->fb_id; |
165 | kms::Plane* plane = plane_props->plane; | 165 | kms::Plane* plane = plane_props->plane; |
166 | 166 | ||
167 | req.add(plane, "FB_ID", fb_id); | ||
168 | |||
167 | if (!fb_id) { | 169 | if (!fb_id) { |
168 | /* disable plane */ | 170 | /* disable plane */ |
169 | ALOGI("Disabling plane %d", plane->id()); | 171 | ALOGI("Disabling plane %d", plane->id()); |
172 | req.add(plane, "ACTIVE", 0); | ||
170 | return; | 173 | return; |
171 | } | 174 | } |
172 | 175 | ||
173 | req.add(plane, "FB_ID", fb_id); | ||
174 | |||
175 | req.add(plane, "IN_FENCE_FD", plane_props->fb_info->acquirefence); | 176 | req.add(plane, "IN_FENCE_FD", plane_props->fb_info->acquirefence); |
176 | 177 | ||
177 | req.add(plane, { | 178 | req.add(plane, { |