aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-10-27 01:51:02 +0300
committerImre Deak <imre.deak@intel.com>2021-11-02 18:07:46 +0200
commit96837e8beeefe5181adabab2da6e08c51dc0cf5d (patch)
tree79be21cbaea44818d900abb11ec134842b7ed834 /tools/perf/scripts/python/bin/flamegraph-record
parentdrm/i915/fb: Factor out functions to remap contiguous FB obj pages (diff)
downloadlinux-96837e8beeefe5181adabab2da6e08c51dc0cf5d.tar.gz
linux-96837e8beeefe5181adabab2da6e08c51dc0cf5d.zip
drm/i915/adlp/fb: Fix remapping of linear CCS AUX surfaces
During remapping CCS FBs the CCS AUX surface mapped size and offset->x,y coordinate calculations assumed a tiled layout. This works as long as the CCS surface height is aligned to 64 lines (ensuring a 4k bytes CCS surface tile layout). However this alignment is not required by the HW (and the driver doesn't enforces it either). Add the remapping logic required to remap the pages of CCS surfaces without the above alignment, assuming the natural linear layout of the CCS surface (vs. tiled main surface layout). Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Fixes: 3d1adc3d64cf ("drm/i915/adlp: Add support for remapping CCS FBs") 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-5-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions