We were using stolen memory because it was unused memory, but
on recent platforms this adds extra latency when waking from
RC6, because memory accesses go through the media IP.

Reported-by: Alexander B Slota <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
---
 drivers/gpu/drm/xe/display/xe_fb_pin.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/xe/display/xe_fb_pin.c 
b/drivers/gpu/drm/xe/display/xe_fb_pin.c
index f93c98bec5b5f..c4e23926cd06e 100644
--- a/drivers/gpu/drm/xe/display/xe_fb_pin.c
+++ b/drivers/gpu/drm/xe/display/xe_fb_pin.c
@@ -173,14 +173,6 @@ static int __xe_pin_fb_vma_dpt(struct drm_gem_object *obj,
                                                   XE_BO_FLAG_PAGETABLE,
                                                   pin_params->alignment, 
false);
        else
-               dpt = xe_bo_create_pin_map_at_novm(xe, tile0,
-                                                  dpt_size,  ~0ull,
-                                                  ttm_bo_type_kernel,
-                                                  XE_BO_FLAG_STOLEN |
-                                                  XE_BO_FLAG_GGTT |
-                                                  XE_BO_FLAG_PAGETABLE,
-                                                  pin_params->alignment, 
false);
-       if (IS_ERR(dpt))
                dpt = xe_bo_create_pin_map_at_novm(xe, tile0,
                                                   dpt_size,  ~0ull,
                                                   ttm_bo_type_kernel,
-- 
2.53.0

Reply via email to