Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'drm-intel-fixes-2017-12-22-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes

GLK pipe C related fix, and a gvt fix.

* tag 'drm-intel-fixes-2017-12-22-1' of git://anongit.freedesktop.org/drm/drm-intel:
i915: Reject CCS modifiers for pipe C on Geminilake
drm/i915/gvt: Fix pipe A enable as default for vgpu

+4 -3
+3 -2
drivers/gpu/drm/i915/gvt/display.c
··· 266 266 /* Clear host CRT status, so guest couldn't detect this host CRT. */ 267 267 if (IS_BROADWELL(dev_priv)) 268 268 vgpu_vreg(vgpu, PCH_ADPA) &= ~ADPA_CRT_HOTPLUG_MONITOR_MASK; 269 + 270 + vgpu_vreg(vgpu, PIPECONF(PIPE_A)) |= PIPECONF_ENABLE; 269 271 } 270 272 271 273 static void clean_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num) ··· 284 282 static int setup_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num, 285 283 int type, unsigned int resolution) 286 284 { 287 - struct drm_i915_private *dev_priv = vgpu->gvt->dev_priv; 288 285 struct intel_vgpu_port *port = intel_vgpu_port(vgpu, port_num); 289 286 290 287 if (WARN_ON(resolution >= GVT_EDID_NUM)) ··· 309 308 port->type = type; 310 309 311 310 emulate_monitor_status_change(vgpu); 312 - vgpu_vreg(vgpu, PIPECONF(PIPE_A)) |= PIPECONF_ENABLE; 311 + 313 312 return 0; 314 313 } 315 314
+1 -1
drivers/gpu/drm/i915/intel_display.c
··· 13194 13194 primary->frontbuffer_bit = INTEL_FRONTBUFFER_PRIMARY(pipe); 13195 13195 primary->check_plane = intel_check_primary_plane; 13196 13196 13197 - if (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv)) { 13197 + if (INTEL_GEN(dev_priv) >= 10) { 13198 13198 intel_primary_formats = skl_primary_formats; 13199 13199 num_formats = ARRAY_SIZE(skl_primary_formats); 13200 13200 modifiers = skl_format_modifiers_ccs;