]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename GFX_TLB_INVALIDATE_ALWAYS
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Mar 2014 17:18:54 +0000 (17:18 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:58:04 +0000 (22:58 +0200)
commitc1ce5a07d46a153923298997525d00605255dcd0
tree5b28f076a1a09253ed597a872e4a983e18bf7cbc
parentc659a647628f119bdb93d27cb44cc0df6531b0b0
drm/i915: Rename GFX_TLB_INVALIDATE_ALWAYS

The documentation calls this GFX_MODE bit "Flush TLB invalidate Mode".
However, that is not a good name for an enable bit as it doesn't make it
clear what is enabled. An even worse name is GFX_TLB_INVALIDATE_ALWAYS
as enabling that bit actually prevents the TLB from being invalidated at
every flush. This leads to great confusion when reading code and
proposed patches. To get around this try to bake in what is enabled by
setting the bit and call it GFX_TLB_INVALIDATE_EXPLICIT.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "Gupta, Sourab" <sourab.gupta@intel.com>
Acked-by: "Gupta, Sourab" <sourab.gupta@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c