drm/i915: remove i915_perf_stream::size_exponent
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Fri, 16 Feb 2024 06:53:15 +0000 (07:53 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 19 Feb 2024 20:35:30 +0000 (15:35 -0500)
i915_perf_stream::size_exponent was never used since its addition in
commit a37f08a882b0 (drm/i915/perf: Refactor oa object to better manage
resources). Drop it.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240216065326.6910-11-jirislaby@kernel.org
drivers/gpu/drm/i915/i915_perf_types.h

index 46445248d193e6bf0316e4347a993bfc5c01ae1d..39fb6ce4a7ef9946245f77113b98f96c976e6a4f 100644 (file)
@@ -288,7 +288,6 @@ struct i915_perf_stream {
                struct i915_vma *vma;
                u8 *vaddr;
                u32 last_ctx_id;
-               int size_exponent;
 
                /**
                 * @oa_buffer.ptr_lock: Locks reads and writes to all