[FIX][STABLE 3.3+][PATCH] drm/radeon/audio: don't hardcode CRTC id

Rafał Miłecki zajec5 at gmail.com
Tue Jun 5 03:18:08 PDT 2012


2012/6/5 Christian König <deathsimple at vodafone.de>:
> On 04.06.2012 18:49, Alex Deucher wrote:
>>
>> On Mon, Jun 4, 2012 at 12:36 PM, Rafał Miłecki<zajec5 at gmail.com>  wrote:
>>>
>>> This is based on info released by AMD, should allow using audio in much
>>> more cases.
>>>
>>> Signed-off-by: Rafał Miłecki<zajec5 at gmail.com>
>>> Cc:<stable at vger.kernel.org>
>>
>> Reviewed-by: Alex Deucher<alexander.deucher at amd.com>
>
>
> Not sure if the definition is available on older kernels, but try to replace
> "0x5ac" with something more meaningfully if possible. Otherwise also:

Not available for old kernels unfortunately. This part of code will
require rewriting anyway, DTO is slightly more complicated in
programming than I though. For example on some newer cards re-writing
current value seems to change something (fixes playback speed for me).

I'll keep in mind using defines in the future. Promise ;)

-- 
Rafał


More information about the dri-devel mailing list