diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-06-23 16:08:55 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-06-27 19:05:47 +0300 |
| commit | 5ba584ec1101cd63081ba7c228849acef962f6b9 (patch) | |
| tree | 25cebe91bcfdcffbe55f976a7b59cb0303c70ead | |
| parent | c92df6aa397b5a37cf06004a219b4fdf26234dd6 (diff) | |
| download | linux-5ba584ec1101cd63081ba7c228849acef962f6b9.tar.xz | |
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>
| -rw-r--r-- | drivers/gpu/drm/i915/intel_device_info.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h index f55a1643ae04..7e50c778c78e 100644 --- a/drivers/gpu/drm/i915/intel_device_info.h +++ b/drivers/gpu/drm/i915/intel_device_info.h @@ -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; |
