Send the HFI feature control packet to the GMU in order to enable
preemption.
Change-Id: Ic00e3943bceb29feb28740dbadd3fb7c6fdc562b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This is to allow GMU to request secure gpu global buffers.
Change-Id: Iacef726ee3abe02b56178f475ebe9835649a868c
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
The result of GENMASK needs to be inverted so that the
handler doesn't report OOB bits as unknown bits.
Change-Id: I3e39334a6dd79343109591b043c9aa30a8bdff9d
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
With hwscheduling, the flags are requested by GMU outside
of kgsl domain. Printing these flags helps to know the flags
as requested by GMU.
Change-Id: I71d19ead02e115c0a4ead9861de9afd2a0dd2608
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Say a context has only one submission i.e. it has only one dispatch
job. And say gpu encounters a fault and sets dispatcher fault. The
dispatch job will be free'd and post recovery, the context will never
get to the ringbuffer until it queues another submission. This behaviour
holds true in cases where dispatcher is halted for example during
suspend. So in either case, add back the job the the dispatcher jobs
list to make sure the job is not lost.
Change-Id: Iec0a0abfbdcf2535d7f82ec1e286581e1c93a3ea
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Structure pointer added in list was not deleted properly.
Delete list in proper sequence and free pointer.
Change-Id: I9a5deb0801ec7366d0be7049e8771016a3bbdf44
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Send MSA segment of DDR to FW with IOVA range as part of
Host Capability. So that FW detect invalid host DDR access
before SMMU fault happens.
Change-Id: I21c011b50c54f37dd7b5a942e1914c1afdf6d766
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Enables ufs debug feature for general/debug builds.
Disables this feature for perf builds.
Change-Id: I2b30c8081d24db7871c277c67631d92fc7d9ea60
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
This sysfs entry provides the state of the driver.
If it's in debug/perf state.
This can be used by user-space scripts to toggle various tracing.
Change-Id: If0e3d8e032f60c9134bdd5ce27fe37687e67770a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Enable IPC logging for functionalities like diag, adb
and mtp that uses the f_fs driver on Holi.
Change-Id: I9f627f74d3b34b69da6da8d3390dc5f3eee95f14
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>