[PATCH] Fix reserve start and end for lmem of remote tiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ramalingam C <ramalingam.c@xxxxxxxxx>

Signed-off-by: Ramalingam C <ramalingam.c@xxxxxxxxx>
---
 drivers/gpu/drm/i915/intel_region_lmem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_region_lmem.c b/drivers/gpu/drm/i915/intel_region_lmem.c
index d5ffef3bf5f6..d85da31f98c9 100644
--- a/drivers/gpu/drm/i915/intel_region_lmem.c
+++ b/drivers/gpu/drm/i915/intel_region_lmem.c
@@ -217,8 +217,8 @@ static int reserve_lowmem_region(struct intel_uncore *uncore,
 
 	get_tracedebug_region(uncore, &region_start, &region_size);
 	if (region_size) {
-		reserve_start = min(reserve_start, region_start);
-		reserve_end = max(reserve_end, region_start + region_size);
+		reserve_start = 0;
+		reserve_end = region_size;
 	}
 
 	if (!reserve_end)
-- 
2.25.0

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux