]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: move generic hotplug code into new intel_hotplug.c file
authorJani Nikula <jani.nikula@intel.com>
Thu, 18 Jun 2015 10:06:16 +0000 (13:06 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Jun 2015 13:03:42 +0000 (15:03 +0200)
commit647ac1b33b5dc88e0eccbc7a95ff3b1ed32fee72
tree704989b6f794f8a39e557b1b9f361ab6025123c9
parent9b09f6ff1b3c44c2c26394eb6002f5b2af2f54d1
drm/i915: move generic hotplug code into new intel_hotplug.c file

We have enough generic hotplug functions sprinkled all over i915_irq.c
to warrant moving them to a file of their own. This should further
underline the distinction between generic code in the new file and
platform specific hotplug and irq code that remains in i915_irq.c.

Add new intel_hpd_init_work to keep work functions static, and rename
get_port_from_pin to intel_hpd_pin_to_port while increasing its
visibility, but keep everything else the same.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_hotplug.c [new file with mode: 0644]