Ok. I will remove the code.
Best Regards
Rex
From: Christian König
Sent: Wednesday, September 26, 2018 8:45 PM
To: Zhu, Rex; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: Fix copy error in uvd_v6/7_0.c
Am 26.09.2018 um 14:41 schrieb Rex Zhu
Am 26.09.2018 um 14:41 schrieb Rex Zhu:
Signed-off-by: Rex Zhu
Actually that code can just be removed because uvd_*_enc_get_destroy_msg
is only called with direct=true.
Christian.
---
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 2 +-
2 files c