slice_caps 111 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_1 = 1; slice_caps 112 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_2 = 1; slice_caps 113 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_3 = 1; slice_caps 114 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_4 = 1; slice_caps 140 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_1 = 0; slice_caps 141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_8 = 1; slice_caps 211 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_1 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_1 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_1; slice_caps 212 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_2 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_2 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_2; slice_caps 213 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_4 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_4 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_4; slice_caps 214 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_8 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_8 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_8; slice_caps 215 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (!dsc_common_caps->slice_caps.raw) slice_caps 233 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_1) slice_caps 236 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_2) slice_caps 239 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_4) slice_caps 359 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c static int get_available_dsc_slices(union dsc_enc_slice_caps slice_caps, int *available_slices) slice_caps 365 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_1) slice_caps 368 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_2) slice_caps 371 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_4) slice_caps 374 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_8) slice_caps 381 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c static int get_max_dsc_slices(union dsc_enc_slice_caps slice_caps) slice_caps 385 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c int end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); slice_caps 395 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c static int inc_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices) slice_caps 403 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); slice_caps 426 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c static int dec_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices) slice_caps 434 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); slice_caps 461 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c static int fit_num_slices_up(union dsc_enc_slice_caps slice_caps, int num_slices) slice_caps 469 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); slice_caps 615 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c max_slices_h = get_max_dsc_slices(dsc_common_caps.slice_caps); slice_caps 621 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c max_slices_h = dec_num_slices(dsc_common_caps.slice_caps, max_slices_h); slice_caps 632 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = fit_num_slices_up(dsc_common_caps.slice_caps, min_slices_h); slice_caps 639 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c min_slices_h = inc_num_slices(dsc_common_caps.slice_caps, min_slices_h); slice_caps 74 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h union dsc_enc_slice_caps slice_caps;