diff options
author | Tina Zhang <tina.zhang@intel.com> | 2017-11-23 16:26:32 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-12-04 11:24:33 +0800 |
commit | 9f31d1063b434c2d54317461d78285b08538c01a (patch) | |
tree | 33d840a95e3ac7b2db6e5633e43d604ac9a588b9 /drivers/gpu/drm/i915/gvt/display.h | |
parent | b851adeac0858c7d257b32eee2142b1519d45ccf (diff) | |
download | linux-stable-9f31d1063b434c2d54317461d78285b08538c01a.tar.gz linux-stable-9f31d1063b434c2d54317461d78285b08538c01a.tar.bz2 linux-stable-9f31d1063b434c2d54317461d78285b08538c01a.zip |
drm/i915/gvt: Add framebuffer decoder support
This patch is to introduce the framebuffer decoder which can decode guest
OS's framebuffer information, including primary, cursor and sprite plane.
v16:
- rebase to 4.14.0-rc6.
v14:
- refine pixel format table. (Zhenyu)
v9:
- move drm format change to a separate patch. (Xiaoguang)
v8:
- fix a bug in decoding primary plane. (Tina)
v7:
- refine framebuffer decoder code. (Zhenyu)
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/display.h b/drivers/gpu/drm/i915/gvt/display.h index d73de22102e2..b46b86892d58 100644 --- a/drivers/gpu/drm/i915/gvt/display.h +++ b/drivers/gpu/drm/i915/gvt/display.h @@ -179,4 +179,6 @@ int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution); void intel_vgpu_reset_display(struct intel_vgpu *vgpu); void intel_vgpu_clean_display(struct intel_vgpu *vgpu); +int pipe_is_enabled(struct intel_vgpu *vgpu, int pipe); + #endif |