diff options
| author | Imre Deak <imre.deak@intel.com> | 2021-10-27 01:51:03 +0300 |
|---|---|---|
| committer | Imre Deak <imre.deak@intel.com> | 2021-11-02 18:07:52 +0200 |
| commit | be6c1dd5ac074defdfb1471d28e0bb6eedfe3ae5 (patch) | |
| tree | 75abf09eae554585c2c16b663321eb145f0517b6 /tools/perf/scripts/python/flamegraph.py | |
| parent | drm/i915/adlp/fb: Fix remapping of linear CCS AUX surfaces (diff) | |
| download | linux-be6c1dd5ac074defdfb1471d28e0bb6eedfe3ae5.tar.gz linux-be6c1dd5ac074defdfb1471d28e0bb6eedfe3ae5.zip | |
drm/i915/fb: Rename i915_color_plane_view::stride to mapping_stride
The next patch needs to distinguish between a view's mapping and scanout
stride. Rename the current stride parameter to mapping_stride with the
script below. mapping_stride will keep the same meaning as stride had
on all platforms so far, while the meaning of it will change on ADLP.
No functional changes.
@@
identifier intel_fb_view;
identifier i915_color_plane_view;
identifier color_plane;
expression e;
type T;
@@
struct intel_fb_view {
...
struct i915_color_plane_view {
...
- T stride;
+ T mapping_stride;
...
} color_plane[e];
...
};
@@
struct i915_color_plane_view pv;
@@
pv.
- stride
+ mapping_stride
@@
struct i915_color_plane_view *pvp;
@@
pvp->
- stride
+ mapping_stride
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211026225105.2783797-6-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
