drm/i915: Remove WA_(SET|CLR)_BIT
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Oct 2017 12:41:53 +0000 (13:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Oct 2017 14:05:40 +0000 (15:05 +0100)
commit8d488bbec73fa36907e1b327e919bcd522b4a57f
treeef77eed16d162b53407d2fc189d7496a80009827
parent53221e11c7a0e85004c1a28f74e4e173f098d262
drm/i915: Remove WA_(SET|CLR)_BIT

These macros are of dubious merit when coupled with the per-context w/a
set. Instead of tweaking the value in the context, they tweak the value
based on the mmio at the time of recording; they are almost by
definition not per-context! Having removed the last users, remove the
macros to avoid temptation in the future.

v2: Kill WA_WRITE as well (now also unused).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171004124153.14142-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c