diff options
| author | Jackie Li <[email protected]> | 2018-03-13 17:32:52 -0700 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2018-03-14 15:35:36 +0200 |
| commit | 96c83d35a26f7ba06a1623adaf872b56d54fe093 (patch) | |
| tree | 988bfc3a873e33071082ea7c0474feeb21fb12dc /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5cbc1e2f48086ea08a37b3b75aa481ae9842af39 (diff) | |
drm/i915: Add HuC firmware size related restriction for Gen9 and CNL A0
On CNL A0 and Gen9, there's a hardware restriction that requires the
available GuC WOPCM size to be larger than or equal to HuC firmware size.
This patch adds new verification code to ensure the available GuC WOPCM
size to be larger than or equal to HuC firmware size on both Gen9 and CNL
A0.
v6:
- Extended HuC FW size check against GuC WOPCM size to all
Gen9 and CNL A0 platforms
v7:
- Fixed patch format issues
v8:
- Renamed variables and functions to avoid ambiguity (Joonas)
- Updated commit message and comments to be more comprehensive (Sagar)
v9:
- Moved code that is not related to restriction check into a separate
patch and updated the commit message accordingly (Sagar/Michal)
- Avoided to call uc_get_fw_size for better layer isolation (Michal)
v10:
- Shorten function names and reorganized size_check code to have clear
isolation (Joonas)
- Removed unnecessary comments (Joonas)
v11:
- Fixed logic error in size check (Michal)
v12:
- Add space between "HuC FW" and "(%uKiB)" in error message (Michal)
v13:
- Updated the ordering of s-o-b/cc/r-b tags (Sagar)
BSpec: 10875
Signed-off-by: Jackie Li <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Sagar Arun Kamble <[email protected]>
Cc: John Spotswood <[email protected]>
Cc: Jeff McGee <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Sagar Arun Kamble <[email protected]> (v8)
Reviewed-by: Michal Wajdeczko <[email protected]> (v11)
Reviewed-by: Joonas Lahtinen <[email protected]> (v12)
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions