]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5be7ff8802aa14f74c6c299dc41ecf68ec2a4cfe
tree94635d39a15ce9b64db94afe5f45dea71bb2fba0
parentc2ec076b57679aafe5449c29be4315ab14e1e710
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]