drm/i2c: Move ptn driver from auxdisplay to drm
authorSean Paul <seanpaul@chromium.org>
Fri, 26 Oct 2012 20:07:49 +0000 (16:07 -0400)
committerGerrit <chrome-bot@google.com>
Thu, 1 Nov 2012 17:51:39 +0000 (10:51 -0700)
commitaa155b1d322fe3f08e81fda8ab19b77075e1ebfd
tree133f3c57503d65e2f1e4a7cb353e1a857e56ffcb
parentae4f1d40e120ddb2e781cbd14864c973c4e1fb4a
drm/i2c: Move ptn driver from auxdisplay to drm

In order to properly synchronize setting up the ptn bridge chip with the
displayport drm driver, we need to move ptn into drm.

The original hope was to keep ptn completely seperate from drm, and have
it just act like a regular monitor. Unfortunately, the bridge is
designed such that it cannot be configured until after it asserts
hotplug. This creates a race between the DP driver detecting hotplug and
reading edid, and the ptn driver configuring its edid emulation setting.

By moving it into the drm subsystem, we can hold off reading edid until
the bridge is properly set up.

BUG=chrome-os-partner:11158
TEST=Tested on snow, no regressions detected.

Change-Id: I99f696b4eeabf36f3055c3772482013397da5002
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36791
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/auxdisplay/Kconfig
drivers/auxdisplay/Makefile
drivers/auxdisplay/ptn3460.c [deleted file]
drivers/gpu/drm/Kconfig
drivers/gpu/drm/i2c/Kconfig [new file with mode: 0644]
drivers/gpu/drm/i2c/Makefile
drivers/gpu/drm/i2c/ptn3460.c [new file with mode: 0644]