[PATCH 1/2] drm/amd/pm: restore fan_mode AMD_FAN_CTRL_NONE on resume (v2)

2021-08-10 Thread Ryan Taylor
Adds missing edge case to smu_restore_dpm_user_profile. v2: Don't restore fan mode auto (Lijo) Reviewed-by: Lijo Lazar Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu

[PATCH 2/2] drm/amd/pm: graceful exit on restore fan mode failure (v2)

2021-08-10 Thread Ryan Taylor
Attempt od settings restore and disable restore flag on restore fan mode failure. v2: Update fan mode to auto and fan speed to zero (Lijo) Reviewed-by: Lijo Lazar Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions

[PATCH 3/3] drm/amdgpu: replace dce_virtual with amdgpu_vkms (v3)

2021-07-27 Thread Ryan Taylor
Move dce_virtual into amdgpu_vkms and update all references to dce_virtual with amdgpu_vkms. v2: Removed more references to dce_virtual. v3: Restored display modes from previous implementation. Reported-by: kernel test robot Suggested-by: Alex Deucher Signed-off-by: Ryan Taylor --- drivers

[PATCH 0/3] drm/amdgpu: modernize virtual display feature

2021-07-27 Thread Ryan Taylor
drm helpers anyway. Ryan Taylor (3): drm/amdgpu: create amdgpu_vkms (v4) drm/amdgpu: cleanup dce_virtual drm/amdgpu: replace dce_virtual with amdgpu_vkms (v3) drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu

[PATCH 2/3] drm/amdgpu: cleanup dce_virtual

2021-07-27 Thread Ryan Taylor
Remove obsolete functions and variables from dce_virtual. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 568 +-- 1 file changed, 3 insertions(+), 565 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu

[PATCH 1/3] drm/amdgpu: create amdgpu_vkms (v4)

2021-07-27 Thread Ryan Taylor
and atomic_update to comply with new kms api. Reported-by: kernel test robot Suggested-by: Alex Deucher Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- drivers

[PATCH 3/3] drm/amdgpu: replace dce_virtual with amdgpu_vkms (v3)

2021-07-21 Thread Ryan Taylor
Move dce_virtual into amdgpu_vkms and update all references to dce_virtual with amdgpu_vkms. v2: Removed more references to dce_virtual. v3: Restored display modes from previous implementation. Reported-by: kernel test robot Suggested-by: Alex Deucher Signed-off-by: Ryan Taylor --- drivers

[PATCH 2/3] drm/amdgpu: cleanup dce_virtual

2021-07-21 Thread Ryan Taylor
Remove obsolete functions and variables from dce_virtual. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 568 +-- 1 file changed, 3 insertions(+), 565 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu

[PATCH 1/3] drm/amdgpu: create amdgpu_vkms (v2)

2021-07-21 Thread Ryan Taylor
Modify the VKMS driver into an api that dce_virtual can use to create virtual displays that obey drm's atomic modesetting api. v2: Made local functions static. Reported-by: kernel test robot Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd

[PATCH 0/3] drm/amdgpu: modernize virtual display feature

2021-07-21 Thread Ryan Taylor
drm helpers anyway. Ryan Taylor (3): drm/amdgpu: create amdgpu_vkms (v2) drm/amdgpu: cleanup dce_virtual drm/amdgpu: replace dce_virtual with amdgpu_vkms (v3) drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu

[PATCH 3/3] drm/amdgpu: replace dce_virtual with amdgpu_vkms

2021-07-12 Thread Ryan Taylor
Move dce_virtual into amdgpu_vkms and update all references to dce_virtual with amdgpu_vkms. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 195 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.h | 3

[PATCH 2/3] drm/amdgpu: cleanup dce_virtual

2021-07-12 Thread Ryan Taylor
Remove obsolete functions and variables from dce_virtual. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 568 +-- 1 file changed, 3 insertions(+), 565 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu

[PATCH 0/3] drm/amdgpu: modernize virtual display feature

2021-07-12 Thread Ryan Taylor
drm helpers anyway. Ryan Taylor (3): drm/amdgpu: create amdgpu_vkms drm/amdgpu: cleanup dce_virtual drm/amdgpu: replace dce_virtual with amdgpu_vkms drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

[PATCH 1/3] drm/amdgpu: create amdgpu_vkms

2021-07-12 Thread Ryan Taylor
Modify the VKMS driver into an api that dce_virtual can use to create virtual displays that obey drm's atomic modesetting api. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu

[PATCH] drm/amd/pm: add swsmu init documentation

2021-01-06 Thread Ryan Taylor
Documents functions used in swsmu initialization. Signed-off-by: Ryan Taylor Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 94 ++- 1 file changed, 93 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers

[PATCH] drm/amd/pm: add pptable_funcs documentation (v2)

2020-12-17 Thread Ryan Taylor
Documents the hooks in struct pptable_funcs. v2: Improved documentation accuracy. Signed-off-by: Ryan Taylor --- drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | 525 1 file changed, 525 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h b/drivers/gpu/drm/amd

[PATCH] drm/amd/pm: fix smu_v11_0_init_power power_context allocation

2020-11-12 Thread Ryan Taylor
Allocate smu_power->power_context to size of smu_11_0_power_context instead of smu_11_0_dpm_context. Signed-off-by: Ryan Taylor Reviewed-by: Alex Deucher Reviewed-by: Evan Quan --- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH] drm/include: add PP_FEATURE_MASK comments (v3)

2020-09-23 Thread Ryan Taylor
Documents PP_FEATURE_MASK enum. Provides instructions on how to use ppfeaturemasks. v2: improve enum definitions and add kernel command line parameters to ppfeaturemask instructions v3: fix alignment issues Signed-off-by: Ryan Taylor Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd

Re: [PATCH v2] Add PP_FEATURE_MASK comments

2020-09-23 Thread Ryan Taylor
I see, I'll add it to the end next time then. Ryan On 9/23/20 10:13 AM, Luben Tuikov wrote: > On 2020-09-23 12:31, Ryan Taylor wrote: >> Thanks Luben, >> >> I'll make these revisions and try out Git's patch version setting. > > Well, Git's own patch revision com

Re: [PATCH v2] Add PP_FEATURE_MASK comments

2020-09-23 Thread Ryan Taylor
Thanks Luben, I'll make these revisions and try out Git's patch version setting. Best, Ryan On 9/23/20 7:40 AM, Luben Tuikov wrote: > On 2020-09-22 11:55, Ryan Taylor wrote: >> Documents PP_FEATURE_MASK enum. >> Provides instructions on how to use ppfeaturemasks. >>

[PATCH v2] Add PP_FEATURE_MASK comments

2020-09-22 Thread Ryan Taylor
Documents PP_FEATURE_MASK enum. Provides instructions on how to use ppfeaturemasks. v2: Improved enum definitions. Adds kernel command line parameters to ppfeaturemask instructions. Signed-off-by: Ryan Taylor Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/include/amd_shared.h | 28

[PATCH v3] amdgpu: Add initial kernel documentation for the amd_ip_block_type structure

2020-09-21 Thread Ryan Taylor
From: Ryan Taylor Added IP block section to amdgpu.rst. Added more documentation to amd_ip_funcs. Created documentation for amd_ip_block_type. v2: Provides a more detailed DOC section on IP blocks. v3: Clarifies the IP block list. Adds info on IP block enumeration. Signed-off-by: Ryan Taylor