diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-02-24 05:58:20 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-02-24 08:24:07 +0300 |
commit | bca5609fcc401b0055a3c01ecc33c5f6fb67af7b (patch) | |
tree | 9620a94df1b55fbc997b77d40d46a36d8ed41726 /drivers/gpu/drm/i915/gvt/display.h | |
parent | 191020b670f84f5e2edfaa906c3801df20485610 (diff) | |
download | linux-bca5609fcc401b0055a3c01ecc33c5f6fb67af7b.tar.xz |
drm/i915/gvt: Add more edid definition support
We'll need to apply different resolution for vgpu types, so this
adds more EDID types definition.
v2: fix typo for actual 1920x1200 resolution
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/display.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/display.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/display.h b/drivers/gpu/drm/i915/gvt/display.h index 8b234ea961f6..84f160bb7bc2 100644 --- a/drivers/gpu/drm/i915/gvt/display.h +++ b/drivers/gpu/drm/i915/gvt/display.h @@ -154,6 +154,12 @@ struct intel_vgpu_port { int type; }; +enum intel_vgpu_edid { + GVT_EDID_1024_768, + GVT_EDID_1920_1200, + GVT_EDID_NUM, +}; + void intel_gvt_emulate_vblank(struct intel_gvt *gvt); void intel_gvt_check_vblank_emulation(struct intel_gvt *gvt); |