Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/spl/
A Ddc_spl.c12 #define MIN_VIEWPORT_SIZE 12 macro
695 if (viewport->height < MIN_VIEWPORT_SIZE) in spl_clamp_viewport()
696 viewport->height = MIN_VIEWPORT_SIZE; in spl_clamp_viewport()
697 if (viewport->width < MIN_VIEWPORT_SIZE) in spl_clamp_viewport()
698 viewport->width = MIN_VIEWPORT_SIZE; in spl_clamp_viewport()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_plane.c1114 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state()
1115 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()
1117 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state()
1118 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in amdgpu_dm_plane_helper_check_state()
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c1599 if (pipe_ctx->plane_res.scl_data.viewport.height < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()
1600 pipe_ctx->plane_res.scl_data.viewport.height = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()
1601 if (pipe_ctx->plane_res.scl_data.viewport.width < MIN_VIEWPORT_SIZE) in resource_build_scaling_params()
1602 pipe_ctx->plane_res.scl_data.viewport.width = MIN_VIEWPORT_SIZE; in resource_build_scaling_params()
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc.h63 #define MIN_VIEWPORT_SIZE 12 macro

Completed in 33 milliseconds