Lines Matching refs:crtc_box
66 static void amdgpu_crtc_box(RRCrtcPtr crtc, BoxPtr crtc_box)
69 crtc_box->x1 = crtc->x;
70 crtc_box->y1 = crtc->y;
75 crtc_box->x2 = crtc->x + crtc->mode->mode.width;
76 crtc_box->y2 = crtc->y + crtc->mode->mode.height;
80 crtc_box->x2 = crtc->x + crtc->mode->mode.height;
81 crtc_box->y2 = crtc->y + crtc->mode->mode.width;
85 crtc_box->x1 = crtc_box->x2 = crtc_box->y1 = crtc_box->y2 = 0;
111 BoxRec crtc_box, cover_box;
138 amdgpu_crtc_box(crtc, &crtc_box);
139 amdgpu_box_intersect(&cover_box, &crtc_box, box);