Commit a8a39c15 authored by Anusha Srivatsa's avatar Anusha Srivatsa Committed by Rodrigo Vivi

drm/xe: Add Rocketlake device info

Add missing device info for Rocketlake.
While at it, also set the value for IS_ROCKETLAKE
macro which is right now set to 0.

v2: Also add abox_mask to the device info(Lucas)
v3: rebase
v4: Set IS_ROCKETLAKE (Anusha)

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarAnusha Srivatsa <anusha.srivatsa@intel.com>
Tested-by: default avatarAnusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>(v2)
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 221896e5
...@@ -177,6 +177,13 @@ static const struct xe_device_desc tgl_desc = { ...@@ -177,6 +177,13 @@ static const struct xe_device_desc tgl_desc = {
.require_force_probe = true, .require_force_probe = true,
}; };
static const struct xe_device_desc rkl_desc = {
.graphics = &graphics_xelp,
.media = &media_xem,
PLATFORM(XE_ROCKETLAKE),
.require_force_probe = true,
};
static const struct xe_device_desc adl_s_desc = { static const struct xe_device_desc adl_s_desc = {
.graphics = &graphics_xelp, .graphics = &graphics_xelp,
.media = &media_xem, .media = &media_xem,
...@@ -300,6 +307,7 @@ static struct gmdid_map media_ip_map[] = { ...@@ -300,6 +307,7 @@ static struct gmdid_map media_ip_map[] = {
*/ */
static const struct pci_device_id pciidlist[] = { static const struct pci_device_id pciidlist[] = {
XE_TGL_IDS(INTEL_VGA_DEVICE, &tgl_desc), XE_TGL_IDS(INTEL_VGA_DEVICE, &tgl_desc),
XE_RKL_IDS(INTEL_VGA_DEVICE, &rkl_desc),
XE_ADLS_IDS(INTEL_VGA_DEVICE, &adl_s_desc), XE_ADLS_IDS(INTEL_VGA_DEVICE, &adl_s_desc),
XE_ADLP_IDS(INTEL_VGA_DEVICE, &adl_p_desc), XE_ADLP_IDS(INTEL_VGA_DEVICE, &adl_p_desc),
XE_DG1_IDS(INTEL_VGA_DEVICE, &dg1_desc), XE_DG1_IDS(INTEL_VGA_DEVICE, &dg1_desc),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment