Lines Matching refs:plane_req
1818 struct drm_mode_set_plane *plane_req = data;
1834 obj = drm_mode_object_find(dev, plane_req->plane_id,
1838 plane_req->plane_id);
1844 if (!plane_req->fb_id) {
1854 obj = drm_mode_object_find(dev, plane_req->crtc_id,
1858 plane_req->crtc_id);
1864 fb = drm_framebuffer_lookup(dev, plane_req->fb_id);
1867 plane_req->fb_id);
1886 if (plane_req->src_w > fb_width ||
1887 plane_req->src_x > fb_width - plane_req->src_w ||
1888 plane_req->src_h > fb_height ||
1889 plane_req->src_y > fb_height - plane_req->src_h) {
1892 plane_req->src_w >> 16,
1893 ((plane_req->src_w & 0xffff) * 15625) >> 10,
1894 plane_req->src_h >> 16,
1895 ((plane_req->src_h & 0xffff) * 15625) >> 10,
1896 plane_req->src_x >> 16,
1897 ((plane_req->src_x & 0xffff) * 15625) >> 10,
1898 plane_req->src_y >> 16,
1899 ((plane_req->src_y & 0xffff) * 15625) >> 10);
1905 if (plane_req->crtc_w > INT_MAX ||
1906 plane_req->crtc_x > INT_MAX - (int32_t) plane_req->crtc_w ||
1907 plane_req->crtc_h > INT_MAX ||
1908 plane_req->crtc_y > INT_MAX - (int32_t) plane_req->crtc_h) {
1910 plane_req->crtc_w, plane_req->crtc_h,
1911 plane_req->crtc_x, plane_req->crtc_y);
1918 plane_req->crtc_x, plane_req->crtc_y,
1919 plane_req->crtc_w, plane_req->crtc_h,
1920 plane_req->src_x, plane_req->src_y,
1921 plane_req->src_w, plane_req->src_h);