aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_device_info.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-03-18 19:02:35 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-04-03 19:49:56 +0300
commit10cf8e755a9ac793d43e4ce35f23cb32960140f9 (patch)
tree83a3ba3a31a89dd1c395aee8dbce1ff9f3ad894f /drivers/gpu/drm/i915/intel_device_info.h
parentdrm/i915: Avoid setting timer->expires to 0 (diff)
downloadlinux-dev-10cf8e755a9ac793d43e4ce35f23cb32960140f9.tar.xz
linux-dev-10cf8e755a9ac793d43e4ce35f23cb32960140f9.zip
drm/i915: Store cpu_transcoder_mask in device info
We have a bunch of code that would like to know which CPU transcoders are actually present in the hardware. Rather than use various ad-hoc methods let's just include a full bitmask in the device info, alongside pipe_mask. v2: Rebase Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200318170235.15176-1-ville.syrjala@linux.intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.h')
-rw-r--r--drivers/gpu/drm/i915/intel_device_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 1ecb9df2de91..cce6a72c5ebc 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -168,6 +168,7 @@ struct intel_device_info {
u32 display_mmio_offset;
u8 pipe_mask;
+ u8 cpu_transcoder_mask;
#define DEFINE_FLAG(name) u8 name:1
DEV_INFO_FOR_EACH_FLAG(DEFINE_FLAG);