mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 19:26:01 -04:00
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: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220623130900.26078-5-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user