[Intel-gfx] [PATCH] drm/i915: Remove misinformation about mark_busy/mark_idle

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 17 15:32:30 UTC 2016


Nowadays these are solely for managing the GT wakelock. Don't confuse
the reader by referring to how they used to work, nor suggest they are
deprecated simply because they are no longer relevant for frontbuffer
tracking.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/gpu/drm/i915/intel_frontbuffer.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_frontbuffer.c b/drivers/gpu/drm/i915/intel_frontbuffer.c
index 966de4c7c7a2..5c0778a61a2a 100644
--- a/drivers/gpu/drm/i915/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/intel_frontbuffer.c
@@ -53,11 +53,6 @@
  * busyness. There is no direct way to detect idleness. Instead an idle timer
  * work delayed work should be started from the flush and flip functions and
  * cancelled as soon as busyness is detected.
- *
- * Note that there's also an older frontbuffer activity tracking scheme which
- * just tracks general activity. This is done by the various mark_busy and
- * mark_idle functions. For display power management features using these
- * functions is deprecated and should be avoided.
  */
 
 #include <drm/drmP.h>
-- 
2.10.2



More information about the Intel-gfx mailing list