drm/intel: refactor DP i2c support and DP common header to drm helper
authorDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 00:55:24 +0000 (10:55 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2009 23:24:23 +0000 (09:24 +1000)
commitab2c0672984f7f7ebec6d5f615fd5a6ebad26f3d
tree94635d39a15ce9b64db94afe5f45dea71bb2fba0
parent85bb0c377f259100d049937e30c85f7a8dea0fa0
drm/intel: refactor DP i2c support and DP common header to drm helper

Both radeon and nouveau can re-use this code so move it up a level
so they can. However the hw interfaces for aux ch are different
enough that the code to translate from mode, address, bytes
to actual hw interfaces isn't generic, so move that code into the
Intel driver.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_dp_i2c_helper.c [new file with mode: 0644]
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp.h [deleted file]
drivers/gpu/drm/i915/intel_dp_i2c.c [deleted file]
include/drm/drm_dp_helper.h [new file with mode: 0644]