diff options
| author | Deepak Rawat <[email protected]> | 2021-05-27 11:22:29 +0000 |
|---|---|---|
| committer | Deepak Rawat <[email protected]> | 2021-06-07 15:04:10 +0000 |
| commit | 25bfa956561fb47141b8cc382e69a1f674a27eb0 (patch) | |
| tree | d535d78b0db152bdfda30afdb1b7eda4c0c8c1bd /drivers/gpu/drm/hyperv/hyperv_drm.h | |
| parent | drm/hyperv: Add DRM driver for hyperv synthetic video device (diff) | |
| download | kernel-25bfa956561fb47141b8cc382e69a1f674a27eb0.tar.gz kernel-25bfa956561fb47141b8cc382e69a1f674a27eb0.zip | |
drm/hyperv: Handle feature change message from device
Virtual device inform if screen update is needed or not with
SYNTHVID_FEATURE_CHANGE message. Handle this message to set dirt_needed
flag.
Suggested-by: Dexuan Cui <[email protected]>
Signed-off-by: Deepak Rawat <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/hyperv/hyperv_drm.h')
| -rw-r--r-- | drivers/gpu/drm/hyperv/hyperv_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/hyperv/hyperv_drm.h b/drivers/gpu/drm/hyperv/hyperv_drm.h index e1d1fdea96f2..886add4f9cd0 100644 --- a/drivers/gpu/drm/hyperv/hyperv_drm.h +++ b/drivers/gpu/drm/hyperv/hyperv_drm.h @@ -29,6 +29,7 @@ struct hyperv_drm_device { struct completion wait; u32 synthvid_version; u32 mmio_megabytes; + bool dirt_needed; u8 init_buf[VMBUS_MAX_PACKET_SIZE]; u8 recv_buf[VMBUS_MAX_PACKET_SIZE]; |
