Commit graph android_kernel_motorola_sm6375/techpack
Author SHA1 Message Date
Michael Bestas
5fba8adc73
Merge tag 'LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dp: restore brightness on resume for eDP
  disp: msm: dp: restore brightness on resume for eDP
  disp: msm: dsi: add a new DT property to support ext bridge hpd
  disp: msm: dsi: correct external dsi bridge interface number
  disp: msm: dsi: avoid NULL pointer
  disp: msm: dp: skip aux switch configuration

Change-Id: Id266c0e49cf8fbe0e48972aeaf27b3dd6212d14e
2024-01-04 12:08:37 +02:00
Michael Bestas
5972580a35
Merge tag 'LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-12400-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: msm-compress : Fix for CTS-on-gsi with gki

Change-Id: I63d61776981393532af5d6f7f96c2daca8349f7e
2024-01-04 12:02:37 +02:00
Michael Bestas
8b685a05b5
Merge tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: sde: skip msm_lastclose if display is stuck in splash
  disp: msm: cancel all delayed_works before triggering msm_lastclose
  disp: msm: sde: cancel delayed work items during TUI transition

Change-Id: I8dbdda8ada31d7d58a5aceaf7e72d6955cee2ec2
2023-12-11 20:41:53 +02:00
Michael Bestas
33bb2244fd
Merge tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  mdm: dataipa: increase the size of prefetch buffer

Change-Id: Ie19ffc3277e452fe8d2d0112bbdc7a1f87b6fb2f
2023-12-11 20:39:56 +02:00
George Gao
c5394cf277
asoc: holi: address checkpatch error and warning
Checkpatch tool generates some errors and warnings due to added PM QoS feature
This change fixes these issues.

Change-Id: I0843ecd33144d7ac65649ee90ed156e97a1a2f8a
Signed-off-by: George Gao <georgao@codeaurora.org>
2023-11-11 17:25:26 +02:00
Alexander Winkowski
f286b6fbf3
techpack: audio: Resolve duplicate symbols
They're used only in their own source files so just mark them static.

Change-Id: Ie8699f97074a5838af4bc6eab4c1108258b97e4c
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2023-11-11 17:25:26 +02:00
Alexander Winkowski
1ecb1c7ff0
techpack: camera: Add missing braces in cam_ope_mgr_create_kmd_buf()
Cross-checked with msm-5.15 tag. The change does not exist as a separate
commit and is squashed into the initial import.

Change-Id: Ie922c512d7ea24661d3179cfd156ab8eb6fcc363
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2023-11-11 17:25:25 +02:00
Alexander Winkowski
6728e0cbe6
techpack: audio: Fix indentation in wsa881x_visense_adc_ctrl()
Cross-checked with msm-4.14 and msm-5.15 tags. The change does not exist
as a separate commit and is squashed into the initial import.

Change-Id: Ib3defedf0fbd5b7cdccdfba26383313ff05b4ef0
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2023-11-11 17:25:24 +02:00
Michael Bestas
b0ccde81e4
Merge tag 'LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: send power_on event in dual display composer kill scenario

Change-Id: I724d0c184dcb34d831bc6f4b1e9d33ed7a03dbca
2023-11-09 14:35:05 +02:00
Michael Bestas
dd18787f75
Merge tag 'LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  Revert "asoc: msm-compress : Fix for CTS-on-gsi with gki"
  asoc: msm-compress : Fix for CTS-on-gsi with gki
  ASoC: msm-pcm-host-voice: Handle mutex lock-unlock

Change-Id: I84217298ebd04c41daa978fcd3321a3c1bd2670b
2023-11-09 14:31:43 +02:00
Albert Tang
17aff28713 techpack: display: Define dp_connector_set_backlight inline
CONFIG_DRM_MSM_DP is disabled on holi, making this function undefined
and breaking compilation. Like all other inline functions, make this one
return 0.

Change-Id: I1ae0eeab563c3a67fb35d92e8ad2c391458778e6
2023-10-25 11:03:38 +00:00
LuK1337
436708b8e5 disp: msm: sde: Fix strict-prototypes error
Change-Id: I2c6d8f58782ee52225916bf10b572bb08054f443
2023-10-21 12:59:37 +02:00
LuK1337
06fbccbb01 msm: camera: Fix strict-prototypes error
Change-Id: Iaad4cda7407ea12558a2d4a0f4acb4586bed5d0a
2023-10-21 12:59:36 +02:00
Michael Bestas
546c833a9c
Merge tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-5.4-lahaina
"LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: fix tier and level issue for hevc

Change-Id: I83af5b7733d8bbe6eca2bbcff73968593c1848db
2023-10-16 16:02:23 +03:00
Michael Bestas
187f714733
Merge tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-audio-effects-q6-v2: Add BPF order check

Change-Id: I5b588f3b10e6efee554968284c1d2e1e606b8070
2023-10-16 15:53:50 +03:00
Michael Bestas
cbe5f00264
Merge tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  ipa: Fix ioctl buffer allocation due to increased header size

Change-Id: I9e7ab01057fa4dd1fbb11329771048a1bf5681b1
2023-09-19 17:26:42 +03:00
Michael Bestas
6026539bb5
Merge tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: memmgr: release buffers after usage

Change-Id: Ib871ecd60cc9037ca43823170409c59e8071a52c
2023-09-19 17:26:07 +03:00
Michael Bestas
9624152832
Merge tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  Asoc: add functionality to get source Track data from FNN module
  dsp: add support to get Source Track data from FNN module
  asoc: lahaina: add 16 channel support on tdm interface
  asoc: Add jitter cleaner external clock switch
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: Address information leak in dsp drivers
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6afe: Add check for fbsp state
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-lsm-client: Integer overflow check
  asoc:msm-lsm-client: check for param size before copying

Change-Id: Ia01bfa4467f137efa4578708177862b794aeaf91
2023-09-19 17:25:30 +03:00
Michael Bestas
793aadc2a2
Merge tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-5.4-lahaina
"LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: Update avc/hevc dec capability as per PRD
  msm: vidc: Add clock/bus votes for eos/flush commands
  msm: vidc: enabling dynamic session context for different targets
  msm: vidc: enabling new DTSI compatibility for IOT specific target

Change-Id: I602efdd03e7d5f659660780b32c2d4f115476b8a
2023-08-29 04:02:30 +03:00
Michael Bestas
0124532c0e
Merge tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dp: fix compilation errors
  Revert "disp: msm: dp: skip hpd config"
  disp: msm: dp: wait for resources init in case of cont splash
  disp: msm: sde: Remove pm vote at time of handoff
  disp: msm: eDP continuous splash implementation
  disp: msm: dp: add backlight for edp
  disp: msm: dp: skip hpd config
  disp: msm: edp continuous splash implementation
  disp: msm: dp: add eDP panel notifier support
  disp: msm: dp: add eDP panel notifier support
  disp: msm: dp: add pinctrl state for backlight pwm
  drm/msm/dp: add support to multiple dp instances
  disp: msm: dp: move fsa init from dp probe to dp hotplug
  disp: msm: sde: update sde interrupt map
  disp: msm: dp: update pll and catalog sequence
  disp: msm: dp: Convert clock operations to byte2 ops
  disp: msm: dp: Masking interrupt for eDP
  disp: msm: dp: add support for eDP display
  disp: msm: dp: add eDP support as a primary display
  disp: msm: dp: Support DP display as primary
  disp: msm: dp: add pixel base offset support in device tree
  disp: msm: dp: add 7nm eDP PHY support
  disp: msm: dp: add files for 7nm eDP PHY

Change-Id: I614c52764b1479b90bd5a603828b5dff7e6c83db
2023-08-29 04:01:21 +03:00
Michael Bestas
25bf8c0cd2
Merge tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-10900-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6lsm: Address use after free for mmap handle
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: dsp: q6core: Avoid use after free
  dsp:  afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS
  asoc: copyright fix

Change-Id: I6e86a207e0a4651c87724cc8333258bd1d7b5dce
2023-08-29 03:57:28 +03:00
Michael Bestas
d76bd768e3
Merge tag 'LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: fd: Fix compilation issue
  msm: camera: sensor: Add changes to prevent unmap buffers
  msm: camera: mem_mgr: Add refcount to track in use buffers
  msm: camera: core: validation of session/device/link handle

Change-Id: Ib788e6976d983169dbfc15ef0584cff7dc936dd9
2023-08-25 12:14:13 +03:00
Michael Bestas
ed068fccfe
Merge tag 'LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-22200-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: Add the judgment for TDM
  asoc: swrm: disable bus reset based on swrm verison
  dsp: afe: Add check for sidetone iir config copy size
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm playback copy
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: asm: validate payload size before access
  dsp:  afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS
  dsp: afe: Add check for num_channels
  soc: swr-mstr-ctrl: add new lock to sync runtime_resume and runtime_suspend
  soc: reduce the auto suspend timeout when swr event finished

Change-Id: I82d3446a3ecf6cf47f75ab34a292557f24339ebb
2023-08-25 12:12:56 +03:00
Alexander Winkowski
368983dd6c
techpack: camera: Avoid OOB access to struct cam_axi_per_path_bw_vote
Change-Id: I36c6366aa77f8e747a18d30b11c9f4f10ab60a82
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2023-08-15 17:53:46 +00:00
Soumya Managoli
e9e1988e85
ASoC: Fix overflow error in routing driver
The reg in soc_dapm_mux is 32-bit. The BE DAI ID passed
as shift(to be operated on the reg) may be more than 31,
which may cause overflow.
Set reg field to SND_SOC_NOPM to avoid any DAPM operation
while passing BE IDs in shift_l field and hence avoid overflow.

Change-Id: Ibbbca04c61b7c56eb4c5a7485a4e93dc28a09709
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
[dereference23: Forward port to msm-5.4]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2023-08-15 17:50:24 +00:00
Manaf Meethalavalappu Pallikunhi
7d3114211e
disp: msm: limit display brightness max cooling device level
Based on panel hardware support, display brightness levels can
be very high value. This high value display brightness cooling
device levels can cause exceeding PAGE_SIZE for cooling device stat
buffer. It leads to buffer failure for cooling device stat feature.

Limit display panel mitigation level max to 255. If hardware
supports more than 255, then scale brightness levels fit
into above limit.

Change-Id: Ieeee4ff2aa5cd884819b30b4fd9839e48ac4d804
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2023-08-15 17:49:42 +00:00
Michael Bestas
c66e4a1259
Merge tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/datarmnet-ext into android13-5.4-lahaina
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/datarmnet-ext:
  rmnet_offload: I590f620cea3770efb8bc319e3a0322bbc8acaf85
  rmnet_offload: I3835da78f030c175bb6ce15cbcb73c50272dd7f2

Change-Id: I1769c803edba359f5ceaecd3aac9e23647f24253
2023-07-11 15:55:17 +03:00
Michael Bestas
e11e13749b
Merge tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/datarmnet into android13-5.4-lahaina
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/datarmnet:
  rmnet_core: Strengthen IPv6 fragment check in rmnet_frag_skip_exthdr()
  rmnet_core: Manually checksum csum_valid = 0 packets

Change-Id: Ic8d02b333ceb430f12209e5f8de32c42d617bd17
2023-07-11 15:53:54 +03:00
Michael Bestas
ce16abb069
Merge tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to increase workqueue priority
  msm: ipa3: fix pointer arithmetic to avoid out-of-bound
  msm: ipa3: Removing assert in halt q6 channel failed cases.

Change-Id: I9e71c61d64302bbbe37297de84e616abd3fd6da1
2023-07-11 15:52:40 +03:00
Michael Bestas
7a406906ce
Merge tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: q6core: validate payload size before access for AVCS
  dsp:  afe: check for param size before copying
  ASoC: msm-pcm-voip: Avoid interger underflow
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm capture copy
  dsp: q6core: Avoid OOB access in q6core
  dsp: q6voice: Add buf size check for cvs cal data
  ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
  dsp: q6adm: Resolve mem corruption in adm cb

Change-Id: I049254180a236de36f3f526faa2e401c4dd805ee
2023-07-11 15:49:56 +03:00
Michael Bestas
2b5bca9f1d
Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: Add clock/bus votes for eos/flush commands

Change-Id: I1ca5d61287c51a315fb907ecdeb2f11718965e2d
2023-06-08 11:48:31 +03:00
Michael Bestas
fec2262229
Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to remove dependency ipa3_ctx global variable
  msm: ipa3: Changes to fix memory leak issue
  msm: ipa3: reset skb header before passing it to NW stack
  msm: ipa3: add debug stats in case of pipe setup fail
  msm: ipa3: Update QMAP ID field in metadata field for GSB client
  msm: ipa3: add cleanup_rx if setup pipe failed.

Change-Id: I3a86ea1bfda1970c04029b6c42041949c3c946af
2023-06-08 11:45:47 +03:00
Michael Bestas
b5abec3dc6
Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: cdm: Making WQ to have inflight works to be one
  msm: camera: cdm: check irq status on hang detection
  msm: camera: ope: Avoid deadlock in OPE PF handling

Change-Id: I842118bc7fbdf635a9a76a4afdfbed87e6153df8
2023-06-08 11:44:58 +03:00
Michael Bestas
9d2a27aa1f
Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: compress: Modify incorrect partial buffer size check
  asoc: msm-pcm-routing-auto: Add checks to enable senary port
  dsp: Add check for negative value size

Change-Id: I7a0ab8ba6d8198f4c7b1e4f79113643e1964a9ea
2023-06-08 11:44:07 +03:00
Danny Lin
131ddc012a
techpack: audio: Remove build timestamp injection
This causes parts of the audio module to be rebuilt during every
incremental build, even if there are no changes:

  CC      techpack/audio/ipc/apr.o - due to command line change
  CC      techpack/audio/ipc/apr_v2.o - due to command line change
  CC      techpack/audio/ipc/apr_tal_rpmsg.o - due to command line change
  CC      techpack/audio/ipc/wcd-dsp-glink.o - due to command line change

We're only experiencing this issue in techpack/audio/ipc at the moment,
but kill the timestamp injection in all the audio components to
eliminate the possibility of encountering this issue again in the
future. This is harmless since the injected BUILD_TIMESTAMP macro is
never used.

Change-Id: I35b588a2a902438b2c79ebbac31453f2e528bbbe
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
2023-04-19 21:21:59 +03:00
Michael Bestas
a3941b89a3
Merge tag 'LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: smmu: Use get_file to increase ref count

Change-Id: I5d9a9b6f3fd5f47ccc75332fc1863861cb9b1c66
2023-03-24 02:55:33 +02:00
Michael Bestas
72f41eefca
Merge tag 'LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: Fix possible overflow in routing driver
  asoc : Update proper comment for endpoint 2

Change-Id: I14f8b619785911a1ac2500fad64eccd290af1fff
2023-03-24 02:55:14 +02:00
Michael Bestas
72ead4923f
Merge tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-5.4-lahaina
"LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm:vidc: add enums for crop event

Change-Id: I5ea6f0c56218702267d7121f43338e4417e62005
2023-03-19 17:13:50 +02:00
Michael Bestas
27fc8da46b
Merge tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: sde: drop suspend state if commit is skipped
  disp: msm: sde: cancel delayed idle_notify_work beginning of every commit
  disp: msm: dsi: add missing dsi ctrl mutex lock in host timing update
  disp: rsc: update mode-1 threshold config to 1 hz
  disp: msm: dsi: Handle absence of dsi select clocks in device-tree

Change-Id: I7740381b7589295c83d5fb18fbba4def0fbce8ce
2023-03-19 17:13:03 +02:00
Michael Bestas
9ac32e636a
Merge tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: lrme: BL command length validation

Change-Id: Ideb94c567a1f1c467e454cc9ac6a0b6ce89ee5a7
2023-03-19 17:10:26 +02:00
Michael Bestas
1b2c1d0e12
Merge tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc : mark used cal block as stale
  asoc: Add build option for qcs6490
  asoc: kona: Add QUAD I2S EBIT clk define to kona
  ASoC: Add check for pm_qos_req before removal
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  dsp : assign null to pointer that has freed address
  asoc : send chanel mixer while rerouting sound device
  asoc: lahaina:  set correct swr port map when wcd disabled
  asoc: wcd938x/wcd937x: add null pointer check for mbhc variable
  asoc: wsa881x: Fix to set the correct volume level
  asoc : enable mclk after ssr for talos
  ASoC: Add support "adm cmd register" and "adm pp" events
  dsp: Remove lock in voice_map_cal_memory

Change-Id: Id91693ecd7a7f7b85f1e96f1337ad4fba3b0d2b4
2023-03-19 17:09:29 +02:00
lucaswei
ee307799f3
video: hfi_iris2: Fix -Wpointer-to-int-cast
msm/vidc/hfi_iris2.c:170:3: error: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Werror,-Wpointer-to-int-cast]
                (u32)device->iface_q_table.align_virtual_addr, sid);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Casting `device->iface_q_table.align_virtual_addr` to uintptr_t first, then
cast to u32 to avoid pointer-to-int-cast errors.

Bug: 171827315
Bug: 181191123
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I687af3df978841d4cba8ea658176187d1fb56837
2022-12-17 03:25:24 +02:00
Michael Bestas
d877019ecf
Merge tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dsi: clear the panel esd_recovery_pending in power on commit
  drm: msm: remove YUV format setting

Change-Id: I35059b0dc99d1d3e2c9d1bff1fe6b121d00b173b
2022-12-17 02:56:29 +02:00
Michael Bestas
c594a5d1d7
Merge tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to retry page allocation in WQ
  msm: ipa3: Adding check for odl stats

Change-Id: Ie55ccb4d0730d790b96abf245a2a850fa8427a84
2022-12-17 02:54:21 +02:00
Michael Bestas
3d47e0d328
Merge tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Handle early bufdones
  msm: camera: common: Add conditions to catch invalid packet data
  msm: camera: isp: Handle RUP in applied substate

Change-Id: I514cb62d4cd8af199ea4b828cd4c44c2f0f7a54e
2022-12-17 02:53:47 +02:00
Michael Bestas
8d1a624193
Merge tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: Update wcd937x codec driver controls
  uapi:align msm_audio_ar.h with AR
  asoc : modify spf_machine_dlkm module name for GVM
  asoc: tavil: modify TX routes and dapm widgets
  asoc: tavil: modify RX routes and dapm widgets
  asoc: Fix App Type Gain can`t work proper
  asoc: destroy mutex during module_exit
  asoc: add return value check for channel mapping function
  Asoc: 24bit support for output devices

Change-Id: Ic6f52c296b15b5e202da6c98668965d8ae997d6f
2022-12-17 02:53:06 +02:00
Michael Bestas
99fc40776e
Merge tag 'LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: sde: fix min ib vote in mnoc and ebi_ib path
  disp: msm: dsi: add support for dsi config

Change-Id: Ie88226bfc57764c185a1e013e9ed6e2a6819a419
2022-11-09 19:42:47 +02:00
Michael Bestas
6e8fa4a4c4
Merge tag 'LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: use virt_sndcard_ctl node for sndcard status update
  dsp : search cal block using path in asm
  asoc: audio reach kernel bringup on 8255 GVM
  ASoC: codecs: Deinitialize mbhc on codec remove
  asoc: Add kcontrol "QUAT_TDM_RX_7 Port Mixer TERT_TDM_TX_7"
  audio: Modified SSR handling after sub-system shutdown compltes
  asoc: remove error from function msm_pinctrl_mclk_enable

Change-Id: I3bad495ed1fe4ec8a3f7c2acb515c9acd96f31da
2022-11-09 19:40:46 +02:00
Michael Bestas
aa81b48ce0
Merge tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android12-5.4-lahaina
"LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: add msm framebuffer emulation
  makefile: add gki config support for display techpack for kona
  Revert "disp: msm: dsi: Add DSI PLL support for 7nm_v4_1 arch"
  disp: msm: dsi: Add DSI PLL support for 7nm_v4_1 arch
  disp: msm: sde: disable dsi ctrl regulator during deepsleep
  disp: msm: sde: update uidle ctl register only for master encoder
  disp: msm: avoid minidump region addition for mdss register dumps
  disp: msm: add skip panel power off dt property

Change-Id: I1ade9627b3ade718cb923b0ca23031fc9e639808
2022-10-02 01:49:51 +03:00
Michael Bestas
e97a85da49
Merge tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android12-5.4-lahaina
"LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: add check in odl pipe cleanup
  msm: ipa3: Added changes to check QMI pointer valid or not
  msm: ipa: fix to NULL terminate the pointer
  msm: ipahal: modify parameter from eq_bitfield[i] to i
  msm: ipa3: handling MISRA issue

Change-Id: I79939c82f4245f459dd320ffcd413815f2d18905
2022-10-02 01:48:17 +03:00