drm/i915/icl: Don't allocate fixed bypass path blocks for ICL
authorMahesh Kumar <mahesh1.kumar@intel.com>
Tue, 30 Jan 2018 13:49:10 +0000 (11:49 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 31 Jan 2018 16:18:13 +0000 (14:18 -0200)
commit9a9e3dfd6f8bff68434b9c5e1a3aa88f83a612ad
treec30741801082acc49272c62e92e700669751eb08
parent5b364bec5cbfd6c23505952a40150b053ec551d1
drm/i915/icl: Don't allocate fixed bypass path blocks for ICL

GEN9 onwards bypass path allocation of 4 blocks was needed, as per
hardware design. ICL doesn't require bypass path allocation of 4 DDB
blocks, handling the same in this patch.

v2 (from Paulo):
  - No need for a comment that says what the code already says.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130134918.32283-2-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_pm.c