Home
last modified time | relevance | path

Searched refs:bpe (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.c191 unsigned int bpe, in hubbub2_det_request_size() argument
201 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size()
203 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub2_det_request_size()
204 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub2_det_request_size()
222 unsigned int bpe; in hubbub2_get_dcc_compression_cap() local
232 &bpe)) in hubbub2_get_dcc_compression_cap()
235 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub2_get_dcc_compression_cap()
240 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub2_get_dcc_compression_cap()
273 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub2_get_dcc_compression_cap()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c831 unsigned int bpe, in hubbub1_det_request_size() argument
841 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size()
843 swath_bytes_horz_wc = height * blk256_height * bpe; in hubbub1_det_request_size()
844 swath_bytes_vert_wc = width * blk256_width * bpe; in hubbub1_det_request_size()
864 unsigned int bpe; in hubbub1_get_dcc_compression_cap() local
873 if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) in hubbub1_get_dcc_compression_cap()
876 if (!hubbub1->base.funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub1_get_dcc_compression_cap()
881 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub1_get_dcc_compression_cap()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dr600_cs.c520 u32 nviews, bpe, ntiles, size, slice_tile_max, tmp; in r600_cs_track_validate_db() local
536 bpe = 2; in r600_cs_track_validate_db()
543 bpe = 4; in r600_cs_track_validate_db()
546 bpe = 8; in r600_cs_track_validate_db()
558 tmp = (tmp / bpe) >> 6; in r600_cs_track_validate_db()
561 track->db_depth_size, bpe, track->db_offset, in r600_cs_track_validate_db()
582 array_check.blocksize = bpe; in r600_cs_track_validate_db()
622 tmp = ntiles * bpe * 64 * nviews * track->nsamples; in r600_cs_track_validate_db()
626 track->db_depth_size, ntiles, nviews, bpe, tmp + track->db_offset, in r600_cs_track_validate_db()
Devergreen_cs.c183 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 = r600_fmt_get_blocksize(surf->format); in evergreen_surface_check()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c326 unsigned int bpe; in pipe_ctx_to_e2e_pipe_params() local
329 dcc_support_pixel_format(pipe->plane_state->format, &bpe) ? 1 : 0; in pipe_ctx_to_e2e_pipe_params()
973 unsigned int bpe; in dcn_validate_bandwidth() local
976 pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no; in dcn_validate_bandwidth()