Skip to content

Fix UBWC and PAS compatibility with current kernel headers - #149

Open
Salendarsingh Gaud (sgaud-quic) wants to merge 2 commits into
qualcomm-linux:video.qclinux.mainfrom
sgaud-quic:qli/ubwc-pas-compat
Open

Fix UBWC and PAS compatibility with current kernel headers#149
Salendarsingh Gaud (sgaud-quic) wants to merge 2 commits into
qualcomm-linux:video.qclinux.mainfrom
sgaud-quic:qli/ubwc-pas-compat

Conversation

@sgaud-quic

Copy link
Copy Markdown

Summary

  • drop obsolete qcom_ubwc_cfg_data initializer members removed from current kernel headers
  • use UBWC_3_1 for Kodiak to preserve previous macrotile behavior
  • replace removed qcom_pas_is_tee_backed() call with exported qcom_pas_is_available()

Verification

  • verified through Yocto kas build for iq-9075-evk with linux-qcom-next
  • iris-video-dlkm do_patch, do_compile, install, package QA, RPM packaging, and rm_work completed successfully
  • full kas image build completed successfully

The kernel qcom_ubwc_cfg_data definition now derives decoder version, swizzle, bank spreading, and macrotile mode from the encoder version, highest bank bit, and flags.

Drop the removed initializer fields so the out-of-tree Iris driver builds against current kernel headers. Use UBWC_3_1 for Kodiak to preserve the previous macrotile_mode=true behavior with the helper-derived representation.

Signed-off-by: Salendarsingh Gaud <sgaud@qti.qualcomm.com>
The kernel PAS abstraction no longer exposes qcom_pas_is_tee_backed() to external modules.

Use the exported qcom_pas_is_available() helper for the OP-TEE PAS path so the driver builds against current kernel headers.

Signed-off-by: Salendarsingh Gaud <sgaud@qti.qualcomm.com>
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.

1 participant