| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_trace.h | 33 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, 35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h), 42 __field(unsigned int, crtc_w) 55 __entry->crtc_w = crtc_w; 65 __entry->crtc_w, __entry->crtc_h,
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | overlay.c | 95 uint32_t crtc_w, uint32_t crtc_h) in verify_scaling() argument 97 if (crtc_w < (src_w >> shift) || crtc_h < (src_h >> shift)) { in verify_scaling() 99 src_w, src_h, crtc_w, crtc_h); in verify_scaling() 115 unsigned int crtc_w, unsigned int crtc_h, in nv10_update_plane() argument 140 ret = verify_scaling(fb, shift, 0, 0, src_w, src_h, crtc_w, crtc_h); in nv10_update_plane() 158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane() 161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane() 366 unsigned int crtc_w, unsigned int crtc_h, in nv04_update_plane() argument 386 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane() 409 nvif_wr32(dev, NV_PVIDEO_WINDOW_SIZE, crtc_h << 16 | crtc_w); in nv04_update_plane() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_cursor_plane.c | 86 vps->base.crtc_w, vps->base.crtc_h, in vmw_cursor_plane_update_legacy() 117 const u32 image_size = vps->base.crtc_w * vps->base.crtc_h * sizeof(*image); in vmw_cursor_update_mob() 129 alpha_header->width = vps->base.crtc_w; in vmw_cursor_update_mob() 227 vps->base.crtc_w, vps->base.crtc_h); in vmw_cursor_mob_get() 240 if (size > mob_max_size || vps->base.crtc_w > cursor_max_dim || in vmw_cursor_mob_get() 433 vps->base.crtc_w, vps->base.crtc_h); in vmw_cursor_mob_map() 530 const u32 size = new_vps->base.crtc_w * in vmw_cursor_buffer_changed() 572 if (old_vps->base.crtc_w != new_vps->base.crtc_w || in vmw_cursor_plane_changed() 656 const u32 size = new_state->crtc_w * in vmw_cursor_plane_prepare_fb() 733 if (new_state->crtc_w != VMW_CURSOR_SNOOP_WIDTH || in vmw_cursor_plane_atomic_check() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_plane.c | 951 uint32_t crtc_w, uint32_t crtc_h, in __setplane_check() argument 971 if (crtc_w > INT_MAX || in __setplane_check() 972 crtc_x > INT_MAX - (int32_t) crtc_w || in __setplane_check() 976 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check() 1022 uint32_t crtc_w, uint32_t crtc_h, in __setplane_internal() argument 1046 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal() 1053 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal() 1075 uint32_t crtc_w, uint32_t crtc_h, in __setplane_atomic() argument 1096 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic() 1102 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic() [all …]
|
| H A D | drm_plane_helper.c | 117 .crtc_w = drm_rect_width(dst), in drm_plane_helper_check_update() 168 unsigned int crtc_w, unsigned int crtc_h, in drm_plane_helper_update_primary() argument 189 .x2 = crtc_x + crtc_w, in drm_plane_helper_update_primary()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 74 mock->crtc_w = params->crtc.w; in drm_plane_helper_init() 103 unsigned int crtc_w, unsigned int crtc_h) in check_crtc_eq() argument 105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq()
|
| /linux/include/drm/ |
| H A D | drm_plane_helper.h | 37 unsigned int crtc_w, unsigned int crtc_h,
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | ipuv3-plane.h | 40 unsigned int crtc_w, unsigned int crtc_h,
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_plane_test.c | 358 state.crtc_w = 100; in dm_test_fill_dc_scaling_info() 364 state.crtc_w = 100; in dm_test_fill_dc_scaling_info() 444 state->crtc_w = 32; in dm_test_get_cursor_position() 640 state->crtc_w = 100; in dm_test_helper_check_state_viewport_reject() 2274 state->crtc_w = 10; in dm_test_helper_check_state_small_viewport_width() 2315 state->crtc_w = 100; in dm_test_helper_check_state_small_viewport_height() 2357 state->crtc_w = 100; in dm_test_helper_check_state_bottom_clipped_height() 2416 state->crtc_w = 200; in dm_test_helper_check_state_scaling_caps() 2453 state.crtc_w = 100; in dm_test_fill_dc_scaling_info_nv12_dcn1x() 2508 state->crtc_w = 100; in dm_test_fill_dc_scaling_info_plane_caps() [all …]
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_vid.c | 146 int dst_w = clamp_val(state->crtc_w, 0, mode->hdisplay - dst_x); in sti_vid_commit()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 150 info->out_width = state->crtc_w; in omap_framebuffer_update_scanout()
|