]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/skl/kbl: Add support for pipe fusing
authorPatrik Jakobsson <patrik.jakobsson@linux.intel.com>
Wed, 20 Jan 2016 14:31:20 +0000 (15:31 +0100)
committerJani Nikula <jani.nikula@intel.com>
Tue, 2 Feb 2016 15:04:39 +0000 (17:04 +0200)
commitbf4f2fb05f89ac50de024b1a5dd0cd0db4a8f845
tree48997735e2c7b537aab1a3ba3aa52811f07ab194
parent65f61b426ddba160699fd64bf94f14eff339616c
drm/i915/skl/kbl: Add support for pipe fusing

On SKL and KBL we can have pipe A/B/C disabled by fuse settings. The
pipes must be fused in descending order (e.g. C, B+C, A+B+C). We simply
decrease info->num_pipes if we find a valid fused out config.

v2: Don't store the pipe disabled mask in device info (Damien)

v3: Don't check FUSE_STRAP register for pipe c disabled

Cc: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
[Jani: fixed some checkpatch indentation complaints]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453300280-10661-1-git-send-email-patrik.jakobsson@linux.intel.com
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_reg.h