| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
| amdgpu_dcn10_dpp.c | 144 if (scl_data->viewport.width > scl_data->recout.width) 147 pixel_width = scl_data->viewport.width; 156 if (scl_data->viewport.width > scl_data->h_active && 158 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) 457 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; 458 int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; 465 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; 466 src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; 469 src_x_offset = pos->x - param->viewport.x; 470 src_y_offset = pos->y - param->viewport.y [all...] |
| amdgpu_dcn10_hubp.c | 817 const struct rect *viewport, 823 PRI_VIEWPORT_WIDTH, viewport->width, 824 PRI_VIEWPORT_HEIGHT, viewport->height); 827 PRI_VIEWPORT_X_START, viewport->x, 828 PRI_VIEWPORT_Y_START, viewport->y); 832 SEC_VIEWPORT_WIDTH, viewport->width, 833 SEC_VIEWPORT_HEIGHT, viewport->height); 836 SEC_VIEWPORT_X_START, viewport->x, 837 SEC_VIEWPORT_Y_START, viewport->y); 1143 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x [all...] |
| amdgpu_dcn10_dpp_dscl.c | 423 int line_size = scl_data->viewport.width < scl_data->recout.width ? 424 scl_data->viewport.width : scl_data->recout.width;
|
| amdgpu_dcn10_hw_sequencer.c | 1942 "viewport:%d, %d, %d, %d\n" 1946 pipe_ctx->plane_res.scl_data.viewport.width, 1947 pipe_ctx->plane_res.scl_data.viewport.height, 1948 pipe_ctx->plane_res.scl_data.viewport.x, 1949 pipe_ctx->plane_res.scl_data.viewport.y, 2288 size.surface_size = pipe_ctx->plane_res.scl_data.viewport; 2312 &pipe_ctx->plane_res.scl_data.viewport, 2927 * plane that contains this pipe's viewport to prevent double cursor 2954 .viewport = pipe_ctx->plane_res.scl_data.viewport, [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
| amdgpu_dcn20_dpp.c | 278 int line_size = scl_data->viewport.width < scl_data->recout.width ? 279 scl_data->viewport.width : scl_data->recout.width; 385 if (scl_data->viewport.width != scl_data->h_active && 386 scl_data->viewport.height != scl_data->v_active && 391 if (scl_data->viewport.width > scl_data->h_active && 393 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width)
|
| amdgpu_dcn20_hubp.c | 949 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; 950 int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; 972 src_x_offset = pos->x - pos->y_hotspot - param->viewport.x; 973 src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; 976 src_x_offset = pos->x - param->viewport.x; 977 src_y_offset = pos->y - param->viewport.y; 981 x_hotspot = param->viewport.width - x_hotspot; 982 src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; 996 if (src_x_offset >= (int)param->viewport.width [all...] |
| amdgpu_dcn20_hwseq.c | 1064 "viewport:%d, %d, %d, %d\n" 1068 pipe_ctx->plane_res.scl_data.viewport.width, 1069 pipe_ctx->plane_res.scl_data.viewport.height, 1070 pipe_ctx->plane_res.scl_data.viewport.x, 1071 pipe_ctx->plane_res.scl_data.viewport.y, 1191 new_pipe->update_flags.bits.viewport = 1; 1251 if (memcmp(&old_pipe->plane_res.scl_data.viewport, &new_pipe->plane_res.scl_data.viewport, sizeof(struct rect)) 1254 new_pipe->update_flags.bits.viewport = 1; 1396 if (pipe_ctx->update_flags.bits.viewport || [all...] |
| amdgpu_dcn20_resource.c | 1763 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( 1777 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( 1782 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( 2110 pipes[pipe_cnt].pipe.src.viewport_y_y = scl->viewport.y; 2112 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; 2114 pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height;
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
| amdgpu_dce110_transform_v.c | 60 luma_viewport->x = scl_data->viewport.x - scl_data->viewport.x % 2; 61 luma_viewport->y = scl_data->viewport.y - scl_data->viewport.y % 2; 63 scl_data->viewport.width - scl_data->viewport.width % 2; 65 scl_data->viewport.height - scl_data->viewport.height % 2; 541 /* 1. Calculate viewport, viewport programming should happen after ini [all...] |
| amdgpu_dce110_hw_sequencer.c | 2555 "viewport:%d, %d, %d, %d\n" 2558 pipe_ctx->plane_res.scl_data.viewport.width, 2559 pipe_ctx->plane_res.scl_data.viewport.height, 2560 pipe_ctx->plane_res.scl_data.viewport.x, 2561 pipe_ctx->plane_res.scl_data.viewport.y, 2684 .viewport = pipe_ctx->plane_res.scl_data.viewport,
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
| amdgpu_dc_resource.c | 610 data->viewport.x = surf_src.x + (clip.x - dest.x) * surf_src.width / dest.width; 611 data->viewport.width = clip.width * surf_src.width / dest.width; 613 data->viewport.y = surf_src.y + (clip.y - dest.y) * surf_src.height / dest.height; 614 data->viewport.height = clip.height * surf_src.height / dest.height; 620 data->viewport.height /= 2; 622 data->viewport.y += data->viewport.height / 2; 624 data->viewport.height = (data->viewport.height + 1) / 2; 628 data->viewport.width /= 2 [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
| hubp.h | 106 const struct rect *viewport,
|
| mem_input.h | 105 const struct rect *viewport,
|
| transform.h | 176 struct rect viewport; member in struct:scaler_data
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn21/ |
| amdgpu_dcn21_hubp.c | 178 const struct rect *viewport, 184 PRI_VIEWPORT_WIDTH, viewport->width, 185 PRI_VIEWPORT_HEIGHT, viewport->height); 188 PRI_VIEWPORT_X_START, viewport->x, 189 PRI_VIEWPORT_Y_START, viewport->y); 193 SEC_VIEWPORT_WIDTH, viewport->width, 194 SEC_VIEWPORT_HEIGHT, viewport->height); 197 SEC_VIEWPORT_X_START, viewport->x, 198 SEC_VIEWPORT_Y_START, viewport->y); 263 /* apply wa only for NV12 surface with scatter gather enabled with viewport > 512 alon [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/ |
| amdgpu_dcn_calcs.c | 338 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; 339 input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; 340 input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; 341 input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; 916 v->viewport_height[input_idx] = pipe->plane_res.scl_data.viewport.height; 917 v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width; 922 int viewport_end = pipe->plane_res.scl_data.viewport.width 923 + pipe->plane_res.scl_data.viewport.x; 924 int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width 925 + pipe->bottom_pipe->plane_res.scl_data.viewport.x [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_gmc_v9_0.c | 1049 u32 viewport; local 1054 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); 1055 size = (REG_GET_FIELD(viewport, 1057 REG_GET_FIELD(viewport, 1065 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); 1066 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * 1067 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) *
|
| amdgpu_gmc_v10_0.c | 749 u32 viewport; local 752 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); 754 size = (REG_GET_FIELD(viewport,
|
| amdgpu_gmc_v6_0.c | 830 u32 viewport = RREG32(mmVIEWPORT_SIZE); local 831 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * 832 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) *
|
| amdgpu_gmc_v7_0.c | 988 u32 viewport = RREG32(mmVIEWPORT_SIZE); local 989 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * 990 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) *
|
| amdgpu_gmc_v8_0.c | 1100 u32 viewport = RREG32(mmVIEWPORT_SIZE); local 1101 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * 1102 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) *
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/ |
| core_types.h | 273 uint32_t viewport : 1; member in struct:pipe_update_flags::__anon4619
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
| dc_hw_types.h | 395 struct rect viewport; member in struct:dc_cursor_mi_param
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
| amdgpu_dce_transform.c | 397 /* 6. Program the viewport */ 398 program_viewport(xfm_dce, &data->viewport); 902 int pixel_width = scl_data->viewport.width; 906 (scl_data->viewport.width > scl_data->recout.width))
|
| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
| svga3d_cmd.h | 1468 SVGA3dRect viewport; member in struct:__anon5634
|