On Mon, Apr 9, 2012 at 6:14 AM, Nigel Taylor
<[email protected]> wrote:
> On 04/09/12 10:58, Abel Abraham Camarillo Ojeda wrote:
>> On Sun, Apr 24, 2011 at 6:13 AM, Owain Ainsworth <[email protected]>
>> wrote:
>>> On Sat, Apr 23, 2011 at 11:07:16PM -0400, Mark Peoples wrote:
>>>> On Sun, Apr 03, 2011 at 08:37:08AM -0400, Mark Peoples wrote:
>>>>> The following along with an update to xf86-video-ati-6.14.1 gets me
some
>> very sexy 1920x1080 on my Radeon HD5450
>>>>
>>>> the xorg driver part getting updated probably isn't going to happen any
>> time soon, but can the pci bits go in? thanks!
>>>>
>>>> Index: drm/radeon_drv.c
>>>> ===================================================================
>>>> RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
>>>> retrieving revision 1.51
>>>> diff -u drm/radeon_drv.c
>>>> --- drm/radeon_drv.c B B B 29 Sep 2010 13:32:22 -0000 B B B B B 1.51
>>>> +++ drm/radeon_drv.c B B B 3 Apr 2011 12:23:45 -0000
>>>> @@ -526,6 +526,8 @@
>>>> B B B B B B B B B B B B CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
>>>> B B B B B B B B {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
>>>> B B B B B B B B B B B
>> CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
>>>> + B B B B B B {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
>>>> + B B B B B B B B B B CHIP_RS880|RADEON_NEW_MEMMAP},
>>>> B B B B B B B B B {0, 0, 0}
>>>
>>> While this has been commited this is actually wrong.
>>>
>>> The chip is an evergreen (cedar, specifically) not a RS880. So it is
>>> possible that something funny can happen when using this. I'll deal with
>>> this when I get some time.
>>>
>>> -0-
>>> --
>>> Experience is something you don't get until just after you need it.
>>> B B B B B B B B B B B B B B B -- Olivier
>>>
>>
>> I've got a new (supossedly) ATI Radeon HD 5450:
>>
>>
http://www.asus.com/Graphics_Cards/AMD_Series/EAH5450_SILENTDI1GD3LP/#specifi
>> cations
>>
>> I thought of adding something like this:
>>
>> Index: pcidevs
>> ===================================================================
>> RCS file: /cvs/src/sys/dev/pci/pcidevs,v
>> retrieving revision 1.1637
>> diff -u -r1.1637 pcidevs
>> --- pcidevs B  B  5 Apr 2012 11:22:35 -0000 B  B  B  1.1637
>> +++ pcidevs B  B  9 Apr 2012 09:14:42 -0000
>> @@ -1252,6 +1252,7 @@
>> B product ATI RADEON_HD5700 B  B  B 0x68b8 B Radeon HD 5700
>> B product ATI RADEON_HD5670 B  B  B 0x68d8 B Radeon HD 5670
>> B product ATI MOBILITY_HD5470 B  B 0x68e0 B Radeon Mobility HD 5470
>> +product ATI RADEON_HD5450_1 B  B 0x68e1 B Radeon HD 5450
>> B product ATI RADEON_HD5450 B  B  B 0x68f9 B Radeon HD 5450
>> B product ATI RS100_PCI B  B  B  B  B 0x700f B RS100 PCI
>> B product ATI RS200_PCI B  B  B  B  B 0x7010 B RS200 PCI
>> Index: drm/radeon_drv.c
>> ===================================================================
>> RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
>> retrieving revision 1.57
>> diff -u -r1.57 radeon_drv.c
>> --- drm/radeon_drv.c B  B 29 Jan 2012 22:36:18 -0000 B  B  B 1.57
>> +++ drm/radeon_drv.c B  B 9 Apr 2012 09:23:59 -0000
>> @@ -533,6 +533,8 @@
>> B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
>> B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
>> B  B  B  B  B  B 
CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
>> + B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450_1,
>> + B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
>> B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
>> B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
>> B  B  B  B  B {0, 0, 0}
>>
>> But according to radeon(4) it's a CEDAR (not RS880) chip,
>> anyway I applied the previous patch and my card is still in some
>> kind of vesa mode...
>>
>> There's something I can do to help getting this supported?
>>
>> Thanks.
>>
>>
> radeon_drv.c should not be changed to include CEDAR or other evergreen
> chips as RS880. This is wrong it will not work, there needs to be a
> separate drm for evergreen chips, CEDAR, PALM etc.
>
> If you getting VESA mode then that is a separate issue, your looking in
> the wrong place. you should look in
> xenocara/driver/xf86-video-ati/src/pcidb/ati_pciids.cvs this already
> contains 68e1 as
>
> "0x68E1","CEDAR_68E1","CEDAR",1,,,,,"ATI Mobility Radeon HD 5000 Series"
>
> You need to be using OpenBSD current and in the xorg.conf specify the
> driver as radeon it will not be detected by default as given here in the
> information for following current.
>
> http://www.openbsd.org/faq/current.html#20120304
>
> You will not get acceleration until drm for evergreen chips is
> implemented, but should get the correct display.
>
>

This works...

I should have read the FAQ... no cookies for me.

Thank you.

Reply via email to