Searched refs:MIN_VIEWPORT_SIZE (Results 1 – 4 of 4) sorted by relevance
12 #define MIN_VIEWPORT_SIZE 12 macro729 if (viewport->height < MIN_VIEWPORT_SIZE) in spl_clamp_viewport()730 viewport->height = MIN_VIEWPORT_SIZE; in spl_clamp_viewport()731 if (viewport->width < MIN_VIEWPORT_SIZE) in spl_clamp_viewport()732 viewport->width = MIN_VIEWPORT_SIZE; in spl_clamp_viewport()
1112 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state()1113 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()1115 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state()1116 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in amdgpu_dm_plane_helper_check_state()
1605 if (pipe_ctx->plane_res.scl_data.viewport.height < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1606 pipe_ctx->plane_res.scl_data.viewport.height = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()1607 if (pipe_ctx->plane_res.scl_data.viewport.width < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1608 pipe_ctx->plane_res.scl_data.viewport.width = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()
63 #define MIN_VIEWPORT_SIZE 12 macro