aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_device_info.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-04-16 20:10:04 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-04-21 01:23:46 +0300
commit708de86e10e59352eb57a3ad6a5a524d8f5c9f13 (patch)
tree4bbef9eea1d05624bed43c66cc56ec3e889c5816 /drivers/gpu/drm/i915/intel_device_info.h
parentdrm/i915: fix an error code in intel_overlay_do_put_image() (diff)
downloadlinux-dev-708de86e10e59352eb57a3ad6a5a524d8f5c9f13.tar.xz
linux-dev-708de86e10e59352eb57a3ad6a5a524d8f5c9f13.zip
drm/i915: Collect dbuf device info into a sub-struct
Collect the related dbuf information into a struct. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210416171011.19012-2-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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 8ab4fa6c7fdd..74591e4f9c44 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -196,8 +196,10 @@ struct intel_device_info {
#undef DEFINE_FLAG
} display;
- u16 ddb_size; /* in blocks */
- u8 num_supported_dbuf_slices; /* number of DBuf slices */
+ struct {
+ u16 size; /* in blocks */
+ u8 num_slices;
+ } dbuf;
/* Register offsets for the various display pipes and transcoders */
int pipe_offsets[I915_MAX_TRANSCODERS];