Series is, Reviewed-by: Edward O'Callaghan <[email protected]>
On 09/20/2016 04:35 AM, Alex Deucher wrote: > function declaration parens should be a new line. > > Signed-off-by: Alex Deucher <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/vi.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c > index 5141393..81780f1 100644 > --- a/drivers/gpu/drm/amd/amdgpu/vi.c > +++ b/drivers/gpu/drm/amd/amdgpu/vi.c > @@ -445,7 +445,8 @@ static bool vi_read_bios_from_rom(struct amdgpu_device > *adev, > return true; > } > > -static void vi_detect_hw_virtualization(struct amdgpu_device *adev) { > +static void vi_detect_hw_virtualization(struct amdgpu_device *adev) > +{ > uint32_t reg = RREG32(mmBIF_IOV_FUNC_IDENTIFIER); > /* bit0: 0 means pf and 1 means vf */ > /* bit31: 0 means disable IOV and 1 means enable */ > @@ -461,7 +462,8 @@ static void vi_detect_hw_virtualization(struct > amdgpu_device *adev) { > } > } > > -static void vi_detect_sriov_bios(struct amdgpu_device *adev) { > +static void vi_detect_sriov_bios(struct amdgpu_device *adev) > +{ > if (amdgpu_atombios_has_gpu_virtualization_table(adev)) > adev->virtualization.virtual_caps |= > AMDGPU_SRIOV_CAPS_SRIOV_VBIOS; > } >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
