drm/i915/gvt: add functions to get default resolution
authorHang Yuan <hang.yuan@linux.intel.com>
Wed, 30 Jan 2019 10:25:52 +0000 (18:25 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 31 Jan 2019 03:26:48 +0000 (11:26 +0800)
commit49220789617bdc439c95146eb94529c0fcf01043
treeaee2f1e6c2dcece711ae94458a2c26b8bb5da017
parent2e679d48f38c378650db403b4ba2248adf0691b2
drm/i915/gvt: add functions to get default resolution

These functions will get default resolution according to vgpu type.

Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/display.c
drivers/gpu/drm/i915/gvt/display.h