[PATCH 1/2] drm/radeon/cik: Return backend map information to userspace

Alex Deucher alexdeucher at gmail.com
Mon Nov 18 06:21:57 PST 2013


On Mon, Nov 18, 2013 at 4:25 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Both patches applied to my tree.

Thanks!

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
> index bb87105..fa42c81 100644
> --- a/drivers/gpu/drm/radeon/radeon_kms.c
> +++ b/drivers/gpu/drm/radeon/radeon_kms.c
> @@ -340,7 +340,7 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
>                 break;
>         case RADEON_INFO_BACKEND_MAP:
>                 if (rdev->family >= CHIP_BONAIRE)
> -                       return -EINVAL;
> +                       *value = rdev->config.cik.backend_map;
>                 else if (rdev->family >= CHIP_TAHITI)
>                         *value = rdev->config.si.backend_map;
>                 else if (rdev->family >= CHIP_CAYMAN)
> --
> 1.8.4.3
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list