Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/i915/gvt: Fixed an issue in PS MMIO handlers
When GVT-g guest tries to disable a scaler, it will write 0 to PS_CTRL register. However, in such case, GVT-g PS MMIO handler will not allow this value to be written to the HW, which will cause scaler cannot be disabled. This patch fixed the issue mentioned above. V2: Uses PS_SCALER_EN to check if scaler is enabled. Tracked-on: projectacrn/acrn-hypervisor#1188 Signed-off-by: Min He <[email protected]> Signed-off-by: Fei Jiang <[email protected]> Reviewed-by: Zhao Yakui <[email protected]>
- Loading branch information