diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-01-12 21:08:33 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-01-13 18:46:29 +0200 |
commit | 832be82f87c2bf711d8d7aaeb59da925b4573f6c (patch) | |
tree | 1a3c63f5b4e205a5e2948518e0182e618fb41513 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7b49f94839660a82f1f40ee95cfe70245b4444d7 (diff) |
drm/i915: Redo intel_tile_height() as intel_tile_size() / intel_tile_width()
I find more usual to think about tile widths than heights, so changing
the intel_tile_height() to calculate the tile height as
tile_size/tile_width is easier than the opposite to the poor brain.
v2: Reorder arguments for consistency
Constify dev_priv arguments
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-4-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions