freedreno/afuc: Add magic control reg values for a740

It looks like this is the same as a730.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26771>
This commit is contained in:
Connor Abbott 2023-12-19 20:37:24 -05:00 committed by Marge Bot
parent e7ed7a32cd
commit 2e6cfc9e23

View file

@ -554,7 +554,7 @@ emu_init(struct emu *emu)
break;
}
if (emu->gpu_id == 730) {
if (emu->gpu_id == 730 || emu->gpu_id == 740) {
emu_set_control_reg(emu, 0xef, 1 << 21);
emu_set_control_reg(emu, 0, 7 << 28);
} else if (emu->gpu_id == 660) {