Lines Matching +full:0 +full:x3ffff

20 		DRM_MODE("1024x768", 0, 65000, 1024, 1048,
21 1184, 1344, 0, 768, 771, 777, 806, 0,
79 return 0; in drm_plane_helper_init()
88 KUNIT_ASSERT_GE_MSG(test, plane_state->src.x1, 0, in check_src_eq()
89 "src x coordinate %x should never be below 0, src: " DRM_RECT_FP_FMT, in check_src_eq()
92 KUNIT_ASSERT_GE_MSG(test, plane_state->src.y1, 0, in check_src_eq()
93 "src y coordinate %x should never be below 0, src: " DRM_RECT_FP_FMT, in check_src_eq()
122 0, params->msg); in drm_test_check_plane_state()
140 .src = { 0, 0,
143 .crtc = { 0, 0, 2048, 2048 },
148 .src_expected = { 0, 0, 1024 << 16, 768 << 16 },
149 .crtc_expected = { 0, 0, 1024, 768 },
154 .src = { 0, 0,
157 .crtc = { 0, 0, 2048, 2048 },
162 .src_expected = { 0, 0, 768 << 16, 1024 << 16 },
163 .crtc_expected = { 0, 0, 1024, 768 },
168 .src = { 0, 0, 1023 << 16, 767 << 16 },
169 .crtc = { 0, 0, 1023, 767 },
174 .src_expected = { 0, 0, 1023 << 16, 767 << 16 },
175 .crtc_expected = { 0, 0, 1023, 767 },
180 .src = { 0, 0, 512 << 16, 384 << 16 },
181 .crtc = { 0, 0, 1024, 768 },
183 .min_scale = 0x8000,
186 .src_expected = { 0, 0, 512 << 16, 384 << 16 },
187 .crtc_expected = { 0, 0, 1024, 768 },
192 .src = { 0, 0, 2048 << 16, 1536 << 16 },
193 .crtc = { 0, 0, 1024, 768 },
196 .max_scale = 0x20000,
198 .src_expected = { 0, 0, 2048 << 16, 1536 << 16 },
199 .crtc_expected = { 0, 0, 1024, 768 },
204 .src = { 0, 0, 0x40001, 0x40001 },
208 .max_scale = 0x10001,
210 .src_expected = { 0, 0, 2 << 16, 2 << 16 },
216 .src = { 0x20001, 0x20001, 0x4040001, 0x3040001 },
220 .max_scale = 0x10001,
222 .src_expected = { 0x40002, 0x40002, 1024 << 16, 768 << 16 },
223 .crtc_expected = { 0, 0, 1024, 768 },
228 .src = { 0, 0, 0x3ffff, 0x3ffff },
231 .min_scale = 0xffff,
234 /* Should not be rounded to 0x20001, which would be upscaling. */
235 .src_expected = { 0, 0, 2 << 16, 2 << 16 },
241 .src = { 0x1ffff, 0x1ffff, 0x403ffff, 0x303ffff },
244 .min_scale = 0xffff,
247 .src_expected = { 0x3fffe, 0x3fffe, 1024 << 16, 768 << 16 },
248 .crtc_expected = { 0, 0, 1024, 768 },
264 0, params->msg); in drm_test_check_invalid_plane_state()
271 .src = { 0, 0, 1023 << 16, 767 << 16 },
272 .crtc = { 0, 0, 1023, 767 },
281 .src = { 0, 0, 512 << 16, 384 << 16 },
282 .crtc = { 0, 0, 1024, 768 },
284 .min_scale = 0x8001,
291 .src = { 0, 0, 2048 << 16, 1536 << 16 },
292 .crtc = { 0, 0, 1024, 768 },
295 .max_scale = 0x1ffff,