drm/i915: Redo intel_tile_height() as intel_tile_size() / intel_tile_width()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 19:08:33 +0000 (21:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Jan 2016 16:46:29 +0000 (18:46 +0200)
commit832be82f87c2bf711d8d7aaeb59da925b4573f6c
tree1a3c63f5b4e205a5e2948518e0182e618fb41513
parent7b49f94839660a82f1f40ee95cfe70245b4444d7
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
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c