diff options
author | Jordan Justen <[email protected]> | 2018-07-30 21:52:02 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2020-06-22 11:42:00 -0700 |
commit | c323e0ddf3db8d1e38906fc4fa297bf6f26ec3cd (patch) | |
tree | 76196fec95e9c1cc85e6ffa706ed17c4444be50f /src | |
parent | 37a724e4ae0804745af3ad8954f7389f629c6785 (diff) |
intel/dev: Add device info for DG1
Reworks:
* Anuj: Set is_dg1
* Anuj: Add dg1 to gen_device_name_to_pci_device_id
* Anuj: Update simulator id
* Rafael: has_llc = false
Signed-off-by: Jordan Justen <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4956>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/dev/gen_device_info.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c index 917f493a672..7630bb03b10 100644 --- a/src/intel/dev/gen_device_info.c +++ b/src/intel/dev/gen_device_info.c @@ -62,6 +62,7 @@ static const struct { { "jsl", 0x4E71 }, { "tgl", 0x9a49 }, { "rkl", 0x4c8a }, + { "dg1", 0x4905 }, }; /** @@ -1050,6 +1051,17 @@ static const struct gen_device_info gen_device_info_rkl_gt1 = { GEN12_GT_FEATURES(1), }; +#define GEN12_DG1_FEATURES \ + GEN12_GT_FEATURES(2), \ + .is_dg1 = true, \ + .has_llc = false, \ + .urb.size = 768, \ + .simulator_id = 30 + +static const struct gen_device_info gen_device_info_dg1 = { + GEN12_DG1_FEATURES, +}; + static void gen_device_info_set_eu_mask(struct gen_device_info *devinfo, unsigned slice, |