| /drivers/gpu/drm/amd/display/dc/hubbub/dcn30/ |
| A D | dcn30_hubbub.c | 254 unsigned int bpe, in hubbub3_det_request_size() argument 262 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size() 264 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub3_det_request_size() 265 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub3_det_request_size() 283 unsigned int bpe; in hubbub3_get_dcc_compression_cap() local 293 &bpe)) in hubbub3_get_dcc_compression_cap() 296 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub3_get_dcc_compression_cap() 302 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub3_get_dcc_compression_cap() 335 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub3_get_dcc_compression_cap()
|
| /drivers/tty/vt/ |
| A D | selection.c | 410 const char *bpe = bp ? bracketed_paste_end : NULL; in paste_selection() local 423 while (vc_sel.buffer && (vc_sel.buf_len > pasted || bpe)) { in paste_selection() 452 if (bpe) { in paste_selection() 453 bpe += tty_ldisc_receive_buf(ld, bpe, NULL, strlen(bpe)); in paste_selection() 454 if (*bpe == '\0') in paste_selection() 455 bpe = NULL; in paste_selection()
|
| /drivers/gpu/drm/amd/display/dc/hubbub/dcn20/ |
| A D | dcn20_hubbub.c | 195 unsigned int bpe, in hubbub2_det_request_size() argument 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()
|
| /drivers/gpu/drm/amd/display/dc/hubbub/dcn10/ |
| A D | dcn10_hubbub.c | 801 unsigned int bpe, in hubbub1_det_request_size() argument 811 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size() 813 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub1_det_request_size() 814 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub1_det_request_size() 834 unsigned int bpe; in hubbub1_get_dcc_compression_cap() local 843 if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) in hubbub1_get_dcc_compression_cap() 846 if (!hubbub1->base.funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub1_get_dcc_compression_cap() 851 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub1_get_dcc_compression_cap()
|
| /drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
| A D | dcn31_hubbub.c | 782 unsigned int bpe, in hubbub31_det_request_size() argument 790 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size() 792 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub31_det_request_size() 793 swath_bytes_vert_wc = height * blk256_width * bpe; in hubbub31_det_request_size() 810 unsigned int bpe; in hubbub31_get_dcc_compression_cap() local 820 &bpe)) in hubbub31_get_dcc_compression_cap() 823 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, in hubbub31_get_dcc_compression_cap() 829 bpe, &req128_horz_wc, &req128_vert_wc); in hubbub31_get_dcc_compression_cap() 862 if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) in hubbub31_get_dcc_compression_cap()
|
| /drivers/gpu/drm/radeon/ |
| 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()
|
| A D | evergreen_cs.c | 184 unsigned bpe; member 196 surf->base_align = surf->bpe; in evergreen_surface_check_linear() 209 palign = MAX(64, track->group_size / surf->bpe); in evergreen_surface_check_linear_aligned() 231 palign = track->group_size / (8 * surf->bpe * surf->nsamples); in evergreen_surface_check_1d() 233 surf->layer_size = surf->nbx * surf->nby * surf->bpe; in evergreen_surface_check_1d() 241 track->group_size, surf->bpe, surf->nsamples); in evergreen_surface_check_1d() 263 tileb = 64 * surf->bpe * surf->nsamples; in evergreen_surface_check_2d() 303 surf->bpe = r600_fmt_get_blocksize(surf->format); in evergreen_surface_check() 462 size = nby * surf.nbx * surf.bpe * surf.nsamples; in evergreen_cs_track_validate_cb() 487 surf.mode, surf.bpe, surf.nsamples, in evergreen_cs_track_validate_cb() [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| 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()
|