/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubbub.c | 253 unsigned int bpe, in hubbub3_det_request_size() 261 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size() 263 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub3_det_request_size() 264 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub3_det_request_size() 282 unsigned int bpe; in hubbub3_get_dcc_compression_cap() local 292 &bpe)) in hubbub3_get_dcc_compression_cap() 295 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub3_get_dcc_compression_cap() 301 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub3_get_dcc_compression_cap() 334 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub3_get_dcc_compression_cap() 249 hubbub3_det_request_size( unsigned int detile_buf_size, unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub3_det_request_size() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubbub.c | 196 unsigned int bpe, in hubbub2_det_request_size() 204 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size() 206 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub2_det_request_size() 207 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub2_det_request_size() 225 unsigned int bpe; in hubbub2_get_dcc_compression_cap() local 235 &bpe)) in hubbub2_get_dcc_compression_cap() 238 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub2_get_dcc_compression_cap() 244 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub2_get_dcc_compression_cap() 277 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub2_get_dcc_compression_cap() 192 hubbub2_det_request_size( unsigned int detile_buf_size, unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub2_det_request_size() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubbub.c | 195 unsigned int bpe, in hubbub2_det_request_size() 203 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size() 205 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub2_det_request_size() 206 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub2_det_request_size() 224 unsigned int bpe; in hubbub2_get_dcc_compression_cap() local 234 &bpe)) in hubbub2_get_dcc_compression_cap() 237 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub2_get_dcc_compression_cap() 243 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub2_get_dcc_compression_cap() 276 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub2_get_dcc_compression_cap() 191 hubbub2_det_request_size( unsigned int detile_buf_size, unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub2_det_request_size() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubbub.c | 253 unsigned int bpe, in hubbub3_det_request_size() 261 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size() 263 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub3_det_request_size() 264 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub3_det_request_size() 282 unsigned int bpe; in hubbub3_get_dcc_compression_cap() local 292 &bpe)) in hubbub3_get_dcc_compression_cap() 295 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub3_get_dcc_compression_cap() 301 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub3_get_dcc_compression_cap() 334 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub3_get_dcc_compression_cap() 249 hubbub3_det_request_size( unsigned int detile_buf_size, unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub3_det_request_size() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubbub.c | 820 unsigned int bpe, in hubbub1_det_request_size() 830 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 832 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub1_det_request_size() 833 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size() 853 unsigned int bpe; in hubbub1_get_dcc_compression_cap() local 862 if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) in hubbub1_get_dcc_compression_cap() 865 if (!hubbub1->base.funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub1_get_dcc_compression_cap() 870 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub1_get_dcc_compression_cap() 817 hubbub1_det_request_size( unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub1_det_request_size() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubbub.c | 819 unsigned int bpe, in hubbub1_det_request_size() 829 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 831 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub1_det_request_size() 832 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size() 852 unsigned int bpe; in hubbub1_get_dcc_compression_cap() local 861 if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) in hubbub1_get_dcc_compression_cap() 864 if (!hubbub1->base.funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub1_get_dcc_compression_cap() 869 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub1_get_dcc_compression_cap() 816 hubbub1_det_request_size( unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub1_det_request_size() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubbub.c | 759 unsigned int bpe, in hubbub31_det_request_size() 767 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size() 769 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub31_det_request_size() 770 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub31_det_request_size() 787 unsigned int bpe; in hubbub31_get_dcc_compression_cap() local 797 &bpe)) in hubbub31_get_dcc_compression_cap() 800 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub31_get_dcc_compression_cap() 806 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub31_get_dcc_compression_cap() 839 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub31_get_dcc_compression_cap() 755 hubbub31_det_request_size( unsigned int detile_buf_size, unsigned int height, unsigned int width, unsigned int bpe, bool *req128_horz_wc, bool *req128_vert_wc) hubbub31_det_request_size() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | evergreen_cs.c | 183 unsigned bpe; member 194 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear() 195 surf->base_align = surf->bpe; in evergreen_surface_check_linear() 208 palign = MAX(64, track->group_size / surf->bpe); in evergreen_surface_check_linear_aligned() 209 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear_aligned() 230 palign = track->group_size / (8 * surf->bpe * surf->nsamples); in evergreen_surface_check_1d() 232 surf->layer_size = surf->nbx * surf->nby * surf->bpe; in evergreen_surface_check_1d() 240 track->group_size, surf->bpe, surf->nsamples); in evergreen_surface_check_1d() 262 tileb = 64 * surf->bpe * surf->nsamples; in evergreen_surface_check_2d() 302 surf->bpe in evergreen_surface_check() [all...] |
H A D | r600_cs.c | 519 u32 nviews, bpe, ntiles, slice_tile_max, tmp; in r600_cs_track_validate_db() local 535 bpe = 2; in r600_cs_track_validate_db() 542 bpe = 4; in r600_cs_track_validate_db() 545 bpe = 8; in r600_cs_track_validate_db() 557 tmp = (tmp / bpe) >> 6; in r600_cs_track_validate_db() 560 track->db_depth_size, bpe, track->db_offset, in r600_cs_track_validate_db() 580 array_check.blocksize = bpe; in r600_cs_track_validate_db() 620 tmp = ntiles * bpe * 64 * nviews * track->nsamples; in r600_cs_track_validate_db() 624 track->db_depth_size, ntiles, nviews, bpe, tmp + track->db_offset, in r600_cs_track_validate_db()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | evergreen_cs.c | 182 unsigned bpe; member 193 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear() 194 surf->base_align = surf->bpe; in evergreen_surface_check_linear() 207 palign = MAX(64, track->group_size / surf->bpe); in evergreen_surface_check_linear_aligned() 208 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear_aligned() 229 palign = track->group_size / (8 * surf->bpe * surf->nsamples); in evergreen_surface_check_1d() 231 surf->layer_size = surf->nbx * surf->nby * surf->bpe; in evergreen_surface_check_1d() 239 track->group_size, surf->bpe, surf->nsamples); in evergreen_surface_check_1d() 261 tileb = 64 * surf->bpe * surf->nsamples; in evergreen_surface_check_2d() 301 surf->bpe in evergreen_surface_check() [all...] |
H A D | r600_cs.c | 518 u32 nviews, bpe, ntiles, slice_tile_max, tmp; in r600_cs_track_validate_db() local 534 bpe = 2; in r600_cs_track_validate_db() 541 bpe = 4; in r600_cs_track_validate_db() 544 bpe = 8; in r600_cs_track_validate_db() 556 tmp = (tmp / bpe) >> 6; in r600_cs_track_validate_db() 559 track->db_depth_size, bpe, track->db_offset, in r600_cs_track_validate_db() 579 array_check.blocksize = bpe; in r600_cs_track_validate_db() 619 tmp = ntiles * bpe * 64 * nviews * track->nsamples; in r600_cs_track_validate_db() 623 track->db_depth_size, ntiles, nviews, bpe, tmp + track->db_offset, in r600_cs_track_validate_db()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
H A D | dcn_calcs.c | 330 unsigned int bpe; in pipe_ctx_to_e2e_pipe_params() local 333 dcc_support_pixel_format(pipe->plane_state->format, &bpe) ? 1 : 0; in pipe_ctx_to_e2e_pipe_params() 1016 unsigned int bpe; in dcn_validate_bandwidth() local 1019 pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no; in dcn_validate_bandwidth()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 331 unsigned int bpe; in pipe_ctx_to_e2e_pipe_params() local 334 dcc_support_pixel_format(pipe->plane_state->format, &bpe) ? 1 : 0; in pipe_ctx_to_e2e_pipe_params() 1001 unsigned int bpe; in dcn_validate_bandwidth() local 1004 pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no; in dcn_validate_bandwidth()
|