diff options
author | Kumar, Mahesh <mahesh1.kumar@intel.com> | 2016-04-06 18:26:39 +0300 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2016-04-06 20:49:56 +0300 |
commit | a280f7dd9f1a85eed242d0f62498bfc11520a1a3 (patch) | |
tree | cdbf8399ffd50884d3bc8e28e1e7e9b2b8fd2a5c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | d252bf68b75792108ae2821c3a6e1cdc58e88cb9 (diff) | |
download | linux-a280f7dd9f1a85eed242d0f62498bfc11520a1a3.tar.xz |
drm/i915/skl+: Use plane size for relative data rate calculation
Use plane size for relative data rate calculation. don't always use
pipe source width & height.
adjust height & width according to rotation.
use plane size for watermark calculations also.
v2: Address Matt's comments.
Use intel_plane_state->visible to avoid divide-by-zero error.
Where FB was present but not visible so causing total data rate to
be zero, hence divide-by-zero.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93917
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94044
Cc: drm-intel-fixes@lists.freedesktop.org
Signed-off-by: Kumar, Mahesh <mahesh1.kumar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459956399-1296-1-git-send-email-matthew.d.roper@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions