drm/i915: Mark up object tiling-and-stride getters as const
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Jul 2018 15:54:47 +0000 (16:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Jul 2018 11:31:02 +0000 (12:31 +0100)
commitd899aceb60912c9f1d7e1d7a3b388f116baf1b44
treef39723e1d2e3be9b66133a5f1a2ac224692ade88
parent406bc5633c6b1c7e7a86230db312ee34e785a8f1
drm/i915: Mark up object tiling-and-stride getters as const

For that little bit of defense against a tired programmer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180725155447.11909-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_object.h