]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use num_scalers instead of SKL_NUM_SCALERS in debugfs
authorA.Sunil Kamath <sunil.kamath@intel.com>
Sun, 20 Nov 2016 17:50:26 +0000 (23:20 +0530)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 21 Nov 2016 11:49:53 +0000 (13:49 +0200)
commitdb704d1112a06142d4e8fa12789a33b2a41e9e04
tree493fcc65b40b097895aea3bdbbf82b4d3e54eded
parent4bad6fc93f0940231f7d91c45ccbf71c0340dae3
drm/i915: Use num_scalers instead of SKL_NUM_SCALERS in debugfs

Better to use num_scaler itself while printing scaler_info.
This fixes a bug of printing information for the missing
second scaler on pipe C for SKL platform.

Signed-off-by: A.Sunil Kamath <sunil.kamath@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479664226-22307-1-git-send-email-sunil.kamath@intel.com
drivers/gpu/drm/i915/i915_debugfs.c