]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/i915: Remove unused intel_flush_status_page()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 16:35:39 +0000 (16:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Mar 2017 11:59:37 +0000 (12:59 +0100)
intel_flush_status_page() is defunct since commit f8dd2934c4ec
("drm/i915: Remove BXT incoherent seqno write workaround"), time to
remove it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170324163540.31981-2-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.h

index 35da008dc70cef82c292d1fd7d8c53a70216bb96..607755aa50b273e9af549cdc1970d6dd8b2889bf 100644 (file)
@@ -438,14 +438,6 @@ intel_engine_flag(const struct intel_engine_cs *engine)
        return 1 << engine->id;
 }
 
-static inline void
-intel_flush_status_page(struct intel_engine_cs *engine, int reg)
-{
-       mb();
-       clflush(&engine->status_page.page_addr[reg]);
-       mb();
-}
-
 static inline u32
 intel_read_status_page(struct intel_engine_cs *engine, int reg)
 {