Home
last modified time | relevance | path

Searched refs:MIN_VIEWPORT_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1021 } 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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1229 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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h56 #define MIN_VIEWPORT_SIZE 12 macro