diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-06-23 16:08:53 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-06-27 19:05:33 +0300 |
commit | 12d74553726675b5c991251f349422a24c575e56 (patch) | |
tree | 0cc2731b47366f1be507026fa19fc98cff865a50 /drivers/gpu/drm/i915/intel_device_info.h | |
parent | drm/i915: Move dbuf details to INTEL_INFO->display (diff) | |
download | wireguard-linux-12d74553726675b5c991251f349422a24c575e56.tar.xz wireguard-linux-12d74553726675b5c991251f349422a24c575e56.zip |
drm/i915: Move pipe_offsets[] & co. to INTEL_INFO->display
The display register offsets are display stuff so stick
into the display portion of the device info.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220623130900.26078-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_device_info.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h index f14183d54c69..ab439875da30 100644 --- a/drivers/gpu/drm/i915/intel_device_info.h +++ b/drivers/gpu/drm/i915/intel_device_info.h @@ -233,13 +233,13 @@ struct intel_device_info { #define DEFINE_FLAG(name) u8 name:1 DEV_INFO_DISPLAY_FOR_EACH_FLAG(DEFINE_FLAG); #undef DEFINE_FLAG - } display; + /* 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]; + } display; - /* 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]; struct color_luts { u32 degamma_lut_size; |