drm/amdgpu/dce_virtual: Enable DPM for vf
Subsystems (2)
PATCH 1/1 drm/amdgpu/dce_virtual: Enable DPM for vf
This function actually control the vblank on/off. It shouldn't be bypassed for VF. Otherwise all the vblank based feature on VF will not work.
Signed-off-by shaoyunl <[email protected]>
Change-Id I77c6f57bb0af390b61f0049c12bf425b10d70d91
--- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/dce_virtual.c +0 -3
@@ -139,9 +139,6 @@ static void dce_virtual_crtc_dpms(struct drm_crtc *crtc, int mode)struct amdgpu_crtc *amdgpu_crtc =to_amdgpu_crtc (crtc);unsigned type; -if (amdgpu_sriov_vf (adev)) -return ; -switch (mode) {case DRM_MODE_DPMS_ON : amdgpu_crtc->enabled = true;
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Sorry , please ignore this one , I change the subject as suggested and resent the patch
Shaoyun.liu
-----Original Message-----
From: Liu, Shaoyun <[email protected]>
Sent: Monday, November 23, 2020 12:24 PM
To: [email protected]
Cc: Liu, Shaoyun <[email protected]>
Subject: [PATCH] drm/amdgpu/dce_virtual: Enable DPM for vf
This function actually control the vblank on/off. It shouldn't be bypassed for VF. Otherwise all the vblank based feature on VF will not work.
Signed-off-by shaoyunl <[email protected]>
Change-Id I77c6f57bb0af390b61f0049c12bf425b10d70d91
--- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/dce_virtual.c +0 -3
@@ -139,9 +139,6 @@ static void dce_virtual_crtc_dpms(struct drm_crtc *crtc, int mode)struct amdgpu_crtc *amdgpu_crtc =to_amdgpu_crtc (crtc);unsigned type; -if (amdgpu_sriov_vf (adev)) -return ; -switch (mode) {case DRM_MODE_DPMS_ON : amdgpu_crtc->enabled = true;
Signature · 5 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx