[RFT][PATCH] drm/radeon/hdmi: enable audio on Cayman

Christian König deathsimple at vodafone.de
Mon Jun 11 02:50:54 PDT 2012


Yeah, just gotten to the same conclusion a second before your last mail 
arrives.... Heureka! We got HDMI audio on Cayman!

Please merge that with your other patch and resend it to the list.

Cheers,
Christian.

On 11.06.2012 11:38, Rafał Miłecki wrote:
> ---
>   drivers/gpu/drm/radeon/ni.c |    5 +++++
>   1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
> index 3df4efa..b65fcae 100644
> --- a/drivers/gpu/drm/radeon/ni.c
> +++ b/drivers/gpu/drm/radeon/ni.c
> @@ -1290,6 +1290,10 @@ static int cayman_startup(struct radeon_device *rdev)
>   	if (r)
>   		return r;
>
> +	r = r600_audio_init(rdev);
> +	if (r)
> +		return r;
> +
>   	return 0;
>   }
>
> @@ -1316,6 +1320,7 @@ int cayman_resume(struct radeon_device *rdev)
>
>   int cayman_suspend(struct radeon_device *rdev)
>   {
> +	r600_audio_fini(rdev);
>   	/* FIXME: we should wait for ring to be empty */
>   	radeon_ib_pool_suspend(rdev);
>   	radeon_vm_manager_suspend(rdev);



More information about the dri-devel mailing list