]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not redefine the has_csr parameter.
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Fri, 17 Aug 2018 17:33:30 +0000 (10:33 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 17 Aug 2018 20:54:33 +0000 (13:54 -0700)
commitda4468a1aa75457e6134127b19761b7ba62ce945
tree0c3428de8c9352642fb0f9fb479b40934f46010f
parent66fc82960c5c68eecdcf4568e5907d3702e4fcdc
drm/i915: Do not redefine the has_csr parameter.

Let us reuse the already defined has_csr check and not
redefine it.

The main difference is that in effect this will flip .has_csr to 1
(via GEN9_FEATURES which GEN11_FEATURES pulls in).

Suggested-by: Imre Deak <imre.deak@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=107382
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1534527210-16841-1-git-send-email-anusha.srivatsa@intel.com
drivers/gpu/drm/i915/i915_pci.c