diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3888-drm-amdgpu-remove-excess-function-parameter-descript.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3888-drm-amdgpu-remove-excess-function-parameter-descript.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3888-drm-amdgpu-remove-excess-function-parameter-descript.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3888-drm-amdgpu-remove-excess-function-parameter-descript.patch new file mode 100644 index 00000000..3df04e68 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3888-drm-amdgpu-remove-excess-function-parameter-descript.patch @@ -0,0 +1,43 @@ +From 698b83a1f206e311edb5f675c8a4fb2fcad704ab Mon Sep 17 00:00:00 2001 +From: yu kuai <yukuai3@huawei.com> +Date: Thu, 19 Sep 2019 22:09:09 +0800 +Subject: [PATCH 3888/4256] drm/amdgpu: remove excess function parameter + description + +Fixes gcc warning: + +drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:431: warning: Excess function +parameter 'sw' description in 'vcn_v2_5_disable_clock_gating' +drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:550: warning: Excess function +parameter 'sw' description in 'vcn_v2_5_enable_clock_gating' + +Fixes: cbead2bdfcf1 ("drm/amdgpu: add VCN2.5 VCPU start and stop") +Signed-off-by: yu kuai <yukuai3@huawei.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +index 247cf7e71e1b..22e4644521dc 100644 +--- a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c ++++ b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +@@ -423,7 +423,6 @@ static void vcn_v2_5_mc_resume(struct amdgpu_device *adev) + * vcn_v2_5_disable_clock_gating - disable VCN clock gating + * + * @adev: amdgpu_device pointer +- * @sw: enable SW clock gating + * + * Disable clock gating for VCN block + */ +@@ -542,7 +541,6 @@ static void vcn_v2_5_disable_clock_gating(struct amdgpu_device *adev) + * vcn_v2_5_enable_clock_gating - enable VCN clock gating + * + * @adev: amdgpu_device pointer +- * @sw: enable SW clock gating + * + * Enable clock gating for VCN block + */ +-- +2.17.1 + |