drm/radeon: fix trivial typo in warning message
Subsystems (2)
PATCH 1/1 drm/radeon: fix trivial typo in warning message
--- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_device.c +1 -1
@@ -1150,7 +1150,7 @@ static void radeon_check_arguments(struct radeon_device *rdev) }if (radeon_vm_size <1 ) { -dev_warn (rdev->dev,"VM size (%d) to small, min is 1GB\n" , +dev_warn (rdev->dev,"VM size (%d) too small, min is 1GB\n" , radeon_vm_size); radeon_vm_size =4 ; }
Signature · 6 lines
2.6.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 08.01.2016 um 01:22 schrieb Alexandre Demers:
Quoted 1 line
Signed-off-by Alexandre Demers <[email protected]>
We probably need to fix this in amdgpu as well.
Thanks for the help,
Christian.
Quoted 9 lines
--- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_device.c +0
-0
drivers/gpu/drm/radeon/radeon_device.c static void radeon_check_arguments(struct radeon_device *rdev) · line 1156
Quoted 8 lines
drivers/gpu/drm/radeon/radeon_device.c +1
-1@@ -1150,7 +1150,7 @@ static void radeon_check_arguments(struct radeon_device *rdev) }if (radeon_vm_size <1 ) { -dev_warn (rdev->dev,"VM size (%d) to small, min is 1GB\n" , +dev_warn (rdev->dev,"VM size (%d) too small, min is 1GB\n" , radeon_vm_size); radeon_vm_size =4 ; }
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Yes, a quick grep shows the same typo in several places:
Quoted 7 lines
$ grep -Rwn 'to small' drivers/gpu/
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:544: DRM_ERROR("BO to small for addr 0x%010Lx %d %d\n",
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:648: DRM_ERROR("buffer (%d) to small (%d / %d)!\n", cmd,
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:656: DRM_ERROR("buffer (%d) to small (%d / %d)!\n", cmd,
drivers/gpu/drm/radeon/radeon_device.c:1153: dev_warn(rdev->dev, "VM size (%d) to small, min is 1GB\n",
drivers/gpu/drm/radeon/radeon_vce.c:501: DRM_ERROR("buffer to small (%d / %d)!\n",
drivers/gpu/drm/radeon/radeon_uvd.c:563: DRM_ERROR("buffer (%d) to small (%d / %d)!\n", cmd,BTW there's also a 'to large' one:
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:342: /* clamp timeout if it's to large */
Quoted 21 lines · Christian König
Am 08.01.2016 um 01:22 schrieb Alexandre Demers:
Quoted 1 line
Signed-off-by Alexandre Demers <[email protected]>Reviewed-by Christian König <[email protected]>.We probably need to fix this in amdgpu as well.
Thanks for the help,
Christian.Quoted 11 lines
--- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_device.c +0
-0@@ -1150,7 +1150,7 @@ static void radeon_check_arguments(struct radeon_device *rdev) }
Quoted 12 lines
drivers/gpu/drm/radeon/radeon_device.c static void radeon_check_arguments(struct radeon_device *rdev) · line 1156
Quoted 6 lines
drivers/gpu/drm/radeon/radeon_device.c +1
-1if (radeon_vm_size <1 ) { -dev_warn (rdev->dev,"VM size (%d) to small, min is 1GB\n" , +dev_warn (rdev->dev,"VM size (%d) too small, min is 1GB\n" , radeon_vm_size); radeon_vm_size =4 ; }_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
AppliedQuoted 1 line · Alexandre Demers
Signed-off-by Alexandre Demers <[email protected]>
Applied. thanks!
Alex
Quoted 20 lines
--- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/radeon/radeon_device.c +1
-2@@ -1150,7 +1150,7 @@ static void radeon_check_arguments(struct radeon_device *rdev) }if (radeon_vm_size <1 ) { -dev_warn (rdev->dev,"VM size (%d) to small, min is 1GB\n" , +dev_warn (rdev->dev,"VM size (%d) too small, min is 1GB\n" , radeon_vm_size); radeon_vm_size =4 ; } --2.6.4
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel