Searched refs:MIN_VIEWPORT_SIZE (Results 1 – 3 of 3) sorted by relevance
1116 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state()1117 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()1119 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state()1120 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in amdgpu_dm_plane_helper_check_state()
1643 if (pipe_ctx->plane_res.scl_data.viewport.height < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1644 pipe_ctx->plane_res.scl_data.viewport.height = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()1645 if (pipe_ctx->plane_res.scl_data.viewport.width < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()1646 pipe_ctx->plane_res.scl_data.viewport.width = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()
77 #define MIN_VIEWPORT_SIZE 12 macro