Commit 5ba584ec authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Make pipe_offsets[] & co. u32



Using a signed type for the register offsets doesn't really
make sense. Switch to u32.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220623130900.26078-5-ville.syrjala@linux.intel.com


Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent c92df6aa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -236,9 +236,9 @@ struct intel_device_info {
		u32 mmio_offset;

		/* Register offsets for the various display pipes and transcoders */
		int pipe_offsets[I915_MAX_TRANSCODERS];
		int trans_offsets[I915_MAX_TRANSCODERS];
		int cursor_offsets[I915_MAX_PIPES];
		u32 pipe_offsets[I915_MAX_TRANSCODERS];
		u32 trans_offsets[I915_MAX_TRANSCODERS];
		u32 cursor_offsets[I915_MAX_PIPES];
	} display;