Skip to content

drm/msm/a6xx: Fix the bogus protect error on X2-85#687

Open
pankaj-qcom wants to merge 1 commit intoqualcomm-linux:tech/mm/gpufrom
pankaj-qcom:glymur_gpu_fix
Open

drm/msm/a6xx: Fix the bogus protect error on X2-85#687
pankaj-qcom wants to merge 1 commit intoqualcomm-linux:tech/mm/gpufrom
pankaj-qcom:glymur_gpu_fix

Conversation

@pankaj-qcom
Copy link

Update the X2-85's protect configuration value with the correct count_max
value to not block the entire MMIO region from the UMD.

Protect configurations are a bit complicated on A8xx. There are 2 set of
protect registers with different counts: Global and Pipe-specific. The
last-span-unbound feature is available only on the Pipe-specific protect
registers. Due to this, we cannot use the BUILD_BUG sanity check for A8x
protect configurations, so remove the A840 entry from there.

Fixes: 01ff3bf ("drm/msm/a8xx: Add support for Adreno X2-85 GPU")
Signed-off-by: Akhil P Oommen akhilpo@oss.qualcomm.com

Update the X2-85's protect configuration value with the correct count_max
value to not block the entire MMIO region from the UMD.

Protect configurations are a bit complicated on A8xx. There are 2 set of
protect registers with different counts: Global and Pipe-specific. The
last-span-unbound feature is available only on the Pipe-specific protect
registers. Due to this, we cannot use the BUILD_BUG sanity check for A8x
protect configurations, so remove the A840 entry from there.

Fixes: 01ff3bf ("drm/msm/a8xx: Add support for Adreno X2-85 GPU")
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
@pankaj-qcom pankaj-qcom changed the base branch from main to tech/mm/gpu February 16, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants