Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions patches/scripts/apply_a8xx_gpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
)
replace(DEVICES, A829_PROPS, A829_PROPS + ' disable_gmem = True,\n', 'A829 disable_gmem')

if '0x44050100' not in Path(DEVICES).read_text():
replace(
DEVICES,
' GPUId(chip_id=0x44050001, name="Adreno (TM) 830"), # KGSL\n',
' GPUId(chip_id=0x44050001, name="Adreno (TM) 830"), # KGSL\n'
' GPUId(chip_id=0x44050100, name="Adreno (TM) 831"), # KGSL\n',
'A831 KGSL chip_id 0x44050100 on the A830 entry',
)

for chip_id, name in (('0x44041430', '845'), ('0x44051431', '850')):
if chip_id not in Path(DEVICES).read_text():
replace(
Expand Down
2 changes: 1 addition & 1 deletion patches/series.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"android",
"linux"
],
"summary": "A810 / A829 / A845 / A850 KGSL chip IDs, A810 / A829 disable_gmem, plus the A825 entry"
"summary": "A810 / A829 / A831 / A845 / A850 KGSL chip IDs, A810 / A829 disable_gmem, plus the A825 entry"
},
{
"file": "scripts/apply_a8xx_cat4_rpt.py",
Expand Down