Skip to contentSkip to conversation

drm/amdgpu/vcn: Enable VCN2.5 encoding

PATCH In review Zhu, James 5 participants 5 messages Oct 22, 2019 – Oct 23, 2019 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Zhu, James

author
#0 lore raw

PATCH 1/1 drm/amdgpu/vcn: Enable VCN2.5 encoding

After VCN2.5 firmware (Version ENC: 1.1 Revision: 11), VCN2.5 encoding can work properly.

---
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -3
index d270df8..ff6cc77 100644
@@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle)
 
 		for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
 			ring = &adev->vcn.inst[j].ring_enc[i];
-			/* disable encode rings till the robustness of the FW */
-			ring->sched.ready = false;
-			continue;
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
 				goto done;
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1571755708-12173-1-git-send-email-James.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Leo Liu
#2 lore raw

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Zhu, James
Sent: Tuesday, October 22, 2019 10:49 AM
To: [email protected]
Cc: Zhu, James <[email protected]>
Subject: [PATCH] drm/amdgpu/vcn: Enable VCN2.5 encoding

After VCN2.5 firmware (Version ENC: 1.1 Revision: 11), VCN2.5 encoding can work properly.

---
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -3
index d270df8..ff6cc77 100644
@@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle)
 
 		for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
 			ring = &adev->vcn.inst[j].ring_enc[i];
-			/* disable encode rings till the robustness of the FW */
-			ring->sched.ready = false;
-			continue;
 			r = amdgpu_ring_test_helper(ring);
 			if (r)
 				goto done;
Signature · 10 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): DM5PR12MB2456F9E06D30C7AE9202E955E5680-2J9CzHegvk8TFHufQck+3gdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

#4 lore raw

Have we ever published an older version of the firmware?

I strongly assume the answer is "no" and if that's the case feel free to add an Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 22.10.19 um 16:50 schrieb Liu, Leo:

Quoted 22 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Zhu, James
Sent: Tuesday, October 22, 2019 10:49 AM
To: [email protected]
Cc: Zhu, James <[email protected]>
Subject: [PATCH] drm/amdgpu/vcn: Enable VCN2.5 encoding

After VCN2.5 firmware (Version ENC: 1.1 Revision: 11), VCN2.5 encoding can work properly.

---
  drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 ---
  1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -0
index d270df8..ff6cc77 100644

drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c static int vcn_v2_5_hw_init(void *handle) · line 270

Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -3
@@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle)
 
  		for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
  			ring = &adev->vcn.inst[j].ring_enc[i];
-			/* disable encode rings till the robustness of the FW */
-			ring->sched.ready = false;
-			continue;
  			r = amdgpu_ring_test_helper(ring);
  			if (r)
  				goto done;

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 411b35f0-9333-eac8-4cd3-25031869c082-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#6 lore raw

Hi Christian,

I checked that Arcturus firmware haven't been published yet.

Best Regards!

James Zhu

Quoted 27 lines · Christian König

Have we ever published an older version of the firmware?

I strongly assume the answer is "no" and if that's the case feel free to add an Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 22.10.19 um 16:50 schrieb Liu, Leo:

Quoted 18 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Zhu, James
Sent: Tuesday, October 22, 2019 10:49 AM
To: [email protected]
Cc: Zhu, James <[email protected]>
Subject: [PATCH] drm/amdgpu/vcn: Enable VCN2.5 encoding

After VCN2.5 firmware (Version ENC: 1.1  Revision: 11), VCN2.5 encoding can work properly.

---
  drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 ---

  1 file changed, 3 deletions(-)
Quoted 15 lines
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -0
index d270df8..ff6cc77 100644

drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c static int vcn_v2_5_hw_init(void *handle) · line 269

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -3
@@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle)
             for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
               ring = &adev->vcn.inst[j].ring_enc[i];
-            /* disable encode rings till the robustness of the FW */
-            ring->sched.ready = false;
-            continue;
               r = amdgpu_ring_test_helper(ring);
               if (r)
                   goto done;

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Acked-by Alex Deucher
#7 lore raw
In reply to a message not in the archive
Quoted 8 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Zhu, James
Sent: Tuesday, October 22, 2019 10:49 AM
To: [email protected]
Cc: Zhu, James <[email protected]>
Subject: [PATCH] drm/amdgpu/vcn: Enable VCN2.5 encoding

Quoted 4 lines

After VCN2.5 firmware (Version ENC: 1.1 Revision: 11), VCN2.5 encoding can work properly.

Quoted 23 lines
---
 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +0 -3
index d270df8..ff6cc77 100644
@@ -265,9 +265,6 @@ static int vcn_v2_5_hw_init(void *handle)
 
 		for (i = 0; i < adev->vcn.num_enc_rings; ++i) {
 			ring = &adev->vcn.inst[j].ring_enc[i];
-			/* disable encode rings till the robustness of the FW
 */
-			ring->sched.ready = false;
-			continue;
 			r = amdgpu_ring_test_helper(ring);
 			if (r)

goto done;
--
2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx