drm/omap: Add omapdrm plugin API

This work is based on Rob Clark's patch :
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commit;h=6a42bc1660b06464f9da796604ecd4934bb31acd
WIP: drm/omap: V2: add plugin API
from the GLP kernel tree available at
http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=summary

Omapdrm is fixed so that it can accept plugins.
Plugin add functions like load/unload etc are added in omap_drv.c
In omap_gem.c GEM object mapping functions has been added

This patch is required for gfx driver to be built as a drm plugin

Subhajit : k3.12: removed const from ioctls table
Anand : k3.14 : rebased with LCPD baseline

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>

Conflicts:

	drivers/gpu/drm/omapdrm/omap_drv.c
	drivers/gpu/drm/omapdrm/omap_drv.h

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>

Conflicts:
	drivers/gpu/drm/omapdrm/omap_drv.c
4 files changed