Home
last modified time | relevance | path

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

/external/drm_hwcomposer/
Ddrmdevice.cpp211 drmModePlaneResPtr plane_res = drmModeGetPlaneResources(fd()); in Init() local
212 if (!plane_res) { in Init()
217 for (uint32_t i = 0; i < plane_res->count_planes; ++i) { in Init()
218 drmModePlanePtr p = drmModeGetPlane(fd(), plane_res->planes[i]); in Init()
220 ALOGE("Failed to get plane %d", plane_res->planes[i]); in Init()
231 ALOGE("Init plane %d failed", plane_res->planes[i]); in Init()
237 drmModeFreePlaneResources(plane_res); in Init()
/external/libdrm/tests/modetest/
Dmodetest.c100 drmModePlaneRes *plane_res; member
518 if (!dev->resources->plane_res) in dump_planes()
521 for (i = 0; i < dev->resources->plane_res->count_planes; i++) { in dump_planes()
597 if (res->plane_res) { in free_resources()
598 free_properties(res, plane_res, plane); in free_resources()
600 free_resource(res, plane_res, plane, Plane); in free_resources()
602 drmModeFreePlaneResources(res->plane_res); in free_resources()
695 res->plane_res = drmModeGetPlaneResources(dev->fd); in get_resources()
696 if (!res->plane_res) { in get_resources()
702 res->planes = calloc(res->plane_res->count_planes, sizeof(*res->planes)); in get_resources()
[all …]