Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d319c2bc authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/vi: add missing error handling when setting uvd dclk

parent 8085c699
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -795,6 +795,8 @@ static int vi_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk)
		return r;

	r = vi_set_uvd_clock(adev, dclk, ixCG_DCLK_CNTL, ixCG_DCLK_STATUS);
	if (r)
		return r;

	return 0;
}