diff options
| author | Praveen Paneri <[email protected]> | 2017-08-11 00:00:33 +0530 |
|---|---|---|
| committer | Paulo Zanoni <[email protected]> | 2017-08-25 21:13:33 -0300 |
| commit | 5654a1623c8717c40384b1b79251b4d9dd73b751 (patch) | |
| tree | a1b2fbfd6a64b5040e72a91d55381059c40b8c49 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dfbd4508326218d63e75715217a495adc0b4a454 (diff) | |
drm/i915: Fix FBC cfb stride programming for non X-tiled FB
When FBC is enabled for linear, legacy Y-tiled and Yf-tiled
surfaces on gen9, the cfb stride must be programmed by SW as
cfb_stride = ceiling[(at least plane width in pixels)/
(32 * compression limit factor)] * 8
v2: Minor fix for a build error
v3: Fixed subject, register name and platform check (Ville)
v4: Added WA details in comment (Paulo)
v5:
- Read modified reg write to preserve other bit values (Paulo)
- Store modified stride value in reg_params (Paulo)
- Keep GLK out of the WA (Paulo)
v6:
- added additional field in reg_params for gen9_wa_cfb_stride (Paulo)
- Used appropriate bit mask while writing the register (Paulo)
v7 (from Paulo):
- Fix coding style and spacing issues.
- Mask the old values before writing.
- Bikeshed comments and unnecessary checks.
Signed-off-by: Praveen Paneri <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions