On Sun, Feb 7, 2010 at 6:12 PM, Domenico Andreoli <ca...@dandreoli.com> wrote:
> Hi all,
>
>  I'd like to write a hwmon driver for the Radeon GPUs. I made a quick
> search in the M56 and M76 register references on AMD's site but didn't
> find anything. I then wrote to gpudriverdevsupp...@amd.com and now I'm
> waiting for some response. In the meanwhile, has anybody of you seen
> anything related to this task while working at the graphic drivers?
>
> Supposing I will find the missing info, I see the first problem. I
> guess the hwmon registers are in the address space mapped by the DRM
> driver. Surely I could make a patch but then the radeon's hwmon support
> would depend on the DRM driver. And if one wants the hwmon support
> but doesn't want DRM? Would she need/use a different hwmon driver,
> maybe thank to some Kconfig trick? Any advice?

The thermal and fan chips are generally 3rd party chips connected via
i2c.  I think most of the chips used have hwmon drivers already.  You
can look up the chip and i2c address in the power tables in the bios.
See the PowerPlayInfo table definitions in atombios.h.  I've started
work on cleaning up the radeon i2c buses for external use in the
drm-radeon-testing branch of Dave's drm tree:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=summary

Alex

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to