drm: Move plane helpers into drm_kms_helper.ko
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jun 2014 17:30:45 +0000 (19:30 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Jun 2014 03:36:08 +0000 (13:36 +1000)
commit04381b987292256db6b8530aad193ee0453b72cd
tree44ea2c100f5d062f71e0c88c4ff7a9e794592192
parent6e9f798d91c526982cca0026cd451e8fdbf18aaf
drm: Move plane helpers into drm_kms_helper.ko

The drm core shouldn't depend upon any helpers, and we make sure this
doesn't accidentally happen by moving them into the helper-only
drm_kms_helper.ko module.

v2: Don't break the build for vmwgfx, spotted by Matt.

v3: Unbreak the depency loop around CONFIG_FB (not actually a loop
since it involves select). Reported by Chris.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Makefile
drivers/gpu/drm/vmwgfx/Kconfig