summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorSaurabh Sengar <ssengar@linux.microsoft.com>2022-09-23 10:09:50 +0000
committerWei Liu <wei.liu@kernel.org>2022-09-23 10:11:20 +0000
commit19b5e6659eaf537ebeac90ae30c7df0296fe5ab9 (patch)
tree615e3ffe8d44710cd813d274cf84b5f848511a32 /drivers/hv
parent78c65f0f3c0ca5198b454f59069a1c2e352424dd (diff)
downloadlinux-19b5e6659eaf537ebeac90ae30c7df0296fe5ab9.tar.gz
linux-19b5e6659eaf537ebeac90ae30c7df0296fe5ab9.tar.bz2
linux-19b5e6659eaf537ebeac90ae30c7df0296fe5ab9.zip
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>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions