drm/i915/guc: Remove WQ_WORKLOAD_SHIFT define
authorOscar Mateo <oscar.mateo@intel.com>
Tue, 12 Sep 2017 21:36:36 +0000 (14:36 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Sep 2017 09:36:48 +0000 (10:36 +0100)
We never used it in i915 and it's going to be removed
in newer GuC firmwares anyway.

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1505252197-27696-2-git-send-email-oscar.mateo@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_guc_fwif.h

index 83bd401196eb68f582a83a4466ee859ea7d47b56..7eb6b4fa1d6f953de393fe52d3f433aa968c7e7e 100644 (file)
 #define WQ_LEN_SHIFT                   16
 #define WQ_NO_WCFLUSH_WAIT             (1 << 27)
 #define WQ_PRESENT_WORKLOAD            (1 << 28)
-#define WQ_WORKLOAD_SHIFT              29
-#define   WQ_WORKLOAD_GENERAL          (0 << WQ_WORKLOAD_SHIFT)
-#define   WQ_WORKLOAD_GPGPU            (1 << WQ_WORKLOAD_SHIFT)
-#define   WQ_WORKLOAD_TOUCH            (2 << WQ_WORKLOAD_SHIFT)
 
 #define WQ_RING_TAIL_SHIFT             20
 #define WQ_RING_TAIL_MAX               0x7FF   /* 2^11 QWords */