summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2023-10-13 14:40:31 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2023-10-19 11:06:24 +0000
commit6cd096da8a1c7445efd58a395ffe624b7d2f3301 (patch)
tree23d3c03c1f8febb939fc56a93e1917151361cbba
parentae3f83acf4d374ae0b6e32c88ecdbc52a851a006 (diff)
[Backport] Add Intel Raptorlake GPU series type
This also enables supports_two_yuv_hardware_overlays on it. Bug: 1062334 Change-Id: Ieba553f29d840768148f3437ce1abcb9969ad243 Review-URL: https://chromium-review.googlesource.com/c/chromium/src/+/3969628 Cr-Commit-Position: refs/heads/main@{#1063149} Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/511749 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io> (cherry picked from commit c45073961c27d7788532c7126e0fe3fdec651d60) Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/511910 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/gpu/config/gpu_control_list_format.txt7
-rw-r--r--chromium/gpu/config/gpu_info.h5
-rw-r--r--chromium/gpu/config/gpu_util.cc3
-rwxr-xr-xchromium/gpu/config/process_json.py3
4 files changed, 12 insertions, 6 deletions
diff --git a/chromium/gpu/config/gpu_control_list_format.txt b/chromium/gpu/config/gpu_control_list_format.txt
index b7679265369..fc299f8a369 100644
--- a/chromium/gpu/config/gpu_control_list_format.txt
+++ b/chromium/gpu/config/gpu_control_list_format.txt
@@ -77,9 +77,10 @@
// 29. "intel_gpu_series" is a list of gpu series names. Currently supported
// series include: "broadwater", "eaglelake", "ironlake", "sandybridge",
// "baytrail", "ivybridge", "haswell", "cherrytrail", "broadwell",
-// "apollolake", "skylake", "geminilake", "kabylake", "coffeelake",
-// "whiskeylake", "cometlake", "cannonlake", "icelake", "elkhartlake",
-// "jasperlake", "tigerlake", "alderlake".
+// "apollolake", "skylake", "geminilake", "kabylake", "amberlake",
+// "coffeelake", "whiskeylake", "cometlake", "cannonlake", "icelake",
+// "elkhartlake", "jasperlake", "tigerlake", "rocketlake", "DG1",
+// "alderlake", "alchemist", "raptorlake".
// 30. "hardware_overlay" is either "supported" or "unsupported". Currently it
// only applies on Windows where hardware overlays may be supported on
// certain Intel GPUs. By default it's "dont_care" and there is no need to
diff --git a/chromium/gpu/config/gpu_info.h b/chromium/gpu/config/gpu_info.h
index fe4903ebb81..e450e82fc63 100644
--- a/chromium/gpu/config/gpu_info.h
+++ b/chromium/gpu/config/gpu_info.h
@@ -57,8 +57,8 @@ enum class IntelGpuSeriesType {
kApollolake = 7,
kSkylake = 8,
kGeminilake = 9,
- kAmberlake = 23,
kKabylake = 10,
+ kAmberlake = 23,
kCoffeelake = 11,
kWhiskeylake = 12,
kCometlake = 13,
@@ -74,8 +74,9 @@ enum class IntelGpuSeriesType {
kDG1 = 25,
kAlderlake = 22,
kAlchemist = 26,
+ kRaptorlake = 27,
// Please also update |gpu_series_map| in process_json.py.
- kMaxValue = kAlchemist,
+ kMaxValue = kRaptorlake,
};
// Video profile. This *must* match media::VideoCodecProfile.
diff --git a/chromium/gpu/config/gpu_util.cc b/chromium/gpu/config/gpu_util.cc
index 7c92901df04..245645d410e 100644
--- a/chromium/gpu/config/gpu_util.cc
+++ b/chromium/gpu/config/gpu_util.cc
@@ -905,6 +905,8 @@ IntelGpuSeriesType GetIntelGpuSeriesType(uint32_t vendor_id,
case 0x4F00:
case 0x5600:
return IntelGpuSeriesType::kAlchemist;
+ case 0xa700:
+ return IntelGpuSeriesType::kRaptorlake;
default:
break;
}
@@ -950,6 +952,7 @@ std::string GetIntelGpuGeneration(uint32_t vendor_id, uint32_t device_id) {
case IntelGpuSeriesType::kDG1:
case IntelGpuSeriesType::kAlderlake:
case IntelGpuSeriesType::kAlchemist:
+ case IntelGpuSeriesType::kRaptorlake:
return "12";
default:
break;
diff --git a/chromium/gpu/config/process_json.py b/chromium/gpu/config/process_json.py
index b1e246beca7..dd51d933624 100755
--- a/chromium/gpu/config/process_json.py
+++ b/chromium/gpu/config/process_json.py
@@ -691,7 +691,8 @@ def write_intel_gpu_series_list(entry_id, is_exception, exception_id,
'rocketlake': 'kRocketlake',
'dg1': 'kDG1',
'alderlake': 'kAlderlake',
- 'alchemist': 'kAlchemist'
+ 'alchemist': 'kAlchemist',
+ 'raptorlake': 'kRaptorlake'
}
for series in intel_gpu_series_list:
assert series in intel_gpu_series_map