[RFC][PATCH] drm/radeon/hdmi: use separated file for DCE 3.1+ hw

Rafał Miłecki zajec5 at gmail.com
Mon May 12 10:47:09 PDT 2014


On 12 May 2014 19:42, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 12 May 2014 17:57, Alex Deucher <alexdeucher at gmail.com> wrote:
>> On Mon, May 12, 2014 at 9:54 AM, Rafał Miłecki <zajec5 at gmail.com> wrote:
>>> DCE 3.1 and 3.2 have different HDMI registers and should be programmed
>>> in a slightly different way. Moving support to separated file will
>>> allow use to use rv770d.h header in the future and adjust code as well.
>>
>> Any reason not to split it at DCE3.2 rather than 3.1?  It seems like
>> most (all?) of the changes are DCE3.2 specific rather than DCE3.1.
>> Otherwise, seems fine to me.
>
> I believe DCE 3.1 has HDMI much more like DCE 3.2 and it's programmed
> in a very similar way. Also it has 3.2 regs like DESCRIPTORs. The
> biggest difference is that DCE 3.1 doesn't seem to have
> AFMT_AUDIO_PACKET_CONTROL and AFMT_INFOFRAME_CONTROL0.

After looking closer... maybe I have to review it again. It seems
programming order of DCE 3.1 is much more like DCE 3.2, but registers
of DCE 3.1 are more like DCE 2.0/3.0. Maybe we'll need even one more
split.

I'll review it and come back.


More information about the dri-devel mailing list