drm/i915: Only emit flushes on active rings.
This avoids the excess flush and requests on idle rings (and spamming the debug log ;-) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:

committed by
Eric Anholt

parent
e044218a8e
commit
88f356b725
@@ -285,6 +285,9 @@ typedef struct drm_i915_private {
|
||||
unsigned int sr01, adpa, ppcr, dvob, dvoc, lvds;
|
||||
int vblank_pipe;
|
||||
int num_pipe;
|
||||
u32 flush_rings;
|
||||
#define FLUSH_RENDER_RING 0x1
|
||||
#define FLUSH_BSD_RING 0x2
|
||||
|
||||
/* For hangcheck timer */
|
||||
#define DRM_I915_HANGCHECK_PERIOD 75 /* in jiffies */
|
||||
|
Reference in New Issue
Block a user