[PATCH v2] drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.

2022-02-10 Thread Rajib Mahapatra
, skipping SDMA suspend and resume from driver solves the issue. This time, the system is able to resume gracefully even the suspend is aborted. v2: add changes on sdma_v4, skipping SDMA hw_init and hw_fini. Signed-off-by: Rajib Mahapatra --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 8 1 file

[PATCH] drm/amdgpu: skipping SDMA IP suspend for S0ix.

2022-02-02 Thread Rajib Mahapatra
gracefully even the suspend is aborted. Signed-off-by: Rajib Mahapatra --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 7931132ce6e3

[PATCH] drm/amd/display: Not to call dpcd_set_source_specific_data during resume.

2022-01-10 Thread Rajib Mahapatra
all dpcd_set_source_specific_data during resume path when there is no oled panel connected and achieve faster resume during S0i3. Signed-off-by: Rajib Mahapatra --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/disp

[PATCH] drm/amd/display: Set the domain as GTT when VRAM size <= 32 MB

2021-08-26 Thread Rajib Mahapatra
pin framebuffer with error -12 [How] Place the domain as GTT when VRAM size <= 32 MB. Signed-off-by: Rajib Mahapatra --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +- 2 files changed, 10 insertions(+), 1 deletion(-)