Re: [PATCH 3/5] drm/radeon: add audio support for DCE6/8 GPUs (v11)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -169,13 +169,17 @@ int r600_audio_init(struct radeon_device *rdev)
>         if (!radeon_audio || !r600_audio_chipset_supported(rdev))
>                 return 0;
>
> -       r600_audio_engine_enable(rdev, true);
> +       rdev->audio.enabled = true;
> +
> +       rdev->audio.num_pins = 1;
> +       rdev->audio.pin[0].channels = -1;
> +       rdev->audio.pin[0].rate = -1;
> +       rdev->audio.pin[0].bits_per_sample = -1;
> +       rdev->audio.pin[0].status_bits = 0;
> +       rdev->audio.pin[0].category_code = 0;
> +       rdev->audio.pin[0].id = 0;
>
> -       rdev->audio_status.channels = -1;
> -       rdev->audio_status.rate = -1;
> -       rdev->audio_status.bits_per_sample = -1;
> -       rdev->audio_status.status_bits = 0;
> -       rdev->audio_status.category_code = 0;
> +       r600_audio_enable(rdev, &rdev->audio.pin[0], false);

I was really wondering why my audio was *DISABLED* during init :P Fix
this regression please ;)
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux