[PATCH 3/7] drm/amdgpu: introduce graphics object id helpers.

2016-04-15 Thread Emil Velikov
Hi Dave, On 14 April 2016 at 03:56, Dave Airlie wrote: > +static enum connector_id connector_id_from_bios_object_id(uint32_t > bios_object_id) > +{ > + uint32_t bios_connector_id = > gpu_id_from_bios_object_id(bios_object_id); > + > + enum connector_id id; > + > + switch (bios

[PATCH 3/7] drm/amdgpu: introduce graphics object id helpers.

2016-04-14 Thread Dave Airlie
From: Dave Airlie DAL hides these inside the bios parser, we need them separate to use here, so copy them over. I'll add more to this as I go. This also needs the ones to translate objects back that aren't in here currently. Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/amdgpu/Makefile