Skip to content

Commit

Permalink
drm/omap: move out of staging
Browse files Browse the repository at this point in the history
Now that the omapdss interface has been reworked so that omapdrm can use
dispc directly, we have been able to fix the remaining functional kms
issues with omapdrm.  And in the mean time the PM sequencing and many
other of that open issues have been solved.  So I think it makes sense
to finally move omapdrm out of staging.

Signed-off-by: Rob Clark <robdclark@gmail.com>
  • Loading branch information
Rob Clark committed Feb 16, 2013
1 parent a4462f2 commit 8bb0daf
Show file tree
Hide file tree
Showing 28 changed files with 41 additions and 50 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,5 @@ source "drivers/gpu/drm/cirrus/Kconfig"
source "drivers/gpu/drm/shmobile/Kconfig"

source "drivers/gpu/drm/tegra/Kconfig"

source "drivers/gpu/drm/omapdrm/Kconfig"
1 change: 1 addition & 0 deletions drivers/gpu/drm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ obj-$(CONFIG_DRM_UDL) += udl/
obj-$(CONFIG_DRM_AST) += ast/
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
obj-$(CONFIG_DRM_TEGRA) += tegra/
obj-$(CONFIG_DRM_OMAP) += omapdrm/
obj-y += i2c/
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions drivers/gpu/drm/omapdrm/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
TODO
. Where should we do eviction (detatch_pages())? We aren't necessarily
accessing the pages via a GART, so maybe we need some other threshold
to put a cap on the # of pages that can be pin'd.
. Use mm_shrinker to trigger unpinning pages.
. This is mainly theoretical since most of these devices don't actually
have swap or harddrive.
. GEM/shmem backed pages can have existing mappings (kernel linear map,
etc..), which isn't really ideal.
. Revisit GEM sync object infrastructure.. TTM has some framework for this
already. Possibly this could be refactored out and made more common?
There should be some way to do this with less wheel-reinvention.
. This can be handled by the dma-buf fence/reservation stuff when it
lands

Userspace:
. git://anongit.freedesktop.org/xorg/driver/xf86-video-omap

Currently tested on
. OMAP3530 beagleboard
. OMAP4430 pandaboard
. OMAP4460 pandaboard
. OMAP5432 uEVM
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_connector.c
* drivers/gpu/drm/omapdrm/omap_connector.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_crtc.c
* drivers/gpu/drm/omapdrm/omap_crtc.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_debugfs.c
* drivers/gpu/drm/omapdrm/omap_debugfs.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_drv.c
* drivers/gpu/drm/omapdrm/omap_drv.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_drv.h
* drivers/gpu/drm/omapdrm/omap_drv.h
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand All @@ -25,8 +25,8 @@
#include <linux/types.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/omap_drm.h>
#include <linux/platform_data/omap_drm.h>
#include "omap_drm.h"


#define DBG(fmt, ...) DRM_DEBUG(fmt"\n", ##__VA_ARGS__)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_encoder.c
* drivers/gpu/drm/omapdrm/omap_encoder.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_fb.c
* drivers/gpu/drm/omapdrm/omap_fb.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_fbdev.c
* drivers/gpu/drm/omapdrm/omap_fbdev.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_gem.c
* drivers/gpu/drm/omapdrm/omap_gem.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_gem_dmabuf.c
* drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_gem_helpers.c
* drivers/gpu/drm/omapdrm/omap_gem_helpers.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_irq.c
* drivers/gpu/drm/omapdrm/omap_irq.c
*
* Copyright (C) 2012 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* drivers/staging/omapdrm/omap_plane.c
* drivers/gpu/drm/omapdrm/omap_plane.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob.clark@linaro.org>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ source "drivers/staging/media/Kconfig"

source "drivers/staging/net/Kconfig"

source "drivers/staging/omapdrm/Kconfig"

source "drivers/staging/android/Kconfig"

source "drivers/staging/ozwpan/Kconfig"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ obj-$(CONFIG_SPEAKUP) += speakup/
obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217) += cptm1217/
obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4) += ste_rmi4/
obj-$(CONFIG_MFD_NVEC) += nvec/
obj-$(CONFIG_DRM_OMAP) += omapdrm/
obj-$(CONFIG_ANDROID) += android/
obj-$(CONFIG_USB_WPAN_HCD) += ozwpan/
obj-$(CONFIG_USB_G_CCG) += ccg/
Expand Down
32 changes: 0 additions & 32 deletions drivers/staging/omapdrm/TODO

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* include/drm/omap_drm.h
* include/uapi/drm/omap_drm.h
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@ti.com>
Expand Down

0 comments on commit 8bb0daf

Please sign in to comment.