drm/i915/gvt: Fix display port type issue
authorTina Zhang <tina.zhang@intel.com>
Tue, 17 Mar 2020 09:36:15 +0000 (17:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 17 Mar 2020 10:28:06 +0000 (18:28 +0800)
commit75db1a5b2aea2a7528bd4a99882d59dd4cdb36cc
tree2aa4ae50d2ab76fd265c3e946fcc6643dad26064
parent3faae9813b9c831356d457c0a5d847b7528bf97a
drm/i915/gvt: Fix display port type issue

According to the vbt provided by GVT-g, the display output type should
be display port, instead of DVI. Currently, GVT-g display model only
supports display port emulation, not DVI or HDMI. This patch fixes this
by telling guest i915 the right output type supported by GVT-g.

v3: make port_b and port_c use dp type connector too. (Zhenyu)
v2: refine the commit message. (Zhenyu)

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200317093615.10538-1-tina.zhang@intel.com
drivers/gpu/drm/i915/gvt/display.c