2022-05-26 10:17:51

by Mitchell Augustin

[permalink] [raw]
Subject: [PATCH] amdgpu: amdgpu_device.c: Removed trailing whitespace

Removed trailing whitespace from end of line in amdgpu_device.c

Signed-off-by: Mitchell Augustin <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 49f734137f15..c531c05163cf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -3365,7 +3365,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
*/
bool amdgpu_device_has_dc_support(struct amdgpu_device *adev)
{
- if (amdgpu_sriov_vf(adev) ||
+ if (amdgpu_sriov_vf(adev) ||
adev->enable_virtual_display ||
(adev->harvest_ip_mask & AMD_HARVEST_IP_DMU_MASK))
return false;
@@ -5762,7 +5762,7 @@ int amdgpu_in_reset(struct amdgpu_device *adev)
{
return atomic_read(&adev->reset_domain->in_gpu_reset);
}
-
+
/**
* amdgpu_device_halt() - bring hardware to some kind of halt state
*
--
2.36.1



2022-05-26 15:23:50

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] amdgpu: amdgpu_device.c: Removed trailing whitespace

Applied. Thanks!

Alex

On Wed, May 25, 2022 at 4:38 PM Mitchell Augustin
<[email protected]> wrote:
>
> Removed trailing whitespace from end of line in amdgpu_device.c
>
> Signed-off-by: Mitchell Augustin <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 49f734137f15..c531c05163cf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -3365,7 +3365,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
> */
> bool amdgpu_device_has_dc_support(struct amdgpu_device *adev)
> {
> - if (amdgpu_sriov_vf(adev) ||
> + if (amdgpu_sriov_vf(adev) ||
> adev->enable_virtual_display ||
> (adev->harvest_ip_mask & AMD_HARVEST_IP_DMU_MASK))
> return false;
> @@ -5762,7 +5762,7 @@ int amdgpu_in_reset(struct amdgpu_device *adev)
> {
> return atomic_read(&adev->reset_domain->in_gpu_reset);
> }
> -
> +
> /**
> * amdgpu_device_halt() - bring hardware to some kind of halt state
> *
> --
> 2.36.1
>