Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/radeon hack around an evergre...



details:   https://anonhg.NetBSD.org/src/rev/4b6d4bc4ba79
branches:  trunk
changeset: 331886:4b6d4bc4ba79
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Aug 28 20:40:57 2014 +0000

description:
hack around an evergreen attach crash for now: provide a hard coded
name for the i2c.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 78c455e9f229 -r 4b6d4bc4ba79 sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c       Thu Aug 28 20:29:05 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c       Thu Aug 28 20:40:57 2014 +0000
@@ -212,6 +212,10 @@
        radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd;
        radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev;
        radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer;
+#ifdef __NetBSD__
+       /* XXX dervied from sysfs/i2c on linux. */
+       radeon_connector->ddc_bus->aux.name = "radeon_dp_aux";
+#endif
        ret = drm_dp_aux_register_i2c_bus(&radeon_connector->ddc_bus->aux);
        if (!ret)
                radeon_connector->ddc_bus->has_aux = true;



Home | Main Index | Thread Index | Old Index