Home
last modified time | relevance | path

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

/external/libkmsxx/kms++/src/
Dplane.cpp17 drmModePlanePtr drm_plane; member
24 m_priv->drm_plane = drmModeGetPlane(this->card().fd(), this->id()); in Plane()
25 assert(m_priv->drm_plane); in Plane()
30 drmModeFreePlane(m_priv->drm_plane); in ~Plane()
36 return m_priv->drm_plane->possible_crtcs & (1 << crtc->idx()); in supports_crtc()
41 auto p = m_priv->drm_plane; in supports_format()
74 for (uint32_t crtc_mask = m_priv->drm_plane->possible_crtcs; in get_possible_crtcs()
93 auto p = m_priv->drm_plane; in get_formats()
104 return m_priv->drm_plane->crtc_id; in crtc_id()
109 return m_priv->drm_plane->fb_id; in fb_id()
[all …]
/external/igt-gpu-tools/tests/
Dkms_force_connector_basic.c144 drmModePlane *drm_plane; variable
148 drm_plane = drmModeGetPlane(drm_fd, plane_id);
149 igt_assert(drm_plane);
151 for (j = 0; j < drm_plane->count_formats; j++) {
152 uint32_t format = drm_plane->formats[j];
153 uint32_t crtc = ffs(drm_plane->possible_crtcs) - 1;
172 drmModeFreePlane(drm_plane);
189 drmModePlane *drm_plane; variable
191 drm_plane = drmModeGetPlane(drm_fd,
193 igt_assert(drm_plane);
[all …]
Dkms_legacy_colorkey.c60 test_plane(plane->drm_plane->plane_id,
63 max_id = max(max_id, plane->drm_plane->plane_id);
Dkms_pwrite_crc.c65 data->primary->drm_plane->plane_id, in test()
73 data->primary->drm_plane->plane_id, in test()
92 data->primary->drm_plane->plane_id, in test()
Dkms_plane_scaling.c239 for (int j = 0; j < plane->drm_plane->count_formats; j++) { in test_scaler_with_rotation_pipe()
240 unsigned format = plane->drm_plane->formats[j]; in test_scaler_with_rotation_pipe()
275 for (int j = 0; j < plane->drm_plane->count_formats; j++) { in test_scaler_with_pixel_format_pipe()
276 uint32_t format = plane->drm_plane->formats[j]; in test_scaler_with_pixel_format_pipe()
513 for (int i = 0; i < d->plane1->drm_plane->count_formats; i++) { in test_scaler_with_clipping_clamping_scenario()
514 unsigned f1 = d->plane1->drm_plane->formats[i]; in test_scaler_with_clipping_clamping_scenario()
519 for (int j = 0; j < d->plane2->drm_plane->count_formats; j++) { in test_scaler_with_clipping_clamping_scenario()
520 unsigned f2 = d->plane2->drm_plane->formats[j]; in test_scaler_with_clipping_clamping_scenario()
Dkms_atomic_interruptible.c156 plane->drm_plane->plane_id in run_plane_test()
229 .plane_id = plane->drm_plane->plane_id, in run_plane_test()
Dkms_atomic.c101 legacy = drmModeGetPlane(plane->pipe->display->drm_fd, plane->drm_plane->plane_id); in plane_check_current_state()
269 plane_kms = plane->drm_plane; in plane_get_igt_format()
555 igt_plane_set_prop_value(plane, IGT_PLANE_FB_ID, plane->drm_plane->plane_id); in plane_invalid_params()
575 igt_plane_set_prop_value(plane, IGT_PLANE_CRTC_ID, plane->drm_plane->plane_id); in plane_invalid_params()
645 igt_pipe_obj_set_prop_value(pipe, IGT_CRTC_MODE_ID, plane->drm_plane->plane_id); in crtc_invalid_params()
860 props_raw[0] = plane->drm_plane->plane_id; in atomic_invalid_params()
Dkms_universal_plane.c245 igt_assert(drmModeSetPlane(data->drm_fd, primary->drm_plane->plane_id, in functional_test_pipe()
397 igt_assert(drmModeSetPlane(data->drm_fd, primary->drm_plane->plane_id, in sanity_test_pipe()
408 igt_assert(drmModeSetPlane(data->drm_fd, primary->drm_plane->plane_id, in sanity_test_pipe()
422 primary->drm_plane->plane_id, in sanity_test_pipe()
Dkms_rmfb.c136 drmModePlanePtr planeres = drmModeGetPlane(data->drm_fd, plane->drm_plane->plane_id); in test_rmfb()
Dkms_lease.c873 DRM_PLANE_TYPE_PRIMARY)->drm_plane->plane_id; in run_test()
938 DRM_PLANE_TYPE_PRIMARY)->drm_plane->plane_id; in invalid_create_leases()
1105 DRM_PLANE_TYPE_PRIMARY)->drm_plane->plane_id; in _create_simple_lease()
1193 DRM_PLANE_TYPE_CURSOR)->drm_plane->plane_id; in implicit_plane_lease()
1198 DRM_PLANE_TYPE_PRIMARY)->drm_plane->plane_id; in implicit_plane_lease()
Dkms_properties.c197 test_properties(display->drm_fd, DRM_MODE_OBJECT_PLANE, plane->drm_plane->plane_id, atomic); in run_plane_property_tests()
378 …test_invalid_properties(display->drm_fd, id, type, plane->drm_plane->plane_id, DRM_MODE_OBJECT_PLA… in test_object_invalid_properties()
720 …test_object_invalid_properties(display, plane->drm_plane->plane_id, DRM_MODE_OBJECT_PLANE, atomic); in invalid_properties()
Dkms_rotation_crc.c405 for (j = 0; j < plane->drm_plane->count_formats; j++) { in test_plane_rotation()
406 uint32_t format = plane->drm_plane->formats[j]; in test_plane_rotation()
Dkms_available_modes_crc.c402 plane->drm_plane->plane_id); in test_available_modes()
Dkms_plane.c668 if (!plane->drm_plane) { in test_format_plane()
/external/igt-gpu-tools/lib/
Digt_kms.c434 props = drmModeObjectGetProperties(fd, plane->drm_plane->plane_id, DRM_MODE_OBJECT_PLANE); in igt_fill_plane_props()
1779 return drmModeObjectSetProperty(display->drm_fd, plane->drm_plane->plane_id, in igt_plane_set_property()
2002 plane->drm_plane = drmModeGetPlane(display->drm_fd, id); in igt_display_require()
2003 igt_assert(plane->drm_plane); in igt_display_require()
2032 drmModePlane *drm_plane = display->planes[j].drm_plane; in igt_display_require() local
2033 igt_assert(drm_plane); in igt_display_require()
2035 if (drm_plane->possible_crtcs & (1 << i)) in igt_display_require()
2047 drmModePlane *drm_plane = global_plane->drm_plane; in igt_display_require() local
2049 if (!(drm_plane->possible_crtcs & (1 << i))) in igt_display_require()
2071 plane->drm_plane = drm_plane; in igt_display_require()
[all …]
Digt_kms.h318 drmModePlane *drm_plane; member
/external/igt-gpu-tools/benchmarks/
Dkms_throughput.c259 primary->drm_plane->plane_id, in get_max_zpos()
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h70449 struct drm_plane;
70466 struct drm_plane *primary;
70467 struct drm_plane *cursor;
70772 struct drm_plane *plane;
70809 struct drm_plane { struct
70839 …int (*update_plane)(struct drm_plane *, struct drm_crtc *, struct drm_framebuffer *, int, int, uns… argument
70840 int (*disable_plane)(struct drm_plane *, struct drm_modeset_acquire_ctx *);
70841 void (*destroy)(struct drm_plane *);
70842 void (*reset)(struct drm_plane *);
70843 int (*set_property)(struct drm_plane *, struct drm_property *, uint64_t);
[all …]
Dvmlinux.h70449 struct drm_plane;
70466 struct drm_plane *primary;
70467 struct drm_plane *cursor;
70772 struct drm_plane *plane;
70809 struct drm_plane { struct
70839 …int (*update_plane)(struct drm_plane *, struct drm_crtc *, struct drm_framebuffer *, int, int, uns… argument
70840 int (*disable_plane)(struct drm_plane *, struct drm_modeset_acquire_ctx *);
70841 void (*destroy)(struct drm_plane *);
70842 void (*reset)(struct drm_plane *);
70843 int (*set_property)(struct drm_plane *, struct drm_property *, uint64_t);
[all …]
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi36138 …<class-decl name="drm_plane" size-in-bits="10304" is-struct="yes" visibility="default" filepath="i…
36140 …ame="dev" type-id="8898134d" visibility="default" filepath="include/drm/drm_plane.h" line="537" co…
36143 …me="head" type-id="72f469ec" visibility="default" filepath="include/drm/drm_plane.h" line="546" co…
36146 …me="name" type-id="26a90f95" visibility="default" filepath="include/drm/drm_plane.h" line="549" co…
36149 …e="mutex" type-id="ae5fc04a" visibility="default" filepath="include/drm/drm_plane.h" line="560" co…
36152 …me="base" type-id="350f4182" visibility="default" filepath="include/drm/drm_plane.h" line="563" co…
36155 …le_crtcs" type-id="8f92235e" visibility="default" filepath="include/drm/drm_plane.h" line="569" co…
36158 …at_types" type-id="90421557" visibility="default" filepath="include/drm/drm_plane.h" line="571" co…
36161 …at_count" type-id="f0981eeb" visibility="default" filepath="include/drm/drm_plane.h" line="573" co…
36164 …_default" type-id="b50a4934" visibility="default" filepath="include/drm/drm_plane.h" line="578" co…
[all …]
Dtest-PR27569-v0.abi36109 …<class-decl name="drm_plane" size-in-bits="10304" is-struct="yes" visibility="default" filepath="i…
36111 …ame="dev" type-id="8898134d" visibility="default" filepath="include/drm/drm_plane.h" line="537" co…
36114 …me="head" type-id="72f469ec" visibility="default" filepath="include/drm/drm_plane.h" line="546" co…
36117 …me="name" type-id="26a90f95" visibility="default" filepath="include/drm/drm_plane.h" line="549" co…
36120 …e="mutex" type-id="ae5fc04a" visibility="default" filepath="include/drm/drm_plane.h" line="560" co…
36123 …me="base" type-id="350f4182" visibility="default" filepath="include/drm/drm_plane.h" line="563" co…
36126 …le_crtcs" type-id="8f92235e" visibility="default" filepath="include/drm/drm_plane.h" line="569" co…
36129 …at_types" type-id="90421557" visibility="default" filepath="include/drm/drm_plane.h" line="571" co…
36132 …at_count" type-id="f0981eeb" visibility="default" filepath="include/drm/drm_plane.h" line="573" co…
36135 …_default" type-id="b50a4934" visibility="default" filepath="include/drm/drm_plane.h" line="578" co…
[all …]