Home
last modified time | relevance | path

Searched refs:plane_res (Results 1 – 1 of 1) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmdevice.cpp202 drmModePlaneResPtr plane_res = drmModeGetPlaneResources(fd()); in Init() local
203 if (!plane_res) { in Init()
208 for (uint32_t i = 0; i < plane_res->count_planes; ++i) { in Init()
209 drmModePlanePtr p = drmModeGetPlane(fd(), plane_res->planes[i]); in Init()
211 ALOGE("Failed to get plane %d", plane_res->planes[i]); in Init()
222 ALOGE("Init plane %d failed", plane_res->planes[i]); in Init()
228 drmModeFreePlaneResources(plane_res); in Init()