Lines Matching refs:ubwc_config
506 gpu->ubwc_config.rgb565_predicator = 0; in a6xx_calc_ubwc_config()
507 gpu->ubwc_config.uavflagprd_inv = 0; in a6xx_calc_ubwc_config()
508 gpu->ubwc_config.min_acc_len = 0; in a6xx_calc_ubwc_config()
509 gpu->ubwc_config.ubwc_swizzle = 0x6; in a6xx_calc_ubwc_config()
510 gpu->ubwc_config.macrotile_mode = 0; in a6xx_calc_ubwc_config()
511 gpu->ubwc_config.highest_bank_bit = 15; in a6xx_calc_ubwc_config()
514 gpu->ubwc_config.highest_bank_bit = 13; in a6xx_calc_ubwc_config()
515 gpu->ubwc_config.min_acc_len = 1; in a6xx_calc_ubwc_config()
516 gpu->ubwc_config.ubwc_swizzle = 0x7; in a6xx_calc_ubwc_config()
520 gpu->ubwc_config.highest_bank_bit = 14; in a6xx_calc_ubwc_config()
524 gpu->ubwc_config.highest_bank_bit = 13; in a6xx_calc_ubwc_config()
527 gpu->ubwc_config.highest_bank_bit = 13; in a6xx_calc_ubwc_config()
530 gpu->ubwc_config.highest_bank_bit = 13; in a6xx_calc_ubwc_config()
531 gpu->ubwc_config.amsbc = 1; in a6xx_calc_ubwc_config()
532 gpu->ubwc_config.uavflagprd_inv = 2; in a6xx_calc_ubwc_config()
536 gpu->ubwc_config.amsbc = 1; in a6xx_calc_ubwc_config()
539 gpu->ubwc_config.macrotile_mode = 1; in a6xx_calc_ubwc_config()
547 gpu->ubwc_config.highest_bank_bit = 16; in a6xx_calc_ubwc_config()
548 gpu->ubwc_config.amsbc = 1; in a6xx_calc_ubwc_config()
549 gpu->ubwc_config.rgb565_predicator = 1; in a6xx_calc_ubwc_config()
550 gpu->ubwc_config.uavflagprd_inv = 2; in a6xx_calc_ubwc_config()
551 gpu->ubwc_config.macrotile_mode = 1; in a6xx_calc_ubwc_config()
555 gpu->ubwc_config.highest_bank_bit = 14; in a6xx_calc_ubwc_config()
556 gpu->ubwc_config.amsbc = 1; in a6xx_calc_ubwc_config()
557 gpu->ubwc_config.rgb565_predicator = 1; in a6xx_calc_ubwc_config()
558 gpu->ubwc_config.uavflagprd_inv = 2; in a6xx_calc_ubwc_config()
559 gpu->ubwc_config.macrotile_mode = 1; in a6xx_calc_ubwc_config()
563 gpu->ubwc_config.highest_bank_bit = 14; in a6xx_calc_ubwc_config()
564 gpu->ubwc_config.min_acc_len = 1; in a6xx_calc_ubwc_config()
576 BUG_ON(adreno_gpu->ubwc_config.highest_bank_bit < 13); in a6xx_set_ubwc_config()
577 u32 hbb = adreno_gpu->ubwc_config.highest_bank_bit - 13; in a6xx_set_ubwc_config()
580 u32 ubwc_mode = adreno_gpu->ubwc_config.ubwc_swizzle & 1; in a6xx_set_ubwc_config()
581 u32 level2_swizzling_dis = !(adreno_gpu->ubwc_config.ubwc_swizzle & 2); in a6xx_set_ubwc_config()
585 adreno_gpu->ubwc_config.rgb565_predicator << 11 | in a6xx_set_ubwc_config()
586 hbb_hi << 10 | adreno_gpu->ubwc_config.amsbc << 4 | in a6xx_set_ubwc_config()
587 adreno_gpu->ubwc_config.min_acc_len << 3 | in a6xx_set_ubwc_config()
592 adreno_gpu->ubwc_config.min_acc_len << 3 | in a6xx_set_ubwc_config()
597 adreno_gpu->ubwc_config.uavflagprd_inv << 4 | in a6xx_set_ubwc_config()
598 adreno_gpu->ubwc_config.min_acc_len << 3 | in a6xx_set_ubwc_config()
606 adreno_gpu->ubwc_config.min_acc_len << 23 | hbb_lo << 21); in a6xx_set_ubwc_config()
609 adreno_gpu->ubwc_config.macrotile_mode); in a6xx_set_ubwc_config()