diff options
author | Tina Zhang <tina.zhang@intel.com> | 2020-09-21 02:58:07 -0400 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-11-12 14:57:08 +0800 |
commit | edb8d77a939c422f3ae57f557cd1d6899d9bafad (patch) | |
tree | 3478442975ced7f3fd011f04108ff146b534f791 /drivers/gpu/drm/i915/gvt/kvmgt.c | |
parent | 642403e3599e80370f71ba7a8a8c8fa82e5f6706 (diff) | |
download | kernel_replicant_linux-edb8d77a939c422f3ae57f557cd1d6899d9bafad.tar.gz kernel_replicant_linux-edb8d77a939c422f3ae57f557cd1d6899d9bafad.tar.bz2 kernel_replicant_linux-edb8d77a939c422f3ae57f557cd1d6899d9bafad.zip |
drm/i915/gvt: Set ENHANCED_FRAME_CAP bit
Specification says the bit7 of the DPCD MAX_LANE_COUNT (offset 0x02) must
be set to 1 when comes to the displayport version 1.2. This patch respects
the definition.
W/o this patch, guest i915 driver can only set the resolution to 1024*768,
and complains about the unsuccessful link training:
[ 5.692193] i915 0000:00:02.0: [drm] *ERROR* index 0, lane_count 1 Link Training Unsuccessful
Fixes: e2e02cbb5beb ("drm/i915/gvt: make dpcd_fix_data supports DP1.2")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200921065807.247847-1-tina.zhang@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/kvmgt.c')
0 files changed, 0 insertions, 0 deletions