]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't relay on I915_MAX_PIPES
authorMika Kahola <mika.kahola@intel.com>
Tue, 10 Oct 2017 10:17:02 +0000 (13:17 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Oct 2017 15:07:48 +0000 (18:07 +0300)
commit0d5f662575e542ed22b5054c2b0887f42271be5e
tree536c857ddc1b257f895489dc898e87c4753a5206
parentdb37d8f39c1ea5a7efb410fda94e3bb9d5844b1d
drm/i915: Don't relay on I915_MAX_PIPES

Let's remove the dependency on I915_MAX_PIPES. Instead, get the number
of pipes from platform information.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1507630626-23806-2-git-send-email-mika.kahola@intel.com
drivers/gpu/drm/i915/intel_audio.c
drivers/gpu/drm/i915/intel_pipe_crc.c