]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Remove unused HAS_FWTABLE macro
authorPascal Terjan <pterjan@google.com>
Sun, 10 May 2020 21:25:21 +0000 (22:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 May 2020 15:57:36 +0000 (16:57 +0100)
It has been unused since commit ccb2aceaaa5f ("drm/i915: use vfuncs for
reg_read/write_fw_domains").

Signed-off-by: Pascal Terjan <pterjan@google.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200510212521.128869-1-pterjan@google.com
drivers/gpu/drm/i915/intel_uncore.c

index 078f5b2eb8a4cd36419eca1129b0afd251db207b..a61cb8ca4d50f34cd3878aefd48861741529f73e 100644 (file)
@@ -899,11 +899,6 @@ find_fw_domain(struct intel_uncore *uncore, u32 offset)
 #define GEN_FW_RANGE(s, e, d) \
        { .start = (s), .end = (e), .domains = (d) }
 
-#define HAS_FWTABLE(dev_priv) \
-       (INTEL_GEN(dev_priv) >= 9 || \
-        IS_CHERRYVIEW(dev_priv) || \
-        IS_VALLEYVIEW(dev_priv))
-
 /* *Must* be sorted by offset ranges! See intel_fw_table_check(). */
 static const struct intel_forcewake_range __vlv_fw_ranges[] = {
        GEN_FW_RANGE(0x2000, 0x3fff, FORCEWAKE_RENDER),