All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/amdgpu/acpi: fix typo in ATCS handling
@ 2021-05-26 14:05 Alex Deucher
  2021-05-26 14:05 ` [PATCH 2/2] drm/amdgpu/acpi: make ATPX/ATCS structures global (v2) Alex Deucher
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Deucher @ 2021-05-26 14:05 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

Path should be NULL when we already have the handle
to the object.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index 49563ff87f1a..df216d12c507 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@ -558,7 +558,7 @@ static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs,
 		atcs_arg_elements[1].integer.value = 0;
 	}
 
-	status = acpi_evaluate_object(atcs->handle, "ATCS", &atcs_arg, &buffer);
+	status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer);
 
 	/* Fail only if calling the method fails and ATIF is supported */
 	if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
-- 
2.31.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH 1/2] drm/amdgpu/acpi: fix typo in ATCS handling
@ 2021-05-26  3:22 Alex Deucher
  2021-05-26 10:22 ` Sundararaju, Sathishkumar
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Deucher @ 2021-05-26  3:22 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

Path should be NULL when we already have the handle
to the object.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index dcde3f658a7a..2195e24acb69 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@ -557,7 +557,7 @@ static union acpi_object *amdgpu_atcs_call(struct amdgpu_atcs *atcs,
 		atcs_arg_elements[1].integer.value = 0;
 	}
 
-	status = acpi_evaluate_object(atcs->handle, "ATCS", &atcs_arg, &buffer);
+	status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer);
 
 	/* Fail only if calling the method fails and ATIF is supported */
 	if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
-- 
2.31.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-27  6:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 14:05 [PATCH 1/2] drm/amdgpu/acpi: fix typo in ATCS handling Alex Deucher
2021-05-26 14:05 ` [PATCH 2/2] drm/amdgpu/acpi: make ATPX/ATCS structures global (v2) Alex Deucher
2021-05-27  6:34   ` Lazar, Lijo
  -- strict thread matches above, loose matches on Subject: below --
2021-05-26  3:22 [PATCH 1/2] drm/amdgpu/acpi: fix typo in ATCS handling Alex Deucher
2021-05-26 10:22 ` Sundararaju, Sathishkumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.