History

soc: mediatek: mtk-infracfg: Disable ACP on MT8192

MT8192 contains an experimental Accelerator Coherency Port implementation, which does not work correctly but was unintentionally enabled by default. For correct operation of the GPU, we must set a chicken bit disabling ACP on MT8192. Adapted from the following downstream change to the out-of-tree, legacy Mali GPU driver: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2781271/5 Note this change is required for both Panfrost and the legacy kernel driver.

Alyssa Rosenzweig committed 4 years ago

Commit dcfd5191 parent 15f17682 files · +22 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/soc/mediatek/infracfg.h+3−0
@@ -277,6 +277,9 @@ · 276 unmodified lines
277277 #define INFRA_TOPAXI_PROTECTEN_SET 0x0260
278278 #define INFRA_TOPAXI_PROTECTEN_CLR 0x0264
279279
280+#define MT8192_INFRA_CTRL 0x290
281+#define MT8192_INFRA_CTRL_DISABLE_MFG2ACP BIT(9)
282+
280283 #define REG_INFRA_MISC 0xf00
281284 #define F_DDR_4GB_SUPPORT_EN BIT(13)
282285

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t