提交图

12 次代码提交

作者 SHA1 备注 提交日期
Liam Mark
34e2be74ab ubwcp: Replace add_memory with memremap_pages
Replace add_memory with memremap_pages as that will ensure that
ULA PA pages are not added to buddy.

Change-Id: I5dfb9dfeca5cad62b031b45c5ab11f1b46569709
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-05-23 15:19:27 -07:00
Linux Image Build Automation
3d615ce6d0 Revert "ubwcp: Replace add_memory with memremap_pages"
This reverts commit 5e05b3249f.

Change-Id: Idb8ee5f6f43d9cf9fe4e7a26368e068a9f3d58d3
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-05-15 17:25:19 -07:00
Linux Image Build Automation
f0b4b3afe7 Revert "ubwcp: limit error logs"
This reverts commit 2eedb864bf.

Change-Id: Ifc34b5760a63b3d1ceff459f0f769833a33614bd
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-05-15 17:25:07 -07:00
Linux Image Build Automation
2eedb864bf ubwcp: limit error logs
Enable read & decode irq only for debug.
Rate limit error logs.

Change-Id: I782d5af9049bdb501d14f3cbc6a7f868d49da581
Signed-off-by: Amol Jadi <quic_ajadi@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-04-22 11:22:38 -07:00
Linux Image Build Automation
5e05b3249f ubwcp: Replace add_memory with memremap_pages
Replace add_memory with memremap_pages as that will ensure that
ULA PA pages are not added to buddy.

Change-Id: I66dd4c533011f9e7ed4ed45697216ba947a4e3a3
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
2023-04-22 11:22:26 -07:00
Amol Jadi
7049c53fc2 ubwcp: ioctl for stride alignment and bytes per pixels
Implements stride alignment and stride validate IOCTL.
Additional checks on stride value.
Fixes spell error in ioctl interface.

Change-Id: Ic4a41a12e2ffa8d45fd71938133accd069dff863
Signed-off-by: Amol Jadi <quic_ajadi@quicinc.com>
2023-03-28 16:11:50 -07:00
Liam Mark
14742c1cfb ubwcp: optimize power and mem offline perf
Optimize the UBWC-P driver for power by ensuring that UBWC-P is only
powered up when there is a non-linear UBWC-P buffer allocated.

Optimize the performance of the memory offlining by
adding support for the CMO component to be interrupted by the
allocation of a new UBWC-P buffer.

Change-Id: Ib473c00b996782131799fd223eaf1ad7feca058b
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
2023-03-28 09:54:00 -07:00
Liam Mark
b5312c5129 ubwcp: Set ULA PA range size from DT
Use the UBWC-P ula_range DT property to configure the
UBWC-P ULA PA range size.

Change-Id: I46579146904f76160c0f984d8e377e8d28a56dd7
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
2023-03-28 09:53:32 -07:00
Liam Mark
fcb70f9328 ubwcp: add ftrace support
Add ftrace support to help with performance
measurements.

Change-Id: I21f762a9e25b2b745fbf4f72990c9932f823634b
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
2023-03-22 16:25:49 -07:00
Liam Mark
bc6e2ce23d ubwcp: Re-map as uncached and invalidate
Re-map ULA PA as uncached and invalidate before power
collapse.

Change-Id: Ice676b98a472512c0be1ad83b5b592fec079e7ee
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
2023-02-02 16:19:42 -08:00
Liam Mark
7a0417fe15 Revert "ubwcp: Keep UBWC-P powered on after buffer alloc"
This reverts commit ff2498ad42.

No longer needed now that we are doing CMOs with an
un-cached mapping.

Change-Id: I927b93aaf869755a9fe36e77a24874e5b83a331d
Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
2023-02-02 16:18:10 -08:00
Amol Jadi
47907f98a1 ubwcp: bazel support
Add support for bazel build system

Change-Id: I9ec76c8341d7d1c909725016c0387beb13302570
Signed-off-by: Amol Jadi <quic_ajadi@quicinc.com>
2023-02-01 18:15:28 -08:00