Pull up following revision(s) (requested by mrg in ticket #66):

sys/external/bsd/drm2/dist/drm/radeon/atombios_dp.c: revision 1.3
hack around an evergreen attach crash for now: provide a hard coded
name for the i2c.
This commit is contained in:
martin 2014-08-29 11:51:47 +00:00
parent 184f7de667
commit 8095750701
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ void radeon_dp_aux_init(struct radeon_connector *radeon_connector)
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;