[PATCH v2] drm/radeon: Print gart initialization details on all chipsets
Michel Dänzer
michel at daenzer.net
Tue Aug 30 00:36:40 PDT 2011
DRM patches need to be submitted to the dri-devel list, moving there.
On Die, 2011-08-30 at 00:17 +0200, Tormod Volden wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
>
> This was previously done for r300 only. Use %p instead of %08X for
> printing the table address.
sizeof(dma_addr_t) can be 8 even when sizeof(void*) is 4.
> Also fix typo in gart warning messages.
>
> Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
[...]
> diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c
> index a533f52..40f851b 100644
> --- a/drivers/gpu/drm/radeon/radeon_gart.c
> +++ b/drivers/gpu/drm/radeon/radeon_gart.c
> @@ -142,7 +142,7 @@ void radeon_gart_unbind(struct radeon_device *rdev, unsigned offset,
> u64 page_base;
>
> if (!rdev->gart.ready) {
> - WARN(1, "trying to unbind memory to unitialized GART !\n");
> + WARN(1, "trying to unbind memory to uninitialized GART !\n");
While you're at it, 'unbind from'?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-devel
mailing list