mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
drm/i915: Add is_dgfx to device info
This will be helpful to diferentiate a set of GPUs with the same GEN version. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191024195122.22877-1-lucas.demarchi@intel.com
This commit is contained in:
parent
ba1d18e386
commit
dc90fe3fd2
@ -1551,6 +1551,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
|
||||
}
|
||||
|
||||
#define IS_MOBILE(dev_priv) (INTEL_INFO(dev_priv)->is_mobile)
|
||||
#define IS_DGFX(dev_priv) (INTEL_INFO(dev_priv)->is_dgfx)
|
||||
|
||||
#define IS_I830(dev_priv) IS_PLATFORM(dev_priv, INTEL_I830)
|
||||
#define IS_I845G(dev_priv) IS_PLATFORM(dev_priv, INTEL_I845G)
|
||||
|
@ -107,6 +107,7 @@ enum intel_ppgtt_type {
|
||||
func(is_mobile); \
|
||||
func(is_lp); \
|
||||
func(require_force_probe); \
|
||||
func(is_dgfx); \
|
||||
/* Keep has_* in alphabetical order */ \
|
||||
func(has_64bit_reloc); \
|
||||
func(gpu_reset_clobbers_display); \
|
||||
|
Loading…
Reference in New Issue
Block a user