drm/i915/gtt: Tidy up duplicate branches in gen8_gmch_probe()
authorChris Wilson <[email protected]>
Thu, 3 May 2018 21:29:56 +0000 (22:29 +0100)
committerChris Wilson <[email protected]>
Fri, 4 May 2018 10:26:32 +0000 (11:26 +0100)
commitc258f91d8ae737cd46a1201aa63655ec8b878ed5
treefbc2265f182c2057758333bae9362a9c16d5e3c7
parent47d4cb8ae8e7f70363ece0bcc4ffc76a9e4638dc
drm/i915/gtt: Tidy up duplicate branches in gen8_gmch_probe()

Following commit f773568b6ff8 ("drm/i915: nuke the duplicated stolen
discovery"), the if-else-chain for determining the GTT size is redundant
with the !chv branches all being the same.

Reported-by: Ville Syrjälä <[email protected]>
References: f773568b6ff8 ("drm/i915: nuke the duplicated stolen discovery")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gem_gtt.c