aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-08-04 07:52:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-08-04 08:09:16 +0100
commit34c998b4ebf6c48154c76ea9bc9bffabd91a8af2 (patch)
tree9ed84bb86f65ed1f42d873da25912c676577a925 /scripts
parentdrm/i915: Split early global GTT initialisation (diff)
downloadlinux-34c998b4ebf6c48154c76ea9bc9bffabd91a8af2.tar.gz
linux-34c998b4ebf6c48154c76ea9bc9bffabd91a8af2.zip
drm/i915: Rearrange GGTT probing to avoid needing a vfunc
Since we have a static if-else-chain for device probing of the global GTT, we do not need to use a function pointer, let alone store it when we never use it again. So use the if-else-chain to call down into the device specific probe. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-5-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions