On Fri, Oct 20, 2023 at 04:37:36PM -0400, George Koehler wrote:
> On Thu, 19 Oct 2023 11:00:42 +1100
> Jonathan Gray <j...@openbsd.org> wrote:
> 
> > Are there multiple models of iMac11,2 or is this due to something
> > not acting as linux does?
> 
> Yes, iMac11,2 (21.5-inch, Mid 2010) has 3 models in everymac.com,
>  - Core i3 3.06 GHz, Radeon HD 4670, 256M vram
>  - Core i3 3.2  GHz, Radeon HD 5670, 512M vram
>  - Core i5 3.6  GHz, Radeon HD 5670, 512M vram
> 
> These Radeons might differ.  Marcus's 3.06 has product id 0x9488,
> which in drm/drm_pciids.h is CHIP_RV730.  An iMac11,2 3.2 in
> OpenBSD's dmesg collection has id 0x68c0, which is CHIP_REDWOOD.
> 
> An iMac probably has its original graphics card.  A Mac tower can
> swap cards; a PowerMac7,3 might have radeon or nvidia.
> 
> --gkoehler

This particular quirk is only done on the Radeon HD 4670/RV730 model due
to the earlier DCE test:

0x9488 Mobility Radeon HD 4670 (RV730)
0x68c0 Mobility Radeon HD 5730 (REDWOOD)

https://www.x.org/wiki/RadeonFeature/
RV730 is DCE3.2
REDWOOD is DCE4

        if (ASIC_IS_DCE32(rdev)) {
                if (dmi_match(DMI_PRODUCT_NAME, "iMac10,1") ||
                    dmi_match(DMI_PRODUCT_NAME, "iMac11,2"))

Reply via email to