freedreno/afuc: Add x1e fw-id

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37886>
This commit is contained in:
Anna Maniscalco 2025-10-02 11:40:57 +02:00 committed by Marge Bot
parent 19de4b82f9
commit a7b7ebf08b
3 changed files with 4 additions and 1 deletions

View file

@ -552,7 +552,8 @@ emu_init(struct emu *emu)
if (emu->fw_id == AFUC_A750) {
emu_set_control_reg(emu, 0, 7 << 28);
emu_set_control_reg(emu, 2, 0x40 << 8);
} else if (emu->fw_id == AFUC_A730 || emu->fw_id == AFUC_A740) {
} else if (emu->fw_id == AFUC_A730 || emu->fw_id == AFUC_A740 ||
emu->fw_id == AFUC_GEN70500) {
emu_set_control_reg(emu, 0xef, 1 << 21);
emu_set_control_reg(emu, 0, 7 << 28);
} else if (emu->fw_id == AFUC_A660) {

View file

@ -268,6 +268,7 @@ int afuc_util_init(enum afuc_fwid fw_id, int *gpuver_out, bool colors)
break;
case AFUC_A730:
case AFUC_A740:
case AFUC_GEN70500:
name = "A6XX";
variant = "A7XX";
control_reg_name = "A7XX_CONTROL_REG";

View file

@ -40,6 +40,7 @@ void afuc_printc(enum afuc_color c, const char *fmt, ...);
enum afuc_fwid {
AFUC_A730 = 0x730,
AFUC_A740 = 0x740,
AFUC_GEN70500 = 0x512,
AFUC_A750 = 0x520,
AFUC_A630 = 0x6ee,