mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-21 10:05:00 +08:00
drm/i915/ehl: Add ElkhartLake platform
Add ElkhartLake as a unique platform as there are some differences between it and Icelake. Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190322175847.25707-2-rodrigo.vivi@intel.com
This commit is contained in:
parent
29f3863d33
commit
897f296152
@ -2323,6 +2323,7 @@ static inline unsigned int i915_sg_segment_size(void)
|
||||
#define IS_COFFEELAKE(dev_priv) IS_PLATFORM(dev_priv, INTEL_COFFEELAKE)
|
||||
#define IS_CANNONLAKE(dev_priv) IS_PLATFORM(dev_priv, INTEL_CANNONLAKE)
|
||||
#define IS_ICELAKE(dev_priv) IS_PLATFORM(dev_priv, INTEL_ICELAKE)
|
||||
#define IS_ELKHARTLAKE(dev_priv) IS_PLATFORM(dev_priv, INTEL_ELKHARTLAKE)
|
||||
#define IS_MOBILE(dev_priv) (INTEL_INFO(dev_priv)->is_mobile)
|
||||
#define IS_HSW_EARLY_SDV(dev_priv) (IS_HASWELL(dev_priv) && \
|
||||
(INTEL_DEVID(dev_priv) & 0xFF00) == 0x0C00)
|
||||
|
@ -732,7 +732,7 @@ static const struct intel_device_info intel_icelake_11_info = {
|
||||
|
||||
static const struct intel_device_info intel_elkhartlake_info = {
|
||||
GEN11_FEATURES,
|
||||
PLATFORM(INTEL_ICELAKE),
|
||||
PLATFORM(INTEL_ELKHARTLAKE),
|
||||
.is_alpha_support = 1,
|
||||
.engine_mask = BIT(RCS0) | BIT(BCS0) | BIT(VCS0),
|
||||
.ppgtt_size = 36,
|
||||
|
@ -57,6 +57,7 @@ static const char * const platform_names[] = {
|
||||
PLATFORM_NAME(COFFEELAKE),
|
||||
PLATFORM_NAME(CANNONLAKE),
|
||||
PLATFORM_NAME(ICELAKE),
|
||||
PLATFORM_NAME(ELKHARTLAKE),
|
||||
};
|
||||
#undef PLATFORM_NAME
|
||||
|
||||
|
@ -73,6 +73,7 @@ enum intel_platform {
|
||||
INTEL_CANNONLAKE,
|
||||
/* gen11 */
|
||||
INTEL_ICELAKE,
|
||||
INTEL_ELKHARTLAKE,
|
||||
INTEL_MAX_PLATFORMS
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user