CAMIF and IRQ Subsample registers are being programmed from user space
as a part of init packet. These registers need not be programmed in
kernel.
CRs-Fixed: 2974852
Change-Id: I2d1fe8445f98b9226fbe4a271390dea0b5b8df6f
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
Updated wm packer config for new ports i.e. AI and stats.
Added number of write master per composite group in tfe as target
specific data.
Updated correct offsets for bus registers under tfe.
CRs-Fixed: 2982472
Change-Id: If1385ffe869de08ba5cd22de03e3a56fbae064c1
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
Add support to allocate such buffers which need to accessed
by non-pix VM.
CRs-Fixed: 2981372
Change-Id: Iac965a479e05d638c6323bfacd7c6a4d89f2a223
Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
This change is to correct in_q rdx index logic. If rdx index is
increased in tasklet, then it is possible that due to delay in
workqueue scheduling crm send apply request for same request.
Also, it prevent concurrent access of in_q rdx index.
CRs-Fixed: 2980811
Change-Id: Iba7d3c0faf6abe845745acbcd810ca52a43e4d01
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Update Qtimer read logic to read qtimer before
CCI read operation to accomodate CCI delays.
CRs-Fixed: 2976423
Change-Id: I33cc84011a3aed89ee0e95386db3d7604edb16fa
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
Signed-off-by: Qiaorui Ge <gqiaorui@codeaurora.org>
Add more details to the csid logging in bottom
half for ver2 csid driver.
CRs-Fixed: 2948573
Change-Id: Ia98f51ab5674485397a99d8d3a3e46a7c2682d30
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
There is a possibility of composite groups in free dual
composite group list are not in sequential order. In case
of dual ife use case, if composite groups are not in
sequential manner then we landed into a scenario
where two different IFE with same resource have two
different composite group index, which is not expected.
This commit ensures if it is dual IFE usecase then at the time
of acquiring composite group, both IFEs have same composite
group ID for same resource.
CRs-Fixed: 2912721
Change-Id: I734d1d1660c1e70e0480e2dc0b8377a1c441c634
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
There is a chance that during acquire time while updating write master,
for few resources io buffers are not allocated. If Wm configurations
are enabled without receiving io buffers then there is a chance of
hitting page fault issues.
This commit takes care of enabling Wm configurations for each
client only if io buffers are allocated.
CRs-Fixed: 2887053
Change-Id: I868bd01dbd896dd86eeec4fc92a8a62e746f79cf
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
In subdev close call if CRM is still active wait for shutdown
from CRM [media device]. Remove subdevice check for active
handles, shutdown to happen irrespective of any active context.
If CRM is not active, subdevice shutdown should ensure there is
no access to kernel allocated buffers since at this point
memmgr is de-initialized.
As part of ICP close, remove usage of HFI queues, trigger PIL
to transfer FW memory ownership back to HLOS and power off ICP.
CRs-Fixed: 2976107
Change-Id: Ib05b3fbdcc33f4072da7ef77cf0118a807860e8c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Currently pinctrl state update operation is integrated
with platform resource operation. This can create unwanted
transition of pinctrl which can stay in suspend state.
This change detach and separate out the pinctrl entries
with index passed from devicetree. Pinctrl select
state operation is detach from platform enable/disable
operation to operate from device directly only for better
control with respect to operation.
CRs-Fixed: 2907475, 2954556
Change-Id: I918568f96e8888df6882f165458f5c4ab32d6348
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Master specific index is moved to dt bindings to share across
dtsi and driver for the same referencing. This will help
to align indexing and controlling of pinctrl with master specific
slaves.
CRs-Fixed: 2907475, 2954556
Change-Id: Ic5b5537b44af583cb7623ef38a19e67ffe95e95d
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Subscribe to error IRQs once in SFE top as opposed to per path
since the error IRQs are common to all paths. The change also
adds handling of SFE violation in HW mgr.
CRs-Fixed: 2841729
Change-Id: Id805b7365f81254cdacad618bffdfd5f4028dcfc
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
CSID currently reports input core select value to IFE HW manager instead
of hw-index of SFE core upon overflow. IFE HW manager also erroneously
checks for matching hw-index between reporting CSID and SFE, which might
not always be true. As a consequence, no SFE overflow information is
printed.
This commit changes CSID to report SFE hw-index and changes IFE HW
manager to match this hw-index against acquired SFE hw-index.
CRs-Fixed: 2977145
Change-Id: I2d062a7cd6de17f90200c8173d6895ec16c97d56
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
ISP context supports handling one composite group per IRQ callback. Use
this capability to reduce number of callbacks per IRQ.
CRs-Fixed: 2977031
Change-Id: I514e3e8f8f4b5998b98f2c2c6131e322231dacad
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Add new tpg subdev driver. This change exposes the tpg hw as a new
subdev similar to that of a sensor driver.
CRs-Fixed: 2973850
Change-Id: I6fdb4457d8cc829546896f26bdde8765a4258e7c
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
This change enables CSID to receive data from TPG resource 3.
CRs-Fixed: 2973850
Change-Id: Ie7a48370c5b3551e037a47dc677dfcdc6ded101e
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
In upcoming targets, TPG will be supported as a separate node.
This commit removes the tpg code from ife/tfe hw manager.
CRs-Fixed: 2973850
Change-Id: I031302756d85e004fc3a07f9864daf2c16dd837b
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>