linux-stable/drivers/gpu/drm/hyperv
Saurabh Sengar 19b5e6659e drm/hyperv: Don't overwrite dirt_needed value set by host
Existing code is causing a race condition where dirt_needed value is
already set by the host and gets overwritten with default value. Remove
this default setting of dirt_needed, to avoid overwriting the value
received in the channel callback set by vmbus_open. Removing this
setting also means the default value for dirt_needed is changed to false
as it's allocated by kzalloc which is similar to legacy hyperv_fb driver.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1662996766-19304-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
2022-09-23 10:11:20 +00:00
..
hyperv_drm.h drm/hyperv: Fix double mouse pointers 2021-10-15 15:04:44 +10:00
hyperv_drm_drv.c drm/hyperv: Don't overwrite dirt_needed value set by host 2022-09-23 10:11:20 +00:00
hyperv_drm_modeset.c drm/hyperv-drm: Include framebuffer and EDID headers 2022-06-22 16:07:38 +02:00
hyperv_drm_proto.c drm/hyperv: Remove support for Hyper-V 2008 and 2008R2/Win7 2022-05-11 17:49:49 +00:00
Makefile