]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/cnl: Don't blindly replace qdiv.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 14 Nov 2017 19:47:57 +0000 (11:47 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 16 Nov 2017 17:45:16 +0000 (09:45 -0800)
commitcacf6fe7c6c4ac9e748f41d0de4293b2aea5ae07
treec3b30a1917ea56f224adba31cb9f0c469a6e6441
parent063c886197f677f79f37fa62ce77b9df9bb0c3cf
drm/i915/cnl: Don't blindly replace qdiv.

Accordingly to spec "If Kdiv != 2, then Qdiv must be 1."
but we already handle qdiv values properly and this case here
should be spurious. But instead of blindly replacing let's
warn loudly instead. Because it means something was really
wrong on initial setup.

Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171114194759.24541-6-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_dpll_mgr.c