diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-01-18 11:23:42 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-02-11 15:44:31 +0200 |
| commit | 759d4fff3d2d70d6b689a9f1f7eb4488df337fbd (patch) | |
| tree | c1cf58b078e101489cf6d544b5769f4e72d5d25e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | drm/i915: Extract skl_ddb_entry_init() (diff) | |
| download | linux-759d4fff3d2d70d6b689a9f1f7eb4488df337fbd.tar.gz linux-759d4fff3d2d70d6b689a9f1f7eb4488df337fbd.zip | |
drm/i915: Fix plane relative_data_rate calculation
We are currently computing the relative data rates as
src_size * scale_factor where scale_factor is src_size / dst_size.
Thus relative data rate is src_size * src_size / dst_size,
which is just utter nonsense. What we really seem to want is
just a reasonable estimate on how much data will be fetched
which is just src_size. So let's do that instead.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220118092354.11631-4-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
