summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Hu <andy.hu@starfivetech.com>2024-02-02 20:37:09 +0300
committerAndy Hu <andy.hu@starfivetech.com>2024-02-02 20:37:09 +0300
commita51f24e4891e0ddca6c5b077f207efb2c79c2855 (patch)
treeab2e28d69f7069b6a291719562fb86efef3b7bf4
parent579326af905b734b527819369ff3a392d604df4a (diff)
parent726aa953f50ad46ef112c661444fd0feb50d4ad5 (diff)
downloadlinux-a51f24e4891e0ddca6c5b077f207efb2c79c2855.tar.xz
Merge tag 'JH7110_SDK_6.1_v5.11.1' into vf2-6.1.y-devel
-rw-r--r--drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c b/drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c
index e6bef8d19c54..320f855cdbdb 100644
--- a/drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c
+++ b/drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c
@@ -1958,7 +1958,7 @@ _AllocOSPages_Fast(PMR_OSPAGEARRAY_DATA *psPageArrayData)
{
eError = _MemsetPageArray(uiOSPagesToAlloc - uiDevPagesFromPool,
ppsPageAttributeArray, PAGE_KERNEL,
- PVRSRV_ZERO_VALUE, 0);
+ PVRSRV_ZERO_VALUE, 1);
if (eError != PVRSRV_OK)
{
PVR_DPF((PVR_DBG_ERROR, "Failed to zero pages (fast)"));
@@ -1971,14 +1971,14 @@ _AllocOSPages_Fast(PMR_OSPAGEARRAY_DATA *psPageArrayData)
* can point to different allocations: first for pages obtained from
* the pool and then the remaining pages */
eError = _MemsetPageArray(uiDevPagesFromPool, ppsPageArray, PAGE_KERNEL,
- PVRSRV_POISON_ON_ALLOC_VALUE, 0);
+ PVRSRV_POISON_ON_ALLOC_VALUE, 1);
if (eError != PVRSRV_OK)
{
PVR_DPF((PVR_DBG_ERROR, "Failed to poison pages (fast)"));
}
eError = _MemsetPageArray(uiOSPagesToAlloc - uiDevPagesFromPool,
ppsPageAttributeArray, PAGE_KERNEL,
- PVRSRV_POISON_ON_ALLOC_VALUE, 0);
+ PVRSRV_POISON_ON_ALLOC_VALUE, 1);
if (eError != PVRSRV_OK)
{
PVR_DPF((PVR_DBG_ERROR, "Failed to poison pages (fast)"));