Searched refs:MIN_VIEWPORT_SIZE (Results 1 – 3 of 3) sorted by relevance
1021 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in dm_plane_helper_check_state()1022 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in dm_plane_helper_check_state()1024 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in dm_plane_helper_check_state()1025 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in dm_plane_helper_check_state()
1229 if (pipe_ctx->plane_res.scl_data.viewport.height < MIN_VIEWPORT_SIZE || in resource_build_scaling_params()1230 pipe_ctx->plane_res.scl_data.viewport.width < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1234 if (pipe_ctx->plane_res.scl_data.viewport.height < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1235 pipe_ctx->plane_res.scl_data.viewport.height = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()1236 if (pipe_ctx->plane_res.scl_data.viewport.width < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1237 pipe_ctx->plane_res.scl_data.viewport.width = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()
56 #define MIN_VIEWPORT_SIZE 12 macro