drm/i915/csr: keep firmware name and required version together
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Sep 2018 13:34:12 +0000 (16:34 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Sep 2018 06:24:49 +0000 (09:24 +0300)
commit180e9d230efe7acad72a6a6ba47de82bcbc13fc4
tree72ca5ee6e9045169e63971f455b8dbcb92b117c9
parent029c33add915d5c688364ef189304f986baba45e
drm/i915/csr: keep firmware name and required version together

Having two separate if ladders gets increasingly hard to maintain. Put
them together.

v2: Rebase

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180926133414.22073-1-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_csr.c