[haiku-bugs] Re: [Haiku] #10606: Would be posible add support for Radeon 7480D (A4 5300 APU) ?

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Thu, 09 Oct 2014 19:46:46 -0000

#10606: Would be posible add support for Radeon 7480D (A4 5300 APU) ?
------------------------------------------+----------------------------
   Reporter:  lukove                      |      Owner:  kallisti5
       Type:  enhancement                 |     Status:  assigned
   Priority:  normal                      |  Milestone:  R1
  Component:  Drivers/Graphics/radeon_hd  |    Version:  R1/Development
 Resolution:                              |   Keywords:  Radeon 7480D
 Blocked By:                              |   Blocking:  10565
Has a Patch:  0                           |   Platform:  All
------------------------------------------+----------------------------

Comment (by waddlesplash):

 Some more info from Alex:
 {{{
 <waddlesplash> kallisti5: would http://cgit.haiku-
 os.org/haiku/commit/?id=72ec5a3630aa77a763c645e698c18259b8892953 apply to
 older chipsets too?
 <kallisti5> 100MBit -> internet
 <kallisti5> waddlesplash: no idea... I didn't make that change
 <waddlesplash> Because, Julian said to me when I asked that he had the
 exact same symptoms that ttcoder/Dane were getting in that old ticket
 <waddlesplash> I know
 <kallisti5> looking at the code it doesn't apply
 <kallisti5> although
 <kallisti5> ... wonder why he didn't use the defines there
 <kallisti5> PCI_BAR_MMIO
 <waddlesplash> so changing chipsetID < RADEON_BONAIRE to whatever Dane had
 would not affect it?
 <kallisti5> and PCI_BAR_MMIO_whatever5 is
 <kallisti5> oh.. it was a local define
 <kallisti5> nevermind :P
 <kallisti5> ooooooooooooooooooooh
 <kallisti5> he's checking chipset there
 <kallisti5> that's a bad idea
 <waddlesplash> well, it fixed the bug for him and someone else
 <waddlesplash> so if it's half wrong, please tell how to fix
 <kallisti5> should be looking at dceMajor and dceMinor
 <kallisti5> the ordering of the chipsets in linux vs us differs
 <kallisti5> linux is a confusing mess... they aren't ordered by release
 <kallisti5> they're ordered by internally how the cards are related
 <kallisti5> at amd
 <kallisti5> each generation does have a dce version though
 <kallisti5> I look at that in the driver as it makes wayy more sense
 <kallisti5> could be that the card you have is out of order
 <waddlesplash> not my problem
 <waddlesplash> this was the black-screen-onboot problem
 <waddlesplash> lemme find that ticket
 <kallisti5> given the logic the following should happen:
 <kallisti5> look up a RADEON_BONAIRE card
 <kallisti5> find the DCE major / minor
 <kallisti5> do a < DCE major + minor
 <waddlesplash> kallisti5: here, this was the card not working http://cgit
 .haiku-os.org/haiku/commit/?id=6289332b7bc38bab2518ab4a719e80a3ed9ede15
 <kallisti5> bonare is DCE 8.2
 <kallisti5> so yeah.. don't think that is the solution unless aruba comes
 after bonare in linux
 <kallisti5>
 http://osxr.org/linux/source/drivers/gpu/drm/radeon/radeon.h#2541
 <kallisti5> < DCE 8.0
 <kallisti5> even though bonare is 8.2
 <kallisti5> crappy linux drivers
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/10606#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: