* (unknown),
@ 2012-05-18 12:27 Sascha Hauer
2012-05-18 12:27 ` [PATCH 1/2] DRM: add Freescale i.MX LCDC driver Sascha Hauer
` (2 more replies)
0 siblings, 3 replies; 35+ messages in thread
From: Sascha Hauer @ 2012-05-18 12:27 UTC (permalink / raw)
To: dri-devel; +Cc: linux-arm-kernel
Hi All,
The following adds a drm/kms driver for the Freescale i.MX LCDC
controller. Most notable change to the last SDRM based version is that
the SDRM layer has been removed and the driver now is purely i.MX
specific. I hope that this is more acceptable now.
Another change is that the probe is now devicetree based. For now I
took the easy way out and only put an edid blob into the devicetree.
I haven't documented the binding yet, I would add that when the rest
is considered ok.
Comments very welcome.
Thanks
Sascha
----------------------------------------------------------------
Sascha Hauer (2):
DRM: add Freescale i.MX LCDC driver
pcm038 lcdc support
arch/arm/boot/dts/imx27-phytec-phycore.dts | 39 ++
arch/arm/boot/dts/imx27.dtsi | 7 +
arch/arm/mach-imx/clock-imx27.c | 1 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/imx/Kconfig | 18 +
drivers/gpu/drm/imx/Makefile | 8 +
drivers/gpu/drm/imx/imx-drm-core.c | 745 ++++++++++++++++++++++++++++
drivers/gpu/drm/imx/imx-fb.c | 179 +++++++
drivers/gpu/drm/imx/imx-fbdev.c | 275 ++++++++++
drivers/gpu/drm/imx/imx-gem.c | 343 +++++++++++++
drivers/gpu/drm/imx/imx-lcdc-crtc.c | 517 +++++++++++++++++++
drivers/gpu/drm/imx/imx-parallel-display.c | 228 +++++++++
13 files changed, 2363 insertions(+)
create mode 100644 drivers/gpu/drm/imx/Kconfig
create mode 100644 drivers/gpu/drm/imx/Makefile
create mode 100644 drivers/gpu/drm/imx/imx-drm-core.c
create mode 100644 drivers/gpu/drm/imx/imx-fb.c
create mode 100644 drivers/gpu/drm/imx/imx-fbdev.c
create mode 100644 drivers/gpu/drm/imx/imx-gem.c
create mode 100644 drivers/gpu/drm/imx/imx-lcdc-crtc.c
create mode 100644 drivers/gpu/drm/imx/imx-parallel-display.c
^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 1/2] DRM: add Freescale i.MX LCDC driver
2012-05-18 12:27 (unknown), Sascha Hauer
@ 2012-05-18 12:27 ` Sascha Hauer
2012-05-22 21:28 ` Rob Clark
2012-05-18 12:27 ` [PATCH 2/2] pcm038 lcdc support Sascha Hauer
2012-05-22 14:06 ` Lars-Peter Clausen
2 siblings, 1 reply; 35+ messages in thread
From: Sascha Hauer @ 2012-05-18 12:27 UTC (permalink / raw)
To: dri-devel; +Cc: Sascha Hauer, linux-arm-kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/imx/Kconfig | 18 +
drivers/gpu/drm/imx/Makefile | 8 +
drivers/gpu/drm/imx/imx-drm-core.c | 745 ++++++++++++++++++++++++++++
drivers/gpu/drm/imx/imx-fb.c | 179 +++++++
drivers/gpu/drm/imx/imx-fbdev.c | 275 ++++++++++
drivers/gpu/drm/imx/imx-gem.c | 343 +++++++++++++
drivers/gpu/drm/imx/imx-lcdc-crtc.c | 517 +++++++++++++++++++
drivers/gpu/drm/imx/imx-parallel-display.c | 228 +++++++++
10 files changed, 2316 insertions(+)
create mode 100644 drivers/gpu/drm/imx/Kconfig
create mode 100644 drivers/gpu/drm/imx/Makefile
create mode 100644 drivers/gpu/drm/imx/imx-drm-core.c
create mode 100644 drivers/gpu/drm/imx/imx-fb.c
create mode 100644 drivers/gpu/drm/imx/imx-fbdev.c
create mode 100644 drivers/gpu/drm/imx/imx-gem.c
create mode 100644 drivers/gpu/drm/imx/imx-lcdc-crtc.c
create mode 100644 drivers/gpu/drm/imx/imx-parallel-display.c
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index e354bc0..759502c 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -186,3 +186,5 @@ source "drivers/gpu/drm/vmwgfx/Kconfig"
source "drivers/gpu/drm/gma500/Kconfig"
source "drivers/gpu/drm/udl/Kconfig"
+
+source "drivers/gpu/drm/imx/Kconfig"
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index c20da5b..6569d8d 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -42,4 +42,5 @@ obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
obj-$(CONFIG_DRM_EXYNOS) +=exynos/
obj-$(CONFIG_DRM_GMA500) += gma500/
obj-$(CONFIG_DRM_UDL) += udl/
+obj-$(CONFIG_DRM_IMX) += imx/
obj-y += i2c/
diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx/Kconfig
new file mode 100644
index 0000000..5fc3a44
--- /dev/null
+++ b/drivers/gpu/drm/imx/Kconfig
@@ -0,0 +1,18 @@
+config DRM_IMX
+ tristate "DRM Support for Freescale i.MX"
+ select DRM_KMS_HELPER
+ depends on DRM && ARCH_MXC
+
+config DRM_IMX_FB_HELPER
+ tristate "provide legacy framebuffer /dev/fb0"
+ depends on DRM_IMX
+
+config DRM_IMX_LCDC
+ tristate "DRM Support for Freescale i.MX1 and i.MX2"
+ depends on DRM_IMX
+ help
+ Choose this if you have a i.MX1, i.MX21, i.MX25 or i.MX27 processor.
+
+config DRM_IMX_PARALLEL_DISPLAY
+ tristate "Support for parallel displays"
+ depends on DRM_IMX
diff --git a/drivers/gpu/drm/imx/Makefile b/drivers/gpu/drm/imx/Makefile
new file mode 100644
index 0000000..0f7c038
--- /dev/null
+++ b/drivers/gpu/drm/imx/Makefile
@@ -0,0 +1,8 @@
+
+imxdrm-objs := imx-drm-core.o imx-fb.o imx-gem.o
+
+obj-$(CONFIG_DRM_IMX) += imxdrm.o
+
+obj-$(CONFIG_DRM_IMX_PARALLEL_DISPLAY) += imx-parallel-display.o
+obj-$(CONFIG_DRM_IMX_LCDC) += imx-lcdc-crtc.o
+obj-$(CONFIG_DRM_IMX_FB_HELPER) += imx-fbdev.o
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
new file mode 100644
index 0000000..29f5f10
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -0,0 +1,745 @@
+/*
+ * simple drm driver
+ *
+ * Copyright (C) 2011 Sascha Hauer, Pengutronix
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#include <linux/device.h>
+#include <linux/platform_device.h>
+#include <drm/drmP.h>
+#include <drm/drm_fb_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <linux/fb.h>
+#include <asm/fb.h>
+#include <linux/module.h>
+
+#include "imx-drm.h"
+
+#define MAX_CRTC 4
+
+struct imx_drm_device {
+ struct drm_device *drm;
+ struct device *dev;
+ struct list_head crtc_list;
+ struct list_head encoder_list;
+ struct list_head connector_list;
+ struct mutex mutex;
+ int references;
+};
+
+struct imx_drm_crtc {
+ struct drm_crtc *crtc;
+ struct list_head list;
+ struct imx_drm_device *imxdrm;
+ int pipe;
+ struct drm_crtc_helper_funcs crtc_helper_funcs;
+ struct drm_crtc_funcs crtc_funcs;
+ struct imx_drm_crtc_helper_funcs imx_drm_helper_funcs;
+ struct module *owner;
+};
+
+struct imx_drm_encoder {
+ struct drm_encoder *encoder;
+ struct list_head list;
+ struct module *owner;
+};
+
+struct imx_drm_connector {
+ struct drm_connector *connector;
+ struct list_head list;
+ struct module *owner;
+};
+
+static int imx_drm_driver_firstopen(struct drm_device *drm)
+{
+ if (!imx_drm_device_get())
+ return -EINVAL;
+
+ return 0;
+}
+
+static void imx_drm_driver_lastclose(struct drm_device *drm)
+{
+ imx_drm_device_put();
+}
+
+static int imx_drm_driver_unload(struct drm_device *drm)
+{
+ struct imx_drm_device *imxdrm = drm->dev_private;
+
+ drm_mode_config_cleanup(imxdrm->drm);
+ drm_kms_helper_poll_fini(imxdrm->drm);
+
+ return 0;
+}
+
+/*
+ * We don't care at all for crtc numbers, but the core expects the
+ * crtcs to be numbered
+ */
+static struct imx_drm_crtc *imx_drm_crtc_by_num(struct imx_drm_device *imxdrm,
+ int num)
+{
+ struct imx_drm_crtc *imx_drm_crtc;
+
+ list_for_each_entry(imx_drm_crtc, &imxdrm->crtc_list, list)
+ if (imx_drm_crtc->pipe == num)
+ return imx_drm_crtc;
+ return NULL;
+}
+
+int imx_drm_crtc_vblank_get(struct imx_drm_crtc *imx_drm_crtc)
+{
+ return drm_vblank_get(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
+}
+EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_get);
+
+void imx_drm_crtc_vblank_put(struct imx_drm_crtc *imx_drm_crtc)
+{
+ drm_vblank_put(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
+}
+EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_put);
+
+void imx_drm_handle_vblank(struct imx_drm_crtc *imx_drm_crtc)
+{
+ drm_handle_vblank(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
+}
+EXPORT_SYMBOL_GPL(imx_drm_handle_vblank);
+
+static int imx_drm_enable_vblank(struct drm_device *drm, int crtc)
+{
+ struct imx_drm_device *imxdrm = drm->dev_private;
+ struct imx_drm_crtc *imx_drm_crtc;
+ int ret;
+
+ imx_drm_crtc = imx_drm_crtc_by_num(imxdrm, crtc);
+ if (!imx_drm_crtc)
+ return -EINVAL;
+
+ if (!imx_drm_crtc->imx_drm_helper_funcs.enable_vblank)
+ return -ENOSYS;
+
+ ret = imx_drm_crtc->imx_drm_helper_funcs.enable_vblank(imx_drm_crtc->crtc);
+ return ret;
+}
+
+static void imx_drm_disable_vblank(struct drm_device *drm, int crtc)
+{
+ struct imx_drm_device *imxdrm = drm->dev_private;
+ struct imx_drm_crtc *imx_drm_crtc;
+
+ imx_drm_crtc = imx_drm_crtc_by_num(imxdrm, crtc);
+ if (!imx_drm_crtc)
+ return;
+
+ if (!imx_drm_crtc->imx_drm_helper_funcs.disable_vblank)
+ return;
+
+ imx_drm_crtc->imx_drm_helper_funcs.disable_vblank(imx_drm_crtc->crtc);
+}
+
+static struct vm_operations_struct imx_drm_gem_vm_ops = {
+ .fault = imx_drm_gem_fault,
+ .open = drm_gem_vm_open,
+ .close = drm_gem_vm_close,
+};
+
+static const struct file_operations imx_drm_driver_fops = {
+ .owner = THIS_MODULE,
+ .open = drm_open,
+ .release = drm_release,
+ .unlocked_ioctl = drm_ioctl,
+ .mmap = imx_drm_gem_mmap,
+ .poll = drm_poll,
+ .fasync = drm_fasync,
+ .read = drm_read,
+ .llseek = noop_llseek,
+};
+
+static struct imx_drm_device *imx_drm_device;
+
+static struct imx_drm_device *__imx_drm_device(void)
+{
+ return imx_drm_device;
+}
+
+struct drm_device *imx_drm_device_get(void)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ struct imx_drm_encoder *enc;
+ struct imx_drm_connector *con;
+ struct imx_drm_crtc *crtc;
+
+ mutex_lock(&imxdrm->mutex);
+
+ list_for_each_entry(enc, &imxdrm->encoder_list, list) {
+ if (!try_module_get(enc->owner)) {
+ dev_err(imxdrm->dev, "could not get module %s\n",
+ module_name(enc->owner));
+ goto unwind_enc;
+ }
+ }
+
+ list_for_each_entry(con, &imxdrm->connector_list, list) {
+ if (!try_module_get(con->owner)) {
+ dev_err(imxdrm->dev, "could not get module %s\n",
+ module_name(con->owner));
+ goto unwind_con;
+ }
+ }
+
+ list_for_each_entry(crtc, &imxdrm->crtc_list, list) {
+ if (!try_module_get(crtc->owner)) {
+ dev_err(imxdrm->dev, "could not get module %s\n",
+ module_name(crtc->owner));
+ goto unwind_crtc;
+ }
+ }
+
+ imxdrm->references++;
+
+ mutex_unlock(&imxdrm->mutex);
+
+ return imx_drm_device->drm;
+
+unwind_crtc:
+ list_for_each_entry_continue_reverse(crtc, &imxdrm->crtc_list, list)
+ module_put(crtc->owner);
+unwind_con:
+ list_for_each_entry_continue_reverse(con, &imxdrm->connector_list, list)
+ module_put(con->owner);
+unwind_enc:
+ list_for_each_entry_continue_reverse(enc, &imxdrm->encoder_list, list)
+ module_put(enc->owner);
+
+ mutex_unlock(&imxdrm->mutex);
+
+ return NULL;
+
+}
+EXPORT_SYMBOL_GPL(imx_drm_device_get);
+
+void imx_drm_device_put(void)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ struct imx_drm_encoder *enc;
+ struct imx_drm_connector *con;
+ struct imx_drm_crtc *crtc;
+
+ mutex_lock(&imxdrm->mutex);
+
+ list_for_each_entry(crtc, &imxdrm->crtc_list, list)
+ module_put(crtc->owner);
+
+ list_for_each_entry(con, &imxdrm->connector_list, list)
+ module_put(con->owner);
+
+ list_for_each_entry(enc, &imxdrm->encoder_list, list)
+ module_put(enc->owner);
+
+ imxdrm->references--;
+
+ mutex_unlock(&imxdrm->mutex);
+}
+EXPORT_SYMBOL_GPL(imx_drm_device_put);
+
+static int drm_mode_group_reinit(struct drm_device *dev)
+{
+ struct drm_mode_group *group = &dev->primary->mode_group;
+ uint32_t *id_list = group->id_list;
+ int ret;
+
+ ret = drm_mode_group_init_legacy_group(dev, group);
+ if (ret < 0)
+ return ret;
+
+ kfree(id_list);
+ return 0;
+}
+
+/*
+ * register an encoder to the drm core
+ */
+static int imx_drm_encoder_register(struct imx_drm_encoder *imx_drm_encoder)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+
+ drm_encoder_init(imxdrm->drm, imx_drm_encoder->encoder,
+ imx_drm_encoder->encoder->funcs,
+ DRM_MODE_ENCODER_TMDS);
+
+ drm_mode_group_reinit(imxdrm->drm);
+
+ return 0;
+}
+
+/*
+ * unregister an encoder from the drm core
+ */
+static void imx_drm_encoder_unregister(struct imx_drm_encoder *imx_drm_encoder)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+
+ drm_encoder_cleanup(imx_drm_encoder->encoder);
+
+ drm_mode_group_reinit(imxdrm->drm);
+}
+
+/*
+ * register a connector to the drm core
+ */
+static int imx_drm_connector_register(struct imx_drm_connector *imx_drm_connector)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ int ret;
+
+ drm_connector_init(imxdrm->drm, imx_drm_connector->connector,
+ imx_drm_connector->connector->funcs,
+ DRM_MODE_CONNECTOR_VGA);
+ drm_mode_group_reinit(imxdrm->drm);
+ ret = drm_sysfs_connector_add(imx_drm_connector->connector);
+ if (ret)
+ goto err;
+
+ return 0;
+err:
+
+ return ret;
+}
+
+/*
+ * unregister a connector from the drm core
+ */
+static void imx_drm_connector_unregister(struct imx_drm_connector *imx_drm_connector)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+
+ drm_sysfs_connector_remove(imx_drm_connector->connector);
+ drm_connector_cleanup(imx_drm_connector->connector);
+
+ drm_mode_group_reinit(imxdrm->drm);
+}
+
+/*
+ * register a crtc to the drm core
+ */
+static int imx_drm_crtc_register(struct imx_drm_crtc *imx_drm_crtc)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ int ret;
+
+ drm_crtc_init(imxdrm->drm, imx_drm_crtc->crtc, &imx_drm_crtc->crtc_funcs);
+ ret = drm_mode_crtc_set_gamma_size(imx_drm_crtc->crtc, 256);
+ if (ret)
+ return ret;
+
+ drm_crtc_helper_add(imx_drm_crtc->crtc, &imx_drm_crtc->crtc_helper_funcs);
+
+ return 0;
+}
+
+/*
+ * Called by the CRTC driver when all CRTCs are registered. This
+ * puts all the pieces together and initializes the driver.
+ * Once this is called no more CRTCs can be registered since
+ * the drm core has hardcoded the number of crtcs in several
+ * places.
+ */
+static int imx_drm_driver_load(struct drm_device *drm, unsigned long flags)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ int ret;
+
+ imxdrm->drm = drm;
+
+ drm->dev_private = imxdrm;
+
+ /*
+ * enable drm irq mode.
+ * - with irq_enabled = 1, we can use the vblank feature.
+ *
+ * P.S. note that we wouldn't use drm irq handler but
+ * just specific driver own one instead because
+ * drm framework supports only one irq handler and
+ * drivers can well take care of their interrupts
+ */
+ drm->irq_enabled = 1;
+
+ drm_mode_config_init(drm);
+ imx_drm_mode_config_init(drm);
+
+ mutex_lock(&imxdrm->mutex);
+
+ drm_kms_helper_poll_init(imxdrm->drm);
+
+ /* setup the grouping for the legacy output */
+ ret = drm_mode_group_init_legacy_group(imxdrm->drm,
+ &imxdrm->drm->primary->mode_group);
+ if (ret)
+ goto err_init;
+
+ ret = drm_vblank_init(imxdrm->drm, MAX_CRTC);
+ if (ret)
+ goto err_init;
+
+ /*
+ * with vblank_disable_allowed = 1, vblank interrupt will be disabled
+ * by drm timer once a current process gives up ownership of
+ * vblank event.(after drm_vblank_put function is called)
+ */
+ imxdrm->drm->vblank_disable_allowed = 1;
+
+ ret = 0;
+
+err_init:
+ mutex_unlock(&imxdrm->mutex);
+
+ return ret;
+}
+
+/*
+ * imx_drm_add_crtc - add a new crtc
+ *
+ * The return value if !NULL is a cookie for the caller to pass to
+ * imx_drm_remove_crtc later.
+ */
+int imx_drm_add_crtc(struct drm_crtc *crtc,
+ struct imx_drm_crtc **new_crtc,
+ const struct drm_crtc_funcs *crtc_funcs,
+ const struct drm_crtc_helper_funcs *crtc_helper_funcs,
+ const struct imx_drm_crtc_helper_funcs *imx_drm_helper_funcs,
+ struct module *owner)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ struct imx_drm_crtc *imx_drm_crtc;
+ int ret;
+
+ mutex_lock(&imxdrm->mutex);
+
+ if (imxdrm->references) {
+ ret = -EBUSY;
+ goto err_busy;
+ }
+
+ imx_drm_crtc = kzalloc(sizeof(*imx_drm_crtc), GFP_KERNEL);
+ if (!imx_drm_crtc) {
+ ret = -ENOMEM;
+ goto err_alloc;
+ }
+
+ imx_drm_crtc->crtc_funcs = *crtc_funcs;
+ imx_drm_crtc->crtc_helper_funcs = *crtc_helper_funcs;
+ imx_drm_crtc->imx_drm_helper_funcs = *imx_drm_helper_funcs;
+
+ WARN_ON(crtc_funcs->set_config);
+ WARN_ON(crtc_funcs->destroy);
+
+ imx_drm_crtc->crtc_funcs.set_config = drm_crtc_helper_set_config;
+ imx_drm_crtc->crtc_funcs.destroy = drm_crtc_cleanup;
+
+ imx_drm_crtc->crtc = crtc;
+ imx_drm_crtc->imxdrm = imxdrm;
+
+ imx_drm_crtc->owner = owner;
+
+ list_add_tail(&imx_drm_crtc->list, &imxdrm->crtc_list);
+
+ *new_crtc = imx_drm_crtc;
+
+ ret = imx_drm_crtc_register(imx_drm_crtc);
+ if (ret)
+ goto err_register;
+
+ mutex_unlock(&imxdrm->mutex);
+
+ return 0;
+
+err_register:
+ kfree(imx_drm_crtc);
+err_alloc:
+err_busy:
+ mutex_unlock(&imxdrm->mutex);
+ return ret;
+}
+EXPORT_SYMBOL_GPL(imx_drm_add_crtc);
+
+/*
+ * imx_drm_remove_crtc - remove a crtc
+ */
+int imx_drm_remove_crtc(struct imx_drm_crtc *imx_drm_crtc)
+{
+ struct imx_drm_device *imxdrm = imx_drm_crtc->imxdrm;
+
+ mutex_lock(&imxdrm->mutex);
+
+ drm_crtc_cleanup(imx_drm_crtc->crtc);
+
+ list_del(&imx_drm_crtc->list);
+
+ mutex_unlock(&imxdrm->mutex);
+
+ kfree(imx_drm_crtc);
+
+ return 0;
+}
+EXPORT_SYMBOL_GPL(imx_drm_remove_crtc);
+
+/*
+ * imx_drm_add_encoder - add a new encoder
+ */
+int imx_drm_add_encoder(struct drm_encoder *encoder,
+ struct imx_drm_encoder **newenc, struct module *owner)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ struct imx_drm_encoder *imx_drm_encoder;
+ int ret;
+
+ mutex_lock(&imxdrm->mutex);
+
+ if (imxdrm->references) {
+ ret = -EBUSY;
+ goto err_busy;
+ }
+
+ imx_drm_encoder = kzalloc(sizeof(struct imx_drm_encoder), GFP_KERNEL);
+ if (!imx_drm_encoder) {
+ ret = -ENOMEM;
+ goto err_alloc;
+ }
+
+ imx_drm_encoder->encoder = encoder;
+ imx_drm_encoder->owner = owner;
+
+ ret = imx_drm_encoder_register(imx_drm_encoder);
+ if (ret) {
+ kfree(imx_drm_encoder);
+ ret = -ENOMEM;
+ goto err_register;
+ }
+
+ list_add_tail(&imx_drm_encoder->list, &imxdrm->encoder_list);
+
+ *newenc = imx_drm_encoder;
+
+ mutex_unlock(&imxdrm->mutex);
+
+ return 0;
+
+err_register:
+ kfree(imx_drm_encoder);
+err_alloc:
+err_busy:
+ mutex_unlock(&imxdrm->mutex);
+
+ return ret;
+}
+EXPORT_SYMBOL_GPL(imx_drm_add_encoder);
+
+/*
+ * imx_drm_remove_encoder - remove an encoder
+ */
+int imx_drm_remove_encoder(struct imx_drm_encoder *imx_drm_encoder)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+
+ mutex_lock(&imxdrm->mutex);
+
+ imx_drm_encoder_unregister(imx_drm_encoder);
+
+ list_del(&imx_drm_encoder->list);
+
+ mutex_unlock(&imxdrm->mutex);
+
+ kfree(imx_drm_encoder);
+
+ return 0;
+}
+EXPORT_SYMBOL_GPL(imx_drm_remove_encoder);
+
+/*
+ * imx_drm_add_connector - add a connector
+ */
+int imx_drm_add_connector(struct drm_connector *connector,
+ struct imx_drm_connector **new_con,
+ struct module *owner)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+ struct imx_drm_connector *imx_drm_connector;
+ int ret;
+
+ mutex_lock(&imxdrm->mutex);
+
+ if (imxdrm->references) {
+ ret = -EBUSY;
+ goto err_busy;
+ }
+
+ imx_drm_connector = kzalloc(sizeof(struct imx_drm_connector), GFP_KERNEL);
+ if (!imx_drm_connector) {
+ ret = -ENOMEM;
+ goto err_alloc;
+ }
+
+ imx_drm_connector->connector = connector;
+ imx_drm_connector->owner = owner;
+
+ ret = imx_drm_connector_register(imx_drm_connector);
+ if (ret)
+ goto err_register;
+
+ list_add_tail(&imx_drm_connector->list, &imxdrm->connector_list);
+
+ *new_con = imx_drm_connector;
+
+ mutex_unlock(&imxdrm->mutex);
+
+ return 0;
+
+err_register:
+ kfree(imx_drm_connector);
+err_alloc:
+err_busy:
+ mutex_unlock(&imxdrm->mutex);
+
+ return ret;
+}
+EXPORT_SYMBOL_GPL(imx_drm_add_connector);
+
+/*
+ * imx_drm_remove_connector - remove a connector
+ */
+int imx_drm_remove_connector(struct imx_drm_connector *imx_drm_connector)
+{
+ struct imx_drm_device *imxdrm = __imx_drm_device();
+
+ mutex_lock(&imxdrm->mutex);
+
+ imx_drm_connector_unregister(imx_drm_connector);
+
+ list_del(&imx_drm_connector->list);
+
+ mutex_unlock(&imxdrm->mutex);
+
+ kfree(imx_drm_connector);
+
+ return 0;
+}
+EXPORT_SYMBOL_GPL(imx_drm_remove_connector);
+
+static struct drm_ioctl_desc imx_drm_ioctls[] = {
+ /* none so far */
+};
+
+static struct drm_driver imx_drm_driver = {
+ .driver_features = DRIVER_MODESET | DRIVER_GEM,
+ .load = imx_drm_driver_load,
+ .unload = imx_drm_driver_unload,
+ .firstopen = imx_drm_driver_firstopen,
+ .lastclose = imx_drm_driver_lastclose,
+ .gem_free_object = imx_drm_gem_free_object,
+ .gem_vm_ops = &imx_drm_gem_vm_ops,
+ .dumb_create = imx_drm_gem_dumb_create,
+ .dumb_map_offset = imx_drm_gem_dumb_map_offset,
+ .dumb_destroy = imx_drm_gem_dumb_destroy,
+
+ .get_vblank_counter = drm_vblank_count,
+ .enable_vblank = imx_drm_enable_vblank,
+ .disable_vblank = imx_drm_disable_vblank,
+ .reclaim_buffers = drm_core_reclaim_buffers,
+ .ioctls = imx_drm_ioctls,
+ .num_ioctls = ARRAY_SIZE(imx_drm_ioctls),
+ .fops = &imx_drm_driver_fops,
+ .name = "imx-drm",
+ .desc = "i.MX DRM graphics",
+ .date = "20120507",
+ .major = 1,
+ .minor = 0,
+ .patchlevel = 0,
+};
+
+static int imx_drm_platform_probe(struct platform_device *pdev)
+{
+ imx_drm_device->dev = &pdev->dev;
+
+ return drm_platform_init(&imx_drm_driver, pdev);
+}
+
+static int imx_drm_platform_remove(struct platform_device *pdev)
+{
+ drm_platform_exit(&imx_drm_driver, pdev);
+
+ return 0;
+}
+
+static struct platform_driver imx_drm_pdrv = {
+ .probe = imx_drm_platform_probe,
+ .remove = __devexit_p(imx_drm_platform_remove),
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "imx-drm",
+ },
+};
+
+static struct platform_device *imx_drm_pdev;
+
+static int __init imx_drm_init(void)
+{
+ int ret;
+
+ imx_drm_device = kzalloc(sizeof(*imx_drm_device), GFP_KERNEL);
+ if (!imx_drm_device)
+ return -ENOMEM;
+
+ mutex_init(&imx_drm_device->mutex);
+ INIT_LIST_HEAD(&imx_drm_device->crtc_list);
+ INIT_LIST_HEAD(&imx_drm_device->connector_list);
+ INIT_LIST_HEAD(&imx_drm_device->encoder_list);
+
+ imx_drm_pdev = platform_device_register_simple("imx-drm", -1, NULL, 0);
+ if (!imx_drm_pdev) {
+ ret = -EINVAL;
+ goto err_pdev;
+ }
+
+ imx_drm_pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32),
+
+ ret = platform_driver_register(&imx_drm_pdrv);
+ if (ret)
+ goto err_pdrv;
+
+ return 0;
+
+err_pdev:
+ kfree(imx_drm_device);
+err_pdrv:
+ platform_device_unregister(imx_drm_pdev);
+
+ return ret;
+}
+
+static void __exit imx_drm_exit(void)
+{
+ DRM_DEBUG_DRIVER("%s\n", __FILE__);
+
+ platform_device_unregister(imx_drm_pdev);
+ platform_driver_unregister(&imx_drm_pdrv);
+
+ kfree(imx_drm_device);
+}
+
+module_init(imx_drm_init);
+module_exit(imx_drm_exit);
+
+MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
+MODULE_DESCRIPTION("i.MX drm driver core");
+MODULE_LICENSE("GPL");
diff --git a/drivers/gpu/drm/imx/imx-fb.c b/drivers/gpu/drm/imx/imx-fb.c
new file mode 100644
index 0000000..5a08c86
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-fb.c
@@ -0,0 +1,179 @@
+/*
+ * i.MX drm driver
+ *
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ *
+ * Based on Samsung Exynos code
+ *
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <linux/module.h>
+#include <drm/drmP.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_crtc_helper.h>
+
+#include "imx-drm.h"
+
+#define to_imx_drm_fb(x) container_of(x, struct imx_drm_fb, fb)
+
+/*
+ * imx specific framebuffer structure.
+ *
+ * @fb: drm framebuffer obejct.
+ * @imx_drm_gem_obj: drm ec specific gem object containing a gem object.
+ * @entry: pointer to ec drm buffer entry object.
+ * - containing only the information to physically continuous memory
+ * region allocated at default framebuffer creation.
+ */
+struct imx_drm_fb {
+ struct drm_framebuffer fb;
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+ struct imx_drm_buf_entry *entry;
+};
+
+static void imx_drm_fb_destroy(struct drm_framebuffer *fb)
+{
+ struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
+
+ drm_framebuffer_cleanup(fb);
+
+ /*
+ * default framebuffer has no gem object so
+ * a buffer of the default framebuffer should be released at here.
+ */
+ if (!imx_drm_fb->imx_drm_gem_obj && imx_drm_fb->entry)
+ imx_drm_buf_destroy(fb->dev, imx_drm_fb->entry);
+
+ kfree(imx_drm_fb);
+}
+
+static int imx_drm_fb_create_handle(struct drm_framebuffer *fb,
+ struct drm_file *file_priv, unsigned int *handle)
+{
+ struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
+
+ return drm_gem_handle_create(file_priv,
+ &imx_drm_fb->imx_drm_gem_obj->base, handle);
+}
+
+static struct drm_framebuffer_funcs imx_drm_fb_funcs = {
+ .destroy = imx_drm_fb_destroy,
+ .create_handle = imx_drm_fb_create_handle,
+};
+
+static struct drm_framebuffer *imx_drm_fb_create(struct drm_device *dev,
+ struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd)
+{
+ struct imx_drm_fb *imx_drm_fb;
+ struct drm_framebuffer *fb;
+ struct drm_gem_object *obj;
+ unsigned int size;
+ int ret;
+ u32 bpp, depth;
+
+ drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp);
+
+ mode_cmd->pitches[0] = max(mode_cmd->pitches[0],
+ mode_cmd->width * (bpp >> 3));
+
+ dev_dbg(dev->dev, "drm fb create(%dx%d)\n",
+ mode_cmd->width, mode_cmd->height);
+
+ imx_drm_fb = kzalloc(sizeof(*imx_drm_fb), GFP_KERNEL);
+ if (!imx_drm_fb) {
+ dev_err(dev->dev, "failed to allocate drm framebuffer.\n");
+ return ERR_PTR(-ENOMEM);
+ }
+
+ fb = &imx_drm_fb->fb;
+ ret = drm_framebuffer_init(dev, fb, &imx_drm_fb_funcs);
+ if (ret) {
+ dev_err(dev->dev, "failed to initialize framebuffer.\n");
+ goto err_init;
+ }
+
+ dev_dbg(dev->dev, "create: fb id: %d\n", fb->base.id);
+
+ size = mode_cmd->pitches[0] * mode_cmd->height;
+
+ /*
+ * without file_priv we are called from imx_drm_fbdev_create in which
+ * case we only create a framebuffer without a handle.
+ */
+ if (!file_priv) {
+ struct imx_drm_buf_entry *entry;
+
+ entry = imx_drm_buf_create(dev, size);
+ if (IS_ERR(entry)) {
+ ret = PTR_ERR(entry);
+ goto err_buffer;
+ }
+
+ imx_drm_fb->entry = entry;
+ } else {
+ obj = drm_gem_object_lookup(dev, file_priv, mode_cmd->handles[0]);
+ if (!obj) {
+ ret = -EINVAL;
+ goto err_buffer;
+ }
+
+ imx_drm_fb->imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
+
+ drm_gem_object_unreference_unlocked(obj);
+
+ imx_drm_fb->entry = imx_drm_fb->imx_drm_gem_obj->entry;
+ }
+
+ drm_helper_mode_fill_fb_struct(fb, mode_cmd);
+
+ return fb;
+
+err_buffer:
+ drm_framebuffer_cleanup(fb);
+
+err_init:
+ kfree(imx_drm_fb);
+
+ return ERR_PTR(ret);
+}
+
+struct imx_drm_buf_entry *imx_drm_fb_get_buf(struct drm_framebuffer *fb)
+{
+ struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
+ struct imx_drm_buf_entry *entry;
+
+ entry = imx_drm_fb->entry;
+
+ return entry;
+}
+EXPORT_SYMBOL_GPL(imx_drm_fb_get_buf);
+
+static struct drm_mode_config_funcs imx_drm_mode_config_funcs = {
+ .fb_create = imx_drm_fb_create,
+};
+
+void imx_drm_mode_config_init(struct drm_device *dev)
+{
+ dev->mode_config.min_width = 64;
+ dev->mode_config.min_height = 64;
+
+ /*
+ * set max width and height as default value(4096x4096).
+ * this value would be used to check framebuffer size limitation
+ * at drm_mode_addfb().
+ */
+ dev->mode_config.max_width = 4096;
+ dev->mode_config.max_height = 4096;
+
+ dev->mode_config.funcs = &imx_drm_mode_config_funcs;
+}
diff --git a/drivers/gpu/drm/imx/imx-fbdev.c b/drivers/gpu/drm/imx/imx-fbdev.c
new file mode 100644
index 0000000..f038797
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-fbdev.c
@@ -0,0 +1,275 @@
+/*
+ * i.MX drm driver
+ *
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ *
+ * Based on Samsung Exynos code
+ *
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <linux/module.h>
+#include <drm/drmP.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_fb_helper.h>
+#include <drm/drm_crtc_helper.h>
+
+#include "imx-drm.h"
+
+#define MAX_CONNECTOR 4
+#define PREFERRED_BPP 16
+
+static struct fb_ops imx_drm_fb_ops = {
+ .owner = THIS_MODULE,
+ .fb_fillrect = cfb_fillrect,
+ .fb_copyarea = cfb_copyarea,
+ .fb_imageblit = cfb_imageblit,
+ .fb_check_var = drm_fb_helper_check_var,
+ .fb_set_par = drm_fb_helper_set_par,
+ .fb_blank = drm_fb_helper_blank,
+ .fb_pan_display = drm_fb_helper_pan_display,
+ .fb_setcmap = drm_fb_helper_setcmap,
+};
+
+static int imx_drm_fbdev_update(struct drm_fb_helper *helper,
+ struct drm_framebuffer *fb,
+ unsigned int fb_width,
+ unsigned int fb_height)
+{
+ struct fb_info *fbi = helper->fbdev;
+ struct drm_device *drm = helper->dev;
+ struct imx_drm_buf_entry *entry;
+ unsigned int size = fb_width * fb_height * (fb->bits_per_pixel >> 3);
+ unsigned long offset;
+
+ drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth);
+ drm_fb_helper_fill_var(fbi, helper, fb_width, fb_height);
+
+ entry = imx_drm_fb_get_buf(fb);
+ if (!entry) {
+ dev_dbg(drm->dev, "entry is null.\n");
+ return -EFAULT;
+ }
+
+ offset = fbi->var.xoffset * (fb->bits_per_pixel >> 3);
+ offset += fbi->var.yoffset * fb->pitches[0];
+
+ drm->mode_config.fb_base = entry->paddr;
+ fbi->screen_base = entry->vaddr + offset;
+ fbi->fix.smem_start = entry->paddr + offset;
+ fbi->screen_size = size;
+ fbi->fix.smem_len = size;
+ fbi->flags |= FBINFO_CAN_FORCE_OUTPUT;
+
+ return 0;
+}
+
+static int imx_drm_fbdev_create(struct drm_fb_helper *helper,
+ struct drm_fb_helper_surface_size *sizes)
+{
+ struct drm_device *drm = helper->dev;
+ struct fb_info *fbi;
+ struct drm_framebuffer *fb;
+ struct drm_mode_fb_cmd2 mode_cmd = { 0 };
+ struct platform_device *pdev = drm->platformdev;
+ int ret;
+
+ dev_dbg(drm->dev, "surface width(%d), height(%d) and bpp(%d\n",
+ sizes->surface_width, sizes->surface_height,
+ sizes->surface_bpp);
+
+ mode_cmd.width = sizes->surface_width;
+ mode_cmd.height = sizes->surface_height;
+ mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
+ sizes->surface_depth);
+
+ mutex_lock(&drm->struct_mutex);
+
+ fbi = framebuffer_alloc(0, &pdev->dev);
+ if (!fbi) {
+ ret = -ENOMEM;
+ goto err_fb_alloc;
+ }
+
+ fb = drm->mode_config.funcs->fb_create(drm, NULL, &mode_cmd);
+ if (IS_ERR(fb)) {
+ dev_err(drm->dev, "failed to create drm framebuffer.\n");
+ ret = PTR_ERR(fb);
+ goto err_fb_create;
+ }
+
+ helper->fb = fb;
+ helper->fbdev = fbi;
+
+ fbi->par = helper;
+ fbi->flags = FBINFO_FLAG_DEFAULT;
+ fbi->fbops = &imx_drm_fb_ops;
+
+ ret = fb_alloc_cmap(&fbi->cmap, 256, 0);
+ if (ret)
+ goto err_alloc_cmap;
+
+ ret = imx_drm_fbdev_update(helper, helper->fb, sizes->fb_width,
+ sizes->fb_height);
+ if (ret)
+ goto err_fbdev_update;
+
+ mutex_unlock(&drm->struct_mutex);
+
+ return 0;
+
+err_fbdev_update:
+ fb_dealloc_cmap(&fbi->cmap);
+
+err_alloc_cmap:
+ fb->funcs->destroy(fb);
+
+err_fb_create:
+ framebuffer_release(fbi);
+
+err_fb_alloc:
+ mutex_unlock(&drm->struct_mutex);
+
+ return ret;
+}
+
+static int imx_drm_fbdev_probe(struct drm_fb_helper *helper,
+ struct drm_fb_helper_surface_size *sizes)
+{
+ int ret;
+
+ BUG_ON(helper->fb);
+
+ ret = imx_drm_fbdev_create(helper, sizes);
+ if (ret) {
+ dev_err(helper->dev->dev, "creating fbdev failed with %d\n", ret);
+ return ret;
+ }
+
+ /*
+ * fb_helper expects a value more than 1 if succeed
+ * because register_framebuffer() should be called.
+ */
+ return 1;
+}
+
+static struct drm_fb_helper_funcs imx_drm_fb_helper_funcs = {
+ .fb_probe = imx_drm_fbdev_probe,
+};
+
+static struct drm_fb_helper *imx_drm_fbdev_init(struct drm_device *drm,
+ int preferred_bpp)
+{
+ struct drm_fb_helper *helper;
+ unsigned int num_crtc;
+ int ret;
+
+ helper = kzalloc(sizeof(*helper), GFP_KERNEL);
+ if (!helper)
+ return NULL;
+
+ helper->funcs = &imx_drm_fb_helper_funcs;
+
+ num_crtc = drm->mode_config.num_crtc;
+
+ ret = drm_fb_helper_init(drm, helper, num_crtc, MAX_CONNECTOR);
+ if (ret) {
+ dev_err(drm->dev, "initializing drm fb helper failed with %d\n",
+ ret);
+ goto err_init;
+ }
+
+ ret = drm_fb_helper_single_add_all_connectors(helper);
+ if (ret) {
+ dev_err(drm->dev, "registering drm_fb_helper_connector failed with %d\n",
+ ret);
+ goto err_setup;
+
+ }
+
+ ret = drm_fb_helper_initial_config(helper, preferred_bpp);
+ if (ret) {
+ dev_err(drm->dev, "initial config failed with %d\n", ret);
+ goto err_setup;
+ }
+
+ return helper;
+
+err_setup:
+ drm_fb_helper_fini(helper);
+
+err_init:
+ kfree(helper);
+
+ return NULL;
+}
+
+static void imx_drm_fbdev_fini(struct drm_fb_helper *helper)
+{
+ struct imx_drm_buf_entry *entry;
+
+ if (helper->fbdev) {
+ struct fb_info *info;
+ int ret;
+
+ info = helper->fbdev;
+ ret = unregister_framebuffer(info);
+ if (ret)
+ dev_err(helper->dev->dev, "unregister_framebuffer failed with %d\n",
+ ret);
+
+ if (info->cmap.len)
+ fb_dealloc_cmap(&info->cmap);
+
+ entry = imx_drm_fb_get_buf(helper->fb);
+
+ imx_drm_buf_destroy(helper->dev, entry);
+
+ framebuffer_release(info);
+ }
+
+ drm_fb_helper_fini(helper);
+
+ kfree(helper);
+}
+
+static struct drm_fb_helper *imx_fb_helper;
+
+static int __init imx_fb_helper_init(void)
+{
+ struct drm_device *drm = imx_drm_device_get();
+ int ret;
+
+ if (!drm)
+ return -EINVAL;
+
+ imx_fb_helper = imx_drm_fbdev_init(drm, PREFERRED_BPP);
+ if (!imx_fb_helper) {
+ imx_drm_device_put();
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static void __exit imx_fb_helper_exit(void)
+{
+ imx_drm_fbdev_fini(imx_fb_helper);
+ imx_drm_device_put();
+}
+
+late_initcall(imx_fb_helper_init);
+module_exit(imx_fb_helper_exit);
+
+MODULE_DESCRIPTION("Freescale i.MX legacy fb driver");
+MODULE_AUTHOR("Sascha Hauer, Pengutronix");
+MODULE_LICENSE("GPL");
diff --git a/drivers/gpu/drm/imx/imx-gem.c b/drivers/gpu/drm/imx/imx-gem.c
new file mode 100644
index 0000000..b0866fb
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-gem.c
@@ -0,0 +1,343 @@
+/*
+ * i.MX drm driver
+ *
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ *
+ * Based on Samsung Exynos code
+ *
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <drm/drmP.h>
+#include <drm/drm.h>
+#include <drm/drm_crtc_helper.h>
+
+#include "imx-drm.h"
+
+static int lowlevel_buffer_allocate(struct drm_device *drm,
+ struct imx_drm_buf_entry *entry)
+{
+ entry->vaddr = dma_alloc_writecombine(drm->dev, entry->size,
+ (dma_addr_t *)&entry->paddr, GFP_KERNEL);
+ if (!entry->vaddr) {
+ dev_err(drm->dev, "failed to allocate buffer.\n");
+ return -ENOMEM;
+ }
+
+ dev_dbg(drm->dev, "allocated : vaddr(0x%x), paddr(0x%x), size(0x%x)\n",
+ (unsigned int)entry->vaddr, entry->paddr, entry->size);
+
+ return 0;
+}
+
+static void lowlevel_buffer_free(struct drm_device *drm,
+ struct imx_drm_buf_entry *entry)
+{
+ dma_free_writecombine(drm->dev, entry->size, entry->vaddr,
+ entry->paddr);
+}
+
+struct imx_drm_buf_entry *imx_drm_buf_create(struct drm_device *drm,
+ unsigned int size)
+{
+ struct imx_drm_buf_entry *entry;
+
+ entry = kzalloc(sizeof(*entry), GFP_KERNEL);
+ if (!entry)
+ return ERR_PTR(-ENOMEM);
+
+ entry->size = size;
+
+ /*
+ * allocate memory region with size and set the memory information
+ * to vaddr and paddr of a entry object.
+ */
+ if (lowlevel_buffer_allocate(drm, entry) < 0) {
+ kfree(entry);
+ return ERR_PTR(-ENOMEM);
+ }
+
+ return entry;
+}
+
+void imx_drm_buf_destroy(struct drm_device *drm,
+ struct imx_drm_buf_entry *entry)
+{
+ lowlevel_buffer_free(drm, entry);
+
+ kfree(entry);
+ entry = NULL;
+}
+EXPORT_SYMBOL_GPL(imx_drm_buf_destroy);
+
+static unsigned int convert_to_vm_err_msg(int msg)
+{
+ unsigned int out_msg;
+
+ switch (msg) {
+ case 0:
+ case -ERESTARTSYS:
+ case -EINTR:
+ out_msg = VM_FAULT_NOPAGE;
+ break;
+
+ case -ENOMEM:
+ out_msg = VM_FAULT_OOM;
+ break;
+
+ default:
+ out_msg = VM_FAULT_SIGBUS;
+ break;
+ }
+
+ return out_msg;
+}
+
+static unsigned int get_gem_mmap_offset(struct drm_gem_object *obj)
+{
+ return (unsigned int)obj->map_list.hash.key << PAGE_SHIFT;
+}
+
+static struct imx_drm_gem_obj *imx_drm_gem_create(struct drm_device *drm,
+ unsigned int size)
+{
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+ struct imx_drm_buf_entry *entry;
+ struct drm_gem_object *obj;
+ int ret;
+
+ size = roundup(size, PAGE_SIZE);
+
+ imx_drm_gem_obj = kzalloc(sizeof(*imx_drm_gem_obj), GFP_KERNEL);
+ if (!imx_drm_gem_obj)
+ return ERR_PTR(-ENOMEM);
+
+ /* allocate the new buffer object and memory region. */
+ entry = imx_drm_buf_create(drm, size);
+ if (!entry) {
+ ret = -ENOMEM;
+ goto err_alloc;
+ }
+
+ imx_drm_gem_obj->entry = entry;
+
+ obj = &imx_drm_gem_obj->base;
+
+ ret = drm_gem_object_init(drm, obj, size);
+ if (ret) {
+ dev_err(drm->dev, "initializing GEM object failed with %d\n", ret);
+ goto err_obj_init;
+ }
+
+ ret = drm_gem_create_mmap_offset(obj);
+ if (ret) {
+ dev_err(drm->dev, "creating mmap offset failed with %d\n", ret);
+ goto err_create_mmap_offset;
+ }
+
+ return imx_drm_gem_obj;
+
+err_create_mmap_offset:
+ drm_gem_object_release(obj);
+
+err_obj_init:
+ imx_drm_buf_destroy(drm, imx_drm_gem_obj->entry);
+
+err_alloc:
+ kfree(imx_drm_gem_obj);
+
+ return ERR_PTR(ret);
+}
+
+static struct imx_drm_gem_obj *imx_drm_gem_create_with_handle(struct drm_file *file_priv,
+ struct drm_device *drm, unsigned int size,
+ unsigned int *handle)
+{
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+ struct drm_gem_object *obj;
+ int ret;
+
+ imx_drm_gem_obj = imx_drm_gem_create(drm, size);
+ if (IS_ERR(imx_drm_gem_obj))
+ return imx_drm_gem_obj;
+
+ obj = &imx_drm_gem_obj->base;
+
+ /*
+ * allocate a id of idr table where the obj is registered
+ * and handle has the id what user can see.
+ */
+ ret = drm_gem_handle_create(file_priv, obj, handle);
+ if (ret)
+ goto err_handle_create;
+
+ /* drop reference from allocate - handle holds it now. */
+ drm_gem_object_unreference_unlocked(obj);
+
+ return imx_drm_gem_obj;
+
+err_handle_create:
+ imx_drm_gem_free_object(obj);
+
+ return ERR_PTR(ret);
+}
+
+static int imx_drm_gem_mmap_buffer(struct file *filp,
+ struct vm_area_struct *vma)
+{
+ struct drm_gem_object *obj = filp->private_data;
+ struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
+ struct imx_drm_buf_entry *entry;
+ unsigned long pfn, vm_size;
+
+ vma->vm_flags |= VM_IO | VM_RESERVED;
+
+ vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+ vma->vm_file = filp;
+
+ vm_size = vma->vm_end - vma->vm_start;
+ /*
+ * an entry contains information to physically continuous memory
+ * allocated by user request or at framebuffer creation.
+ */
+ entry = imx_drm_gem_obj->entry;
+
+ /* check if user-requested size is valid. */
+ if (vm_size > entry->size)
+ return -EINVAL;
+
+ /*
+ * get page frame number to physical memory to be mapped
+ * to user space.
+ */
+ pfn = imx_drm_gem_obj->entry->paddr >> PAGE_SHIFT;
+
+ if (remap_pfn_range(vma, vma->vm_start, pfn, vm_size,
+ vma->vm_page_prot)) {
+ dev_err(obj->dev->dev, "failed to remap pfn range.\n");
+ return -EAGAIN;
+ }
+
+ return 0;
+}
+
+static const struct file_operations imx_drm_gem_fops = {
+ .mmap = imx_drm_gem_mmap_buffer,
+};
+
+int imx_drm_gem_init_object(struct drm_gem_object *obj)
+{
+ return 0;
+}
+
+void imx_drm_gem_free_object(struct drm_gem_object *gem_obj)
+{
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+
+ if (gem_obj->map_list.map)
+ drm_gem_free_mmap_offset(gem_obj);
+
+ drm_gem_object_release(gem_obj);
+
+ imx_drm_gem_obj = to_imx_drm_gem_obj(gem_obj);
+
+ imx_drm_buf_destroy(gem_obj->dev, imx_drm_gem_obj->entry);
+
+ kfree(imx_drm_gem_obj);
+}
+
+int imx_drm_gem_dumb_create(struct drm_file *file_priv,
+ struct drm_device *dev, struct drm_mode_create_dumb *args)
+{
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+
+ /* FIXME: This should be configured by the crtc driver */
+ args->pitch = args->width * args->bpp >> 3;
+ args->size = args->pitch * args->height;
+
+ imx_drm_gem_obj = imx_drm_gem_create_with_handle(file_priv, dev, args->size,
+ &args->handle);
+ if (IS_ERR(imx_drm_gem_obj))
+ return PTR_ERR(imx_drm_gem_obj);
+
+ return 0;
+}
+
+int imx_drm_gem_dumb_map_offset(struct drm_file *file_priv,
+ struct drm_device *drm, uint32_t handle, uint64_t *offset)
+{
+ struct imx_drm_gem_obj *imx_drm_gem_obj;
+ struct drm_gem_object *obj;
+
+ mutex_lock(&drm->struct_mutex);
+
+ obj = drm_gem_object_lookup(drm, file_priv, handle);
+ if (!obj) {
+ dev_err(drm->dev, "failed to lookup gem object\n");
+ mutex_unlock(&drm->struct_mutex);
+ return -EINVAL;
+ }
+
+ imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
+
+ *offset = get_gem_mmap_offset(&imx_drm_gem_obj->base);
+
+ drm_gem_object_unreference(obj);
+
+ mutex_unlock(&drm->struct_mutex);
+
+ return 0;
+}
+
+int imx_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
+{
+ struct drm_gem_object *obj = vma->vm_private_data;
+ struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
+ struct drm_device *dev = obj->dev;
+ unsigned long pfn;
+ pgoff_t page_offset;
+ int ret;
+
+ page_offset = ((unsigned long)vmf->virtual_address -
+ vma->vm_start) >> PAGE_SHIFT;
+
+ mutex_lock(&dev->struct_mutex);
+
+ pfn = (imx_drm_gem_obj->entry->paddr >> PAGE_SHIFT) + page_offset;
+
+ ret = vm_insert_mixed(vma, (unsigned long)vmf->virtual_address, pfn);
+
+ mutex_unlock(&dev->struct_mutex);
+
+ return convert_to_vm_err_msg(ret);
+}
+
+int imx_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+ int ret;
+
+ ret = drm_gem_mmap(filp, vma);
+ if (ret)
+ return ret;
+
+ vma->vm_flags &= ~VM_PFNMAP;
+ vma->vm_flags |= VM_MIXEDMAP;
+
+ return ret;
+}
+
+
+int imx_drm_gem_dumb_destroy(struct drm_file *file_priv,
+ struct drm_device *dev, unsigned int handle)
+{
+ return drm_gem_handle_delete(file_priv, handle);
+}
diff --git a/drivers/gpu/drm/imx/imx-lcdc-crtc.c b/drivers/gpu/drm/imx/imx-lcdc-crtc.c
new file mode 100644
index 0000000..e77c015
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-lcdc-crtc.c
@@ -0,0 +1,517 @@
+/*
+ * i.MX LCDC crtc driver
+ *
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <linux/device.h>
+#include <linux/platform_device.h>
+#include <drm/drmP.h>
+#include <drm/drm_fb_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <linux/fb.h>
+#include <linux/clk.h>
+#include <asm/fb.h>
+#include <linux/module.h>
+#include <mach/hardware.h>
+#include <mach/imxfb.h>
+#include <generated/mach-types.h>
+
+#include "imx-drm.h"
+
+#define LCDC_SSA 0x00
+#define LCDC_SIZE 0x04
+#define LCDC_VPW 0x08
+#define LCDC_CPOS 0x0C
+#define LCDC_LCWHB 0x10
+#define LCDC_LCHCC 0x14
+#define LCDC_PCR 0x18
+#define LCDC_HCR 0x1C
+#define LCDC_VCR 0x20
+#define LCDC_POS 0x24
+#define LCDC_LSCR1 0x28
+#define LCDC_PWMR 0x2C
+#define LCDC_DMACR 0x30
+#define LCDC_RMCR 0x34
+#define LCDC_LCDICR 0x38
+#define LCDC_LIER 0x3c
+#define LCDC_LISR 0x40
+
+#define SIZE_XMAX(x) ((((x) >> 4) & 0x3f) << 20)
+
+#define YMAX_MASK (cpu_is_mx1() ? 0x1ff : 0x3ff)
+#define SIZE_YMAX(y) ((y) & YMAX_MASK)
+
+#define VPW_VPW(x) ((x) & 0x3ff)
+
+#define HCR_H_WIDTH(x) (((x) & 0x3f) << 26)
+#define HCR_H_WAIT_1(x) (((x) & 0xff) << 8)
+#define HCR_H_WAIT_2(x) ((x) & 0xff)
+
+#define VCR_V_WIDTH(x) (((x) & 0x3f) << 26)
+#define VCR_V_WAIT_1(x) (((x) & 0xff) << 8)
+#define VCR_V_WAIT_2(x) ((x) & 0xff)
+
+#define RMCR_LCDC_EN_MX1 (1 << 1)
+
+#define RMCR_SELF_REF (1 << 0)
+
+#define LIER_EOF (1 << 1)
+
+struct imx_crtc {
+ struct drm_crtc base;
+ struct imx_drm_crtc *imx_drm_crtc;
+ int di_no;
+ int enabled;
+ void __iomem *regs;
+ u32 pwmr;
+ u32 lscr1;
+ u32 dmacr;
+ u32 pcr;
+ struct clk *clk;
+ struct device *dev;
+ int vblank_enable;
+
+ struct drm_pending_vblank_event *page_flip_event;
+ struct drm_framebuffer *newfb;
+};
+
+#define to_imx_crtc(x) container_of(x, struct imx_crtc, base)
+
+static void imx_crtc_load_lut(struct drm_crtc *crtc)
+{
+}
+
+#define PCR_BPIX_8 (3 << 25)
+#define PCR_BPIX_12 (4 << 25)
+#define PCR_BPIX_16 (5 << 25)
+#define PCR_BPIX_18 (6 << 25)
+#define PCR_END_SEL (1 << 18)
+#define PCR_END_BYTE_SWAP (1 << 17)
+
+const char *fourcc_to_str(u32 fourcc)
+{
+ static char buf[5];
+
+ *(u32 *)buf = fourcc;
+ buf[4] = 0;
+
+ return buf;
+}
+
+static int imx_drm_crtc_set(struct drm_crtc *crtc,
+ struct drm_display_mode *mode)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+ struct drm_framebuffer *fb = crtc->fb;
+ int lower_margin = mode->vsync_start - mode->vdisplay;
+ int upper_margin = mode->vtotal - mode->vsync_end;
+ int vsync_len = mode->vsync_end - mode->vsync_start;
+ int hsync_len = mode->hsync_end - mode->hsync_start;
+ int right_margin = mode->hsync_start - mode->hdisplay;
+ int left_margin = mode->htotal - mode->hsync_end;
+ unsigned long lcd_clk;
+ u32 pcr;
+
+ lcd_clk = clk_get_rate(imx_crtc->clk) / 1000;
+
+ if (!mode->clock)
+ return -EINVAL;
+
+ pcr = DIV_ROUND_CLOSEST(lcd_clk, mode->clock);
+ if (--pcr > 0x3f)
+ pcr = 0x3f;
+
+ switch (fb->pixel_format) {
+ case DRM_FORMAT_XRGB8888:
+ case DRM_FORMAT_ARGB8888:
+ pcr |= PCR_BPIX_18;
+ pcr |= PCR_END_SEL | PCR_END_BYTE_SWAP;
+ break;
+ case DRM_FORMAT_RGB565:
+ if (cpu_is_mx1())
+ pcr |= PCR_BPIX_12;
+ else
+ pcr |= PCR_BPIX_16;
+ break;
+ case DRM_FORMAT_RGB332:
+ pcr |= PCR_BPIX_8;
+ break;
+ default:
+ dev_err(imx_crtc->dev, "unsupported pixel format %s\n",
+ fourcc_to_str(fb->pixel_format));
+ return -EINVAL;
+ }
+
+ /* add sync polarities */
+ pcr |= imx_crtc->pcr & ~(0x3f | (7 << 25));
+
+ dev_dbg(imx_crtc->dev,
+ "xres=%d hsync_len=%d left_margin=%d right_margin=%d\n",
+ mode->hdisplay, hsync_len,
+ left_margin, right_margin);
+ dev_dbg(imx_crtc->dev,
+ "yres=%d vsync_len=%d upper_margin=%d lower_margin=%d\n",
+ mode->vdisplay, vsync_len,
+ upper_margin, lower_margin);
+
+ writel(VPW_VPW(mode->hdisplay * fb->bits_per_pixel / 8 / 4),
+ imx_crtc->regs + LCDC_VPW);
+
+ writel(HCR_H_WIDTH(hsync_len - 1) |
+ HCR_H_WAIT_1(right_margin - 1) |
+ HCR_H_WAIT_2(left_margin - 3),
+ imx_crtc->regs + LCDC_HCR);
+
+ writel(VCR_V_WIDTH(vsync_len) |
+ VCR_V_WAIT_1(lower_margin) |
+ VCR_V_WAIT_2(upper_margin),
+ imx_crtc->regs + LCDC_VCR);
+
+ writel(SIZE_XMAX(mode->hdisplay) | SIZE_YMAX(mode->vdisplay),
+ imx_crtc->regs + LCDC_SIZE);
+
+ writel(pcr, imx_crtc->regs + LCDC_PCR);
+ writel(imx_crtc->pwmr, imx_crtc->regs + LCDC_PWMR);
+ writel(imx_crtc->lscr1, imx_crtc->regs + LCDC_LSCR1);
+ /* reset default */
+ writel(0x00040060, imx_crtc->regs + LCDC_DMACR);
+
+ return 0;
+}
+
+static int imx_drm_set_base(struct drm_crtc *crtc, int x, int y)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+ struct imx_drm_buf_entry *entry;
+ struct drm_framebuffer *fb = crtc->fb;
+ unsigned long phys;
+
+ entry = imx_drm_fb_get_buf(fb);
+ if (!entry)
+ return -EFAULT;
+
+ phys = entry->paddr;
+ phys += x * (fb->bits_per_pixel >> 3);
+ phys += y * fb->pitches[0];
+
+ dev_dbg(imx_crtc->dev, "%s: phys: 0x%lx\n", __func__, phys);
+ dev_dbg(imx_crtc->dev, "%s: xy: %dx%d\n", __func__, x, y);
+
+ writel(phys, imx_crtc->regs + LCDC_SSA);
+
+ return 0;
+}
+
+static int imx_crtc_mode_set(struct drm_crtc *crtc,
+ struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode,
+ int x, int y,
+ struct drm_framebuffer *old_fb)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ imx_drm_set_base(crtc, x, y);
+
+ dev_dbg(imx_crtc->dev, "mode->hdisplay: %d\n", mode->hdisplay);
+ dev_dbg(imx_crtc->dev, "mode->vdisplay: %d\n", mode->vdisplay);
+
+ return imx_drm_crtc_set(crtc, mode);
+}
+
+static void imx_crtc_enable(struct imx_crtc *imx_crtc)
+{
+ if (!imx_crtc->enabled)
+ clk_enable(imx_crtc->clk);
+ imx_crtc->enabled = 1;
+}
+
+static void imx_crtc_disable(struct imx_crtc *imx_crtc)
+{
+ if (imx_crtc->enabled)
+ clk_disable(imx_crtc->clk);
+ imx_crtc->enabled = 0;
+}
+
+static void imx_crtc_dpms(struct drm_crtc *crtc, int mode)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ dev_dbg(imx_crtc->dev, "%s mode: %d\n", __func__, mode);
+
+ switch (mode) {
+ case DRM_MODE_DPMS_ON:
+ imx_crtc_enable(imx_crtc);
+ break;
+ default:
+ imx_crtc_disable(imx_crtc);
+ break;
+ }
+}
+
+static bool imx_crtc_mode_fixup(struct drm_crtc *crtc,
+ struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode)
+{
+ return true;
+}
+
+static void imx_crtc_prepare(struct drm_crtc *crtc)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ imx_crtc_disable(imx_crtc);
+}
+
+static void imx_crtc_commit(struct drm_crtc *crtc)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ imx_crtc_enable(imx_crtc);
+}
+
+static struct drm_crtc_helper_funcs imx_helper_funcs = {
+ .dpms = imx_crtc_dpms,
+ .mode_fixup = imx_crtc_mode_fixup,
+ .mode_set = imx_crtc_mode_set,
+ .prepare = imx_crtc_prepare,
+ .commit = imx_crtc_commit,
+ .load_lut = imx_crtc_load_lut,
+};
+
+static void imx_drm_handle_pageflip(struct imx_crtc *imx_crtc)
+{
+ struct drm_pending_vblank_event *e;
+ struct timeval now;
+ unsigned long flags;
+ struct drm_device *drm = imx_crtc->base.dev;
+
+ spin_lock_irqsave(&drm->event_lock, flags);
+
+ e = imx_crtc->page_flip_event;
+
+ if (!e) {
+ spin_unlock_irqrestore(&drm->event_lock, flags);
+ return;
+ }
+
+ do_gettimeofday(&now);
+ e->event.sequence = 0;
+ e->event.tv_sec = now.tv_sec;
+ e->event.tv_usec = now.tv_usec;
+ imx_crtc->page_flip_event = NULL;
+
+ list_add_tail(&e->base.link, &e->base.file_priv->event_list);
+
+ wake_up_interruptible(&e->base.file_priv->event_wait);
+
+ spin_unlock_irqrestore(&drm->event_lock, flags);
+}
+
+static int imx_crtc_enable_vblank(struct drm_crtc *crtc)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ writel(LIER_EOF, imx_crtc->regs + LCDC_LIER);
+
+ return 0;
+}
+
+static void imx_crtc_disable_vblank(struct drm_crtc *crtc)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ writel(0, imx_crtc->regs + LCDC_LIER);
+}
+
+static irqreturn_t imx_irq_handler(int irq, void *dev_id)
+{
+ struct imx_crtc *imx_crtc = dev_id;
+ struct drm_device *drm = imx_crtc->base.dev;
+
+ /* Acknowledge interrupt */
+ readl(imx_crtc->regs + LCDC_LISR);
+
+ drm_handle_vblank(drm, 0);
+
+ if (imx_crtc->newfb) {
+ imx_crtc->base.fb = imx_crtc->newfb;
+ imx_crtc->newfb = NULL;
+ imx_drm_set_base(&imx_crtc->base, 0, 0);
+ imx_drm_handle_pageflip(imx_crtc);
+ imx_drm_crtc_vblank_put(imx_crtc->imx_drm_crtc);
+ }
+
+ return IRQ_HANDLED;
+}
+
+static int imx_page_flip(struct drm_crtc *crtc,
+ struct drm_framebuffer *fb,
+ struct drm_pending_vblank_event *event)
+{
+ struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
+
+ if (imx_crtc->newfb)
+ return -EBUSY;
+
+ imx_crtc->newfb = fb;
+ imx_crtc->page_flip_event = event;
+ imx_drm_crtc_vblank_get(imx_crtc->imx_drm_crtc);
+
+ return 0;
+}
+
+static const struct drm_crtc_funcs imx_crtc_funcs = {
+ .page_flip = imx_page_flip,
+};
+
+static const struct imx_drm_crtc_helper_funcs imx_imx_drm_helper = {
+ .enable_vblank = imx_crtc_enable_vblank,
+ .disable_vblank = imx_crtc_disable_vblank,
+};
+
+#define DRIVER_NAME "imx-lcdc-crtc"
+
+/*
+ * the pcr bits to be allowed to set in platform data
+ */
+#define PDATA_PCR (PCR_PIXPOL | PCR_FLMPOL | PCR_LPPOL | \
+ PCR_CLKPOL | PCR_OEPOL | PCR_TFT | PCR_COLOR | \
+ PCR_PBSIZ_8 | PCR_ACD(0x7f) | PCR_ACD_SEL | \
+ PCR_SCLK_SEL | PCR_SHARP)
+
+static int __devinit imx_crtc_probe(struct platform_device *pdev)
+{
+ struct imx_crtc *imx_crtc;
+ struct resource *res;
+ int ret, irq;
+ u32 pcr_value = 0xf00080c0;
+ u32 lscr1_value = 0x00120300;
+ u32 pwmr_value = 0x00a903ff;
+
+ imx_crtc = devm_kzalloc(&pdev->dev, sizeof(*imx_crtc), GFP_KERNEL);
+ if (!imx_crtc)
+ return -ENOMEM;
+
+ imx_crtc->dev = &pdev->dev;
+
+ res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+ if (!res)
+ return -ENODEV;
+
+ res = devm_request_mem_region(&pdev->dev, res->start,
+ resource_size(res), DRIVER_NAME);
+ if (!res)
+ return -EBUSY;
+
+ imx_crtc->regs = devm_ioremap(&pdev->dev, res->start,
+ resource_size(res));
+ if (!imx_crtc->regs) {
+ dev_err(&pdev->dev, "Cannot map frame buffer registers\n");
+ return -EBUSY;
+ }
+
+ irq = platform_get_irq(pdev, 0);
+ ret = devm_request_irq(&pdev->dev, irq, imx_irq_handler, 0, "imx_drm",
+ imx_crtc);
+ if (ret < 0) {
+ dev_err(&pdev->dev, "irq request failed with %d\n", ret);
+ return ret;
+ }
+
+ imx_crtc->clk = clk_get(&pdev->dev, NULL);
+ if (IS_ERR(imx_crtc->clk)) {
+ ret = PTR_ERR(imx_crtc->clk);
+ dev_err(&pdev->dev, "unable to get clock: %d\n", ret);
+ return ret;
+ }
+
+ clk_prepare_enable(imx_crtc->clk);
+ imx_crtc->enabled = 1;
+
+ platform_set_drvdata(pdev, imx_crtc);
+
+ imx_crtc->pcr = pcr_value & PDATA_PCR;
+
+ if (imx_crtc->pcr != pcr_value)
+ dev_err(&pdev->dev, "invalid bits set in pcr: 0x%08x\n",
+ pcr_value & ~PDATA_PCR);
+
+ imx_crtc->lscr1 = lscr1_value;
+ imx_crtc->pwmr = pwmr_value;
+
+ ret = imx_drm_add_crtc(&imx_crtc->base,
+ &imx_crtc->imx_drm_crtc,
+ &imx_crtc_funcs, &imx_helper_funcs,
+ &imx_imx_drm_helper, THIS_MODULE);
+ if (ret)
+ goto err_init;
+
+ dev_info(&pdev->dev, "probed\n");
+
+ return 0;
+
+err_init:
+ clk_disable_unprepare(imx_crtc->clk);
+ clk_put(imx_crtc->clk);
+
+ return ret;
+}
+
+static int __devexit imx_crtc_remove(struct platform_device *pdev)
+{
+ struct imx_crtc *imx_crtc = platform_get_drvdata(pdev);
+
+ imx_drm_remove_crtc(imx_crtc->imx_drm_crtc);
+
+ writel(0, imx_crtc->regs + LCDC_LIER);
+
+ clk_disable_unprepare(imx_crtc->clk);
+ clk_put(imx_crtc->clk);
+
+ platform_set_drvdata(pdev, NULL);
+
+ return 0;
+}
+
+static const struct of_device_id imx_lcdc_dt_ids[] = {
+ { .compatible = "fsl,imx1-lcdc", .data = NULL, },
+ { .compatible = "fsl,imx21-lcdc", .data = NULL, },
+ { /* sentinel */ }
+};
+
+static struct platform_driver imx_crtc_driver = {
+ .remove = __devexit_p(imx_crtc_remove),
+ .probe = imx_crtc_probe,
+ .driver = {
+ .name = DRIVER_NAME,
+ .owner = THIS_MODULE,
+ .of_match_table = imx_lcdc_dt_ids,
+ },
+};
+
+static int __init imx_lcdc_init(void)
+{
+ return platform_driver_register(&imx_crtc_driver);
+}
+
+static void __exit imx_lcdc_exit(void)
+{
+ platform_driver_unregister(&imx_crtc_driver);
+}
+
+module_init(imx_lcdc_init);
+module_exit(imx_lcdc_exit)
+
+MODULE_DESCRIPTION("Freescale i.MX framebuffer driver");
+MODULE_AUTHOR("Sascha Hauer, Pengutronix");
+MODULE_LICENSE("GPL");
diff --git a/drivers/gpu/drm/imx/imx-parallel-display.c b/drivers/gpu/drm/imx/imx-parallel-display.c
new file mode 100644
index 0000000..8c96113
--- /dev/null
+++ b/drivers/gpu/drm/imx/imx-parallel-display.c
@@ -0,0 +1,228 @@
+/*
+ * i.MX drm driver - parallel display implementation
+ *
+ * Copyright (C) 2012 Sascha Hauer, Pengutronix
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+
+#include <linux/module.h>
+#include <drm/drmP.h>
+#include <drm/drm_fb_helper.h>
+#include <drm/drm_crtc_helper.h>
+
+#include "imx-drm.h"
+
+#define con_to_imxpd(x) container_of(x, struct imx_parallel_display, connector)
+#define enc_to_imxpd(x) container_of(x, struct imx_parallel_display, encoder)
+
+struct imx_parallel_display {
+ struct drm_connector connector;
+ struct imx_drm_connector *imx_drm_connector;
+ struct drm_encoder encoder;
+ struct imx_drm_encoder *imx_drm_encoder;
+ struct device *dev;
+ void *edid;
+ int edid_len;
+};
+
+static enum drm_connector_status imx_pd_connector_detect(struct drm_connector *connector,
+ bool force)
+{
+ return connector_status_connected;
+}
+
+static void imx_pd_connector_destroy(struct drm_connector *connector)
+{
+ /* do not free here */
+}
+
+static int imx_pd_connector_get_modes(struct drm_connector *connector)
+{
+ struct imx_parallel_display *imxpd = con_to_imxpd(connector);
+ int ret;
+
+ drm_mode_connector_update_edid_property(connector, imxpd->edid);
+ ret = drm_add_edid_modes(connector, imxpd->edid);
+ connector->display_info.raw_edid = NULL;
+
+ return ret;
+}
+
+static int imx_pd_connector_mode_valid(struct drm_connector *connector,
+ struct drm_display_mode *mode)
+{
+ return 0;
+}
+
+static struct drm_encoder *imx_pd_connector_best_encoder(struct drm_connector *connector)
+{
+ struct imx_parallel_display *imxpd = con_to_imxpd(connector);
+
+ return &imxpd->encoder;
+}
+
+static void imx_pd_encoder_dpms(struct drm_encoder *encoder, int mode)
+{
+}
+
+static bool imx_pd_encoder_mode_fixup(struct drm_encoder *encoder,
+ struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode)
+{
+ return true;
+}
+
+static void imx_pd_encoder_prepare(struct drm_encoder *encoder)
+{
+}
+
+static void imx_pd_encoder_commit(struct drm_encoder *encoder)
+{
+}
+
+static void imx_pd_encoder_mode_set(struct drm_encoder *encoder,
+ struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode)
+{
+}
+
+static void imx_pd_encoder_disable(struct drm_encoder *encoder)
+{
+}
+
+static void imx_pd_encoder_destroy(struct drm_encoder *encoder)
+{
+ /* do not free here */
+}
+
+struct drm_connector_funcs imx_pd_connector_funcs = {
+ .dpms = drm_helper_connector_dpms,
+ .fill_modes = drm_helper_probe_single_connector_modes,
+ .detect = imx_pd_connector_detect,
+ .destroy = imx_pd_connector_destroy,
+};
+
+struct drm_connector_helper_funcs imx_pd_connector_helper_funcs = {
+ .get_modes = imx_pd_connector_get_modes,
+ .best_encoder = imx_pd_connector_best_encoder,
+ .mode_valid = imx_pd_connector_mode_valid,
+};
+
+static struct drm_encoder_funcs imx_pd_encoder_funcs = {
+ .destroy = imx_pd_encoder_destroy,
+};
+
+static struct drm_encoder_helper_funcs imx_pd_encoder_helper_funcs = {
+ .dpms = imx_pd_encoder_dpms,
+ .mode_fixup = imx_pd_encoder_mode_fixup,
+ .prepare = imx_pd_encoder_prepare,
+ .commit = imx_pd_encoder_commit,
+ .mode_set = imx_pd_encoder_mode_set,
+ .disable = imx_pd_encoder_disable,
+};
+
+static int imx_pd_register(struct imx_parallel_display *imxpd)
+{
+ int ret;
+
+ drm_mode_connector_attach_encoder(&imxpd->connector, &imxpd->encoder);
+
+ imxpd->connector.funcs = &imx_pd_connector_funcs;
+ imxpd->encoder.funcs = &imx_pd_encoder_funcs;
+
+ drm_encoder_helper_add(&imxpd->encoder, &imx_pd_encoder_helper_funcs);
+ ret = imx_drm_add_encoder(&imxpd->encoder, &imxpd->imx_drm_encoder, THIS_MODULE);
+ if (ret) {
+ dev_err(imxpd->dev, "adding encoder failed with %d\n", ret);
+ return ret;
+ }
+
+ drm_connector_helper_add(&imxpd->connector, &imx_pd_connector_helper_funcs);
+
+ ret = imx_drm_add_connector(&imxpd->connector, &imxpd->imx_drm_connector,
+ THIS_MODULE);
+ if (ret) {
+ imx_drm_remove_encoder(imxpd->imx_drm_encoder);
+ dev_err(imxpd->dev, "adding connector failed with %d\n", ret);
+ return ret;
+ }
+
+ imxpd->connector.encoder = &imxpd->encoder;
+
+ return 0;
+}
+
+static int __devinit imx_pd_probe(struct platform_device *pdev)
+{
+ struct device_node *np = pdev->dev.of_node;
+ const u8 *edidp;
+ struct imx_parallel_display *imxpd;
+ int ret;
+
+ imxpd = devm_kzalloc(&pdev->dev, sizeof(*imxpd), GFP_KERNEL);
+ if (!imxpd)
+ return -ENOMEM;
+
+ edidp = of_get_property(np, "edid", &imxpd->edid_len);
+
+ imxpd->edid = kmemdup(edidp, imxpd->edid_len, GFP_KERNEL);
+ imxpd->encoder.possible_crtcs = 0x1;
+ imxpd->encoder.possible_clones = 0x1;
+ imxpd->dev = &pdev->dev;
+
+ ret = imx_pd_register(imxpd);
+ if (ret)
+ return ret;
+
+ platform_set_drvdata(pdev, imxpd);
+
+ return 0;
+}
+
+static int __devexit imx_pd_remove(struct platform_device *pdev)
+{
+ struct imx_parallel_display *imxpd = platform_get_drvdata(pdev);
+ struct drm_connector *connector = &imxpd->connector;
+ struct drm_encoder *encoder = &imxpd->encoder;
+
+ drm_mode_connector_detach_encoder(connector, encoder);
+
+ imx_drm_remove_connector(imxpd->imx_drm_connector);
+ imx_drm_remove_encoder(imxpd->imx_drm_encoder);
+
+ return 0;
+}
+
+static const struct of_device_id imx_pd_dt_ids[] = {
+ { .compatible = "fsl,imx-parallel-display", .data = NULL, },
+ { /* sentinel */ }
+};
+
+static struct platform_driver imx_pd_driver = {
+ .probe = imx_pd_probe,
+ .remove = __devexit_p(imx_pd_remove),
+ .driver = {
+ .of_match_table = imx_pd_dt_ids,
+ .name = "imx-parallel-display",
+ .owner = THIS_MODULE,
+ },
+};
+
+module_platform_driver(imx_pd_driver);
+
+MODULE_DESCRIPTION("i.MX parallel display driver");
+MODULE_AUTHOR("Sascha Hauer, Pengutronix");
+MODULE_LICENSE("GPL");
--
1.7.10
^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver
2012-05-18 12:27 ` [PATCH 1/2] DRM: add Freescale i.MX LCDC driver Sascha Hauer
@ 2012-05-22 21:28 ` Rob Clark
2012-05-23 7:47 ` Sascha Hauer
0 siblings, 1 reply; 35+ messages in thread
From: Rob Clark @ 2012-05-22 21:28 UTC (permalink / raw)
To: Sascha Hauer; +Cc: linux-arm-kernel, dri-devel
just a few comments from a cursory review.. I need a bit more time
for a more in-depth review but that won't be tonight so I thought I'd
send what I have so far..
On Fri, May 18, 2012 at 6:27 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
> drivers/gpu/drm/Kconfig | 2 +
> drivers/gpu/drm/Makefile | 1 +
> drivers/gpu/drm/imx/Kconfig | 18 +
> drivers/gpu/drm/imx/Makefile | 8 +
> drivers/gpu/drm/imx/imx-drm-core.c | 745 ++++++++++++++++++++++++++++
> drivers/gpu/drm/imx/imx-fb.c | 179 +++++++
> drivers/gpu/drm/imx/imx-fbdev.c | 275 ++++++++++
> drivers/gpu/drm/imx/imx-gem.c | 343 +++++++++++++
> drivers/gpu/drm/imx/imx-lcdc-crtc.c | 517 +++++++++++++++++++
> drivers/gpu/drm/imx/imx-parallel-display.c | 228 +++++++++
> 10 files changed, 2316 insertions(+)
> create mode 100644 drivers/gpu/drm/imx/Kconfig
> create mode 100644 drivers/gpu/drm/imx/Makefile
> create mode 100644 drivers/gpu/drm/imx/imx-drm-core.c
> create mode 100644 drivers/gpu/drm/imx/imx-fb.c
> create mode 100644 drivers/gpu/drm/imx/imx-fbdev.c
> create mode 100644 drivers/gpu/drm/imx/imx-gem.c
> create mode 100644 drivers/gpu/drm/imx/imx-lcdc-crtc.c
> create mode 100644 drivers/gpu/drm/imx/imx-parallel-display.c
>
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index e354bc0..759502c 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -186,3 +186,5 @@ source "drivers/gpu/drm/vmwgfx/Kconfig"
> source "drivers/gpu/drm/gma500/Kconfig"
>
> source "drivers/gpu/drm/udl/Kconfig"
> +
> +source "drivers/gpu/drm/imx/Kconfig"
> diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
> index c20da5b..6569d8d 100644
> --- a/drivers/gpu/drm/Makefile
> +++ b/drivers/gpu/drm/Makefile
> @@ -42,4 +42,5 @@ obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
> obj-$(CONFIG_DRM_EXYNOS) +=exynos/
> obj-$(CONFIG_DRM_GMA500) += gma500/
> obj-$(CONFIG_DRM_UDL) += udl/
> +obj-$(CONFIG_DRM_IMX) += imx/
> obj-y += i2c/
> diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx/Kconfig
> new file mode 100644
> index 0000000..5fc3a44
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/Kconfig
> @@ -0,0 +1,18 @@
> +config DRM_IMX
> + tristate "DRM Support for Freescale i.MX"
> + select DRM_KMS_HELPER
> + depends on DRM && ARCH_MXC
> +
> +config DRM_IMX_FB_HELPER
> + tristate "provide legacy framebuffer /dev/fb0"
> + depends on DRM_IMX
> +
> +config DRM_IMX_LCDC
> + tristate "DRM Support for Freescale i.MX1 and i.MX2"
> + depends on DRM_IMX
> + help
> + Choose this if you have a i.MX1, i.MX21, i.MX25 or i.MX27 processor.
do you have something like cpu_is_imx2() type macros? It would be
preferable not to have a compile time config option for building for
certain hw versions. Ie. on OMAP we could do something like 'if
(cpu_is_omap3xxx()) { ... }' if there was something that needed to be
done different on omap3 family of devices. This way you could choose
to build a kernel supporting either a single omap variants, or all
omap variants.
> +
> +config DRM_IMX_PARALLEL_DISPLAY
> + tristate "Support for parallel displays"
> + depends on DRM_IMX
> diff --git a/drivers/gpu/drm/imx/Makefile b/drivers/gpu/drm/imx/Makefile
> new file mode 100644
> index 0000000..0f7c038
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/Makefile
> @@ -0,0 +1,8 @@
> +
> +imxdrm-objs := imx-drm-core.o imx-fb.o imx-gem.o
> +
> +obj-$(CONFIG_DRM_IMX) += imxdrm.o
> +
> +obj-$(CONFIG_DRM_IMX_PARALLEL_DISPLAY) += imx-parallel-display.o
> +obj-$(CONFIG_DRM_IMX_LCDC) += imx-lcdc-crtc.o
> +obj-$(CONFIG_DRM_IMX_FB_HELPER) += imx-fbdev.o
> diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
> new file mode 100644
> index 0000000..29f5f10
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-drm-core.c
> @@ -0,0 +1,745 @@
> +/*
> + * simple drm driver
> + *
> + * Copyright (C) 2011 Sascha Hauer, Pengutronix
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + */
> +
> +#include <linux/device.h>
> +#include <linux/platform_device.h>
> +#include <drm/drmP.h>
> +#include <drm/drm_fb_helper.h>
> +#include <drm/drm_crtc_helper.h>
> +#include <linux/fb.h>
> +#include <asm/fb.h>
> +#include <linux/module.h>
> +
> +#include "imx-drm.h"
> +
> +#define MAX_CRTC 4
> +
> +struct imx_drm_device {
> + struct drm_device *drm;
> + struct device *dev;
> + struct list_head crtc_list;
> + struct list_head encoder_list;
> + struct list_head connector_list;
> + struct mutex mutex;
> + int references;
> +};
> +
> +struct imx_drm_crtc {
> + struct drm_crtc *crtc;
> + struct list_head list;
> + struct imx_drm_device *imxdrm;
> + int pipe;
> + struct drm_crtc_helper_funcs crtc_helper_funcs;
> + struct drm_crtc_funcs crtc_funcs;
> + struct imx_drm_crtc_helper_funcs imx_drm_helper_funcs;
> + struct module *owner;
> +};
> +
> +struct imx_drm_encoder {
> + struct drm_encoder *encoder;
> + struct list_head list;
> + struct module *owner;
> +};
> +
> +struct imx_drm_connector {
> + struct drm_connector *connector;
> + struct list_head list;
> + struct module *owner;
> +};
> +
> +static int imx_drm_driver_firstopen(struct drm_device *drm)
> +{
> + if (!imx_drm_device_get())
> + return -EINVAL;
> +
> + return 0;
> +}
> +
> +static void imx_drm_driver_lastclose(struct drm_device *drm)
> +{
> + imx_drm_device_put();
> +}
> +
> +static int imx_drm_driver_unload(struct drm_device *drm)
> +{
> + struct imx_drm_device *imxdrm = drm->dev_private;
> +
> + drm_mode_config_cleanup(imxdrm->drm);
> + drm_kms_helper_poll_fini(imxdrm->drm);
> +
> + return 0;
> +}
> +
> +/*
> + * We don't care at all for crtc numbers, but the core expects the
> + * crtcs to be numbered
> + */
> +static struct imx_drm_crtc *imx_drm_crtc_by_num(struct imx_drm_device *imxdrm,
> + int num)
> +{
> + struct imx_drm_crtc *imx_drm_crtc;
> +
> + list_for_each_entry(imx_drm_crtc, &imxdrm->crtc_list, list)
> + if (imx_drm_crtc->pipe == num)
> + return imx_drm_crtc;
> + return NULL;
> +}
> +
> +int imx_drm_crtc_vblank_get(struct imx_drm_crtc *imx_drm_crtc)
> +{
> + return drm_vblank_get(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_get);
> +
> +void imx_drm_crtc_vblank_put(struct imx_drm_crtc *imx_drm_crtc)
> +{
> + drm_vblank_put(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_put);
> +
> +void imx_drm_handle_vblank(struct imx_drm_crtc *imx_drm_crtc)
> +{
> + drm_handle_vblank(imx_drm_crtc->imxdrm->drm, imx_drm_crtc->pipe);
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_handle_vblank);
> +
> +static int imx_drm_enable_vblank(struct drm_device *drm, int crtc)
> +{
> + struct imx_drm_device *imxdrm = drm->dev_private;
> + struct imx_drm_crtc *imx_drm_crtc;
> + int ret;
> +
> + imx_drm_crtc = imx_drm_crtc_by_num(imxdrm, crtc);
> + if (!imx_drm_crtc)
> + return -EINVAL;
> +
> + if (!imx_drm_crtc->imx_drm_helper_funcs.enable_vblank)
> + return -ENOSYS;
> +
> + ret = imx_drm_crtc->imx_drm_helper_funcs.enable_vblank(imx_drm_crtc->crtc);
> + return ret;
> +}
> +
> +static void imx_drm_disable_vblank(struct drm_device *drm, int crtc)
> +{
> + struct imx_drm_device *imxdrm = drm->dev_private;
> + struct imx_drm_crtc *imx_drm_crtc;
> +
> + imx_drm_crtc = imx_drm_crtc_by_num(imxdrm, crtc);
> + if (!imx_drm_crtc)
> + return;
> +
> + if (!imx_drm_crtc->imx_drm_helper_funcs.disable_vblank)
> + return;
> +
> + imx_drm_crtc->imx_drm_helper_funcs.disable_vblank(imx_drm_crtc->crtc);
> +}
> +
> +static struct vm_operations_struct imx_drm_gem_vm_ops = {
> + .fault = imx_drm_gem_fault,
> + .open = drm_gem_vm_open,
> + .close = drm_gem_vm_close,
> +};
> +
> +static const struct file_operations imx_drm_driver_fops = {
> + .owner = THIS_MODULE,
> + .open = drm_open,
> + .release = drm_release,
> + .unlocked_ioctl = drm_ioctl,
> + .mmap = imx_drm_gem_mmap,
> + .poll = drm_poll,
> + .fasync = drm_fasync,
> + .read = drm_read,
> + .llseek = noop_llseek,
> +};
> +
> +static struct imx_drm_device *imx_drm_device;
> +
> +static struct imx_drm_device *__imx_drm_device(void)
> +{
> + return imx_drm_device;
> +}
> +
> +struct drm_device *imx_drm_device_get(void)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + struct imx_drm_encoder *enc;
> + struct imx_drm_connector *con;
> + struct imx_drm_crtc *crtc;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + list_for_each_entry(enc, &imxdrm->encoder_list, list) {
> + if (!try_module_get(enc->owner)) {
> + dev_err(imxdrm->dev, "could not get module %s\n",
> + module_name(enc->owner));
> + goto unwind_enc;
> + }
> + }
> +
> + list_for_each_entry(con, &imxdrm->connector_list, list) {
> + if (!try_module_get(con->owner)) {
> + dev_err(imxdrm->dev, "could not get module %s\n",
> + module_name(con->owner));
> + goto unwind_con;
> + }
> + }
> +
> + list_for_each_entry(crtc, &imxdrm->crtc_list, list) {
> + if (!try_module_get(crtc->owner)) {
> + dev_err(imxdrm->dev, "could not get module %s\n",
> + module_name(crtc->owner));
> + goto unwind_crtc;
> + }
> + }
> +
> + imxdrm->references++;
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + return imx_drm_device->drm;
> +
> +unwind_crtc:
> + list_for_each_entry_continue_reverse(crtc, &imxdrm->crtc_list, list)
> + module_put(crtc->owner);
> +unwind_con:
> + list_for_each_entry_continue_reverse(con, &imxdrm->connector_list, list)
> + module_put(con->owner);
> +unwind_enc:
> + list_for_each_entry_continue_reverse(enc, &imxdrm->encoder_list, list)
> + module_put(enc->owner);
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + return NULL;
> +
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_device_get);
> +
> +void imx_drm_device_put(void)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + struct imx_drm_encoder *enc;
> + struct imx_drm_connector *con;
> + struct imx_drm_crtc *crtc;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + list_for_each_entry(crtc, &imxdrm->crtc_list, list)
> + module_put(crtc->owner);
> +
> + list_for_each_entry(con, &imxdrm->connector_list, list)
> + module_put(con->owner);
> +
> + list_for_each_entry(enc, &imxdrm->encoder_list, list)
> + module_put(enc->owner);
> +
> + imxdrm->references--;
> +
> + mutex_unlock(&imxdrm->mutex);
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_device_put);
> +
> +static int drm_mode_group_reinit(struct drm_device *dev)
> +{
> + struct drm_mode_group *group = &dev->primary->mode_group;
> + uint32_t *id_list = group->id_list;
> + int ret;
> +
> + ret = drm_mode_group_init_legacy_group(dev, group);
> + if (ret < 0)
> + return ret;
> +
> + kfree(id_list);
> + return 0;
> +}
> +
> +/*
> + * register an encoder to the drm core
> + */
> +static int imx_drm_encoder_register(struct imx_drm_encoder *imx_drm_encoder)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> +
> + drm_encoder_init(imxdrm->drm, imx_drm_encoder->encoder,
> + imx_drm_encoder->encoder->funcs,
> + DRM_MODE_ENCODER_TMDS);
> +
> + drm_mode_group_reinit(imxdrm->drm);
> +
> + return 0;
> +}
> +
> +/*
> + * unregister an encoder from the drm core
> + */
> +static void imx_drm_encoder_unregister(struct imx_drm_encoder *imx_drm_encoder)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> +
> + drm_encoder_cleanup(imx_drm_encoder->encoder);
> +
> + drm_mode_group_reinit(imxdrm->drm);
> +}
> +
> +/*
> + * register a connector to the drm core
> + */
> +static int imx_drm_connector_register(struct imx_drm_connector *imx_drm_connector)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + int ret;
> +
> + drm_connector_init(imxdrm->drm, imx_drm_connector->connector,
> + imx_drm_connector->connector->funcs,
> + DRM_MODE_CONNECTOR_VGA);
> + drm_mode_group_reinit(imxdrm->drm);
> + ret = drm_sysfs_connector_add(imx_drm_connector->connector);
> + if (ret)
> + goto err;
> +
> + return 0;
> +err:
> +
> + return ret;
> +}
> +
> +/*
> + * unregister a connector from the drm core
> + */
> +static void imx_drm_connector_unregister(struct imx_drm_connector *imx_drm_connector)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> +
> + drm_sysfs_connector_remove(imx_drm_connector->connector);
> + drm_connector_cleanup(imx_drm_connector->connector);
> +
> + drm_mode_group_reinit(imxdrm->drm);
> +}
> +
> +/*
> + * register a crtc to the drm core
> + */
> +static int imx_drm_crtc_register(struct imx_drm_crtc *imx_drm_crtc)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + int ret;
> +
> + drm_crtc_init(imxdrm->drm, imx_drm_crtc->crtc, &imx_drm_crtc->crtc_funcs);
> + ret = drm_mode_crtc_set_gamma_size(imx_drm_crtc->crtc, 256);
> + if (ret)
> + return ret;
> +
> + drm_crtc_helper_add(imx_drm_crtc->crtc, &imx_drm_crtc->crtc_helper_funcs);
> +
> + return 0;
> +}
> +
> +/*
> + * Called by the CRTC driver when all CRTCs are registered. This
> + * puts all the pieces together and initializes the driver.
> + * Once this is called no more CRTCs can be registered since
> + * the drm core has hardcoded the number of crtcs in several
> + * places.
> + */
> +static int imx_drm_driver_load(struct drm_device *drm, unsigned long flags)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + int ret;
> +
> + imxdrm->drm = drm;
> +
> + drm->dev_private = imxdrm;
> +
> + /*
> + * enable drm irq mode.
> + * - with irq_enabled = 1, we can use the vblank feature.
> + *
> + * P.S. note that we wouldn't use drm irq handler but
> + * just specific driver own one instead because
> + * drm framework supports only one irq handler and
> + * drivers can well take care of their interrupts
> + */
> + drm->irq_enabled = 1;
> +
> + drm_mode_config_init(drm);
> + imx_drm_mode_config_init(drm);
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + drm_kms_helper_poll_init(imxdrm->drm);
> +
> + /* setup the grouping for the legacy output */
> + ret = drm_mode_group_init_legacy_group(imxdrm->drm,
> + &imxdrm->drm->primary->mode_group);
> + if (ret)
> + goto err_init;
> +
> + ret = drm_vblank_init(imxdrm->drm, MAX_CRTC);
> + if (ret)
> + goto err_init;
> +
> + /*
> + * with vblank_disable_allowed = 1, vblank interrupt will be disabled
> + * by drm timer once a current process gives up ownership of
> + * vblank event.(after drm_vblank_put function is called)
> + */
> + imxdrm->drm->vblank_disable_allowed = 1;
> +
> + ret = 0;
> +
> +err_init:
> + mutex_unlock(&imxdrm->mutex);
> +
> + return ret;
> +}
> +
> +/*
> + * imx_drm_add_crtc - add a new crtc
> + *
> + * The return value if !NULL is a cookie for the caller to pass to
> + * imx_drm_remove_crtc later.
> + */
> +int imx_drm_add_crtc(struct drm_crtc *crtc,
> + struct imx_drm_crtc **new_crtc,
> + const struct drm_crtc_funcs *crtc_funcs,
> + const struct drm_crtc_helper_funcs *crtc_helper_funcs,
> + const struct imx_drm_crtc_helper_funcs *imx_drm_helper_funcs,
> + struct module *owner)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + struct imx_drm_crtc *imx_drm_crtc;
> + int ret;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + if (imxdrm->references) {
> + ret = -EBUSY;
> + goto err_busy;
> + }
> +
> + imx_drm_crtc = kzalloc(sizeof(*imx_drm_crtc), GFP_KERNEL);
> + if (!imx_drm_crtc) {
> + ret = -ENOMEM;
> + goto err_alloc;
> + }
> +
> + imx_drm_crtc->crtc_funcs = *crtc_funcs;
> + imx_drm_crtc->crtc_helper_funcs = *crtc_helper_funcs;
> + imx_drm_crtc->imx_drm_helper_funcs = *imx_drm_helper_funcs;
> +
> + WARN_ON(crtc_funcs->set_config);
> + WARN_ON(crtc_funcs->destroy);
> +
> + imx_drm_crtc->crtc_funcs.set_config = drm_crtc_helper_set_config;
> + imx_drm_crtc->crtc_funcs.destroy = drm_crtc_cleanup;
> +
> + imx_drm_crtc->crtc = crtc;
> + imx_drm_crtc->imxdrm = imxdrm;
> +
> + imx_drm_crtc->owner = owner;
> +
> + list_add_tail(&imx_drm_crtc->list, &imxdrm->crtc_list);
> +
> + *new_crtc = imx_drm_crtc;
> +
> + ret = imx_drm_crtc_register(imx_drm_crtc);
> + if (ret)
> + goto err_register;
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + return 0;
> +
> +err_register:
> + kfree(imx_drm_crtc);
> +err_alloc:
> +err_busy:
> + mutex_unlock(&imxdrm->mutex);
> + return ret;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_add_crtc);
> +
> +/*
> + * imx_drm_remove_crtc - remove a crtc
> + */
> +int imx_drm_remove_crtc(struct imx_drm_crtc *imx_drm_crtc)
> +{
> + struct imx_drm_device *imxdrm = imx_drm_crtc->imxdrm;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + drm_crtc_cleanup(imx_drm_crtc->crtc);
> +
> + list_del(&imx_drm_crtc->list);
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + kfree(imx_drm_crtc);
> +
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_remove_crtc);
> +
> +/*
> + * imx_drm_add_encoder - add a new encoder
> + */
> +int imx_drm_add_encoder(struct drm_encoder *encoder,
> + struct imx_drm_encoder **newenc, struct module *owner)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + struct imx_drm_encoder *imx_drm_encoder;
> + int ret;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + if (imxdrm->references) {
> + ret = -EBUSY;
> + goto err_busy;
> + }
> +
> + imx_drm_encoder = kzalloc(sizeof(struct imx_drm_encoder), GFP_KERNEL);
> + if (!imx_drm_encoder) {
> + ret = -ENOMEM;
> + goto err_alloc;
> + }
> +
> + imx_drm_encoder->encoder = encoder;
> + imx_drm_encoder->owner = owner;
> +
> + ret = imx_drm_encoder_register(imx_drm_encoder);
> + if (ret) {
> + kfree(imx_drm_encoder);
> + ret = -ENOMEM;
> + goto err_register;
> + }
> +
> + list_add_tail(&imx_drm_encoder->list, &imxdrm->encoder_list);
> +
> + *newenc = imx_drm_encoder;
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + return 0;
> +
> +err_register:
> + kfree(imx_drm_encoder);
> +err_alloc:
> +err_busy:
> + mutex_unlock(&imxdrm->mutex);
> +
> + return ret;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_add_encoder);
> +
> +/*
> + * imx_drm_remove_encoder - remove an encoder
> + */
> +int imx_drm_remove_encoder(struct imx_drm_encoder *imx_drm_encoder)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + imx_drm_encoder_unregister(imx_drm_encoder);
> +
> + list_del(&imx_drm_encoder->list);
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + kfree(imx_drm_encoder);
> +
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_remove_encoder);
> +
> +/*
> + * imx_drm_add_connector - add a connector
> + */
> +int imx_drm_add_connector(struct drm_connector *connector,
> + struct imx_drm_connector **new_con,
> + struct module *owner)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> + struct imx_drm_connector *imx_drm_connector;
> + int ret;
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + if (imxdrm->references) {
> + ret = -EBUSY;
> + goto err_busy;
> + }
> +
> + imx_drm_connector = kzalloc(sizeof(struct imx_drm_connector), GFP_KERNEL);
> + if (!imx_drm_connector) {
> + ret = -ENOMEM;
> + goto err_alloc;
> + }
> +
> + imx_drm_connector->connector = connector;
> + imx_drm_connector->owner = owner;
> +
> + ret = imx_drm_connector_register(imx_drm_connector);
> + if (ret)
> + goto err_register;
> +
> + list_add_tail(&imx_drm_connector->list, &imxdrm->connector_list);
> +
> + *new_con = imx_drm_connector;
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + return 0;
> +
> +err_register:
> + kfree(imx_drm_connector);
> +err_alloc:
> +err_busy:
> + mutex_unlock(&imxdrm->mutex);
> +
> + return ret;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_add_connector);
> +
> +/*
> + * imx_drm_remove_connector - remove a connector
> + */
> +int imx_drm_remove_connector(struct imx_drm_connector *imx_drm_connector)
> +{
> + struct imx_drm_device *imxdrm = __imx_drm_device();
> +
> + mutex_lock(&imxdrm->mutex);
> +
> + imx_drm_connector_unregister(imx_drm_connector);
> +
> + list_del(&imx_drm_connector->list);
> +
> + mutex_unlock(&imxdrm->mutex);
> +
> + kfree(imx_drm_connector);
> +
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_remove_connector);
> +
> +static struct drm_ioctl_desc imx_drm_ioctls[] = {
> + /* none so far */
> +};
> +
> +static struct drm_driver imx_drm_driver = {
> + .driver_features = DRIVER_MODESET | DRIVER_GEM,
> + .load = imx_drm_driver_load,
> + .unload = imx_drm_driver_unload,
> + .firstopen = imx_drm_driver_firstopen,
> + .lastclose = imx_drm_driver_lastclose,
> + .gem_free_object = imx_drm_gem_free_object,
> + .gem_vm_ops = &imx_drm_gem_vm_ops,
> + .dumb_create = imx_drm_gem_dumb_create,
> + .dumb_map_offset = imx_drm_gem_dumb_map_offset,
> + .dumb_destroy = imx_drm_gem_dumb_destroy,
> +
> + .get_vblank_counter = drm_vblank_count,
> + .enable_vblank = imx_drm_enable_vblank,
> + .disable_vblank = imx_drm_disable_vblank,
> + .reclaim_buffers = drm_core_reclaim_buffers,
> + .ioctls = imx_drm_ioctls,
> + .num_ioctls = ARRAY_SIZE(imx_drm_ioctls),
> + .fops = &imx_drm_driver_fops,
> + .name = "imx-drm",
> + .desc = "i.MX DRM graphics",
> + .date = "20120507",
> + .major = 1,
> + .minor = 0,
> + .patchlevel = 0,
> +};
> +
> +static int imx_drm_platform_probe(struct platform_device *pdev)
> +{
> + imx_drm_device->dev = &pdev->dev;
> +
> + return drm_platform_init(&imx_drm_driver, pdev);
> +}
> +
> +static int imx_drm_platform_remove(struct platform_device *pdev)
> +{
> + drm_platform_exit(&imx_drm_driver, pdev);
> +
> + return 0;
> +}
> +
> +static struct platform_driver imx_drm_pdrv = {
> + .probe = imx_drm_platform_probe,
> + .remove = __devexit_p(imx_drm_platform_remove),
> + .driver = {
> + .owner = THIS_MODULE,
> + .name = "imx-drm",
> + },
> +};
> +
> +static struct platform_device *imx_drm_pdev;
> +
> +static int __init imx_drm_init(void)
> +{
> + int ret;
> +
> + imx_drm_device = kzalloc(sizeof(*imx_drm_device), GFP_KERNEL);
> + if (!imx_drm_device)
> + return -ENOMEM;
> +
> + mutex_init(&imx_drm_device->mutex);
> + INIT_LIST_HEAD(&imx_drm_device->crtc_list);
> + INIT_LIST_HEAD(&imx_drm_device->connector_list);
> + INIT_LIST_HEAD(&imx_drm_device->encoder_list);
> +
> + imx_drm_pdev = platform_device_register_simple("imx-drm", -1, NULL, 0);
> + if (!imx_drm_pdev) {
> + ret = -EINVAL;
> + goto err_pdev;
> + }
> +
> + imx_drm_pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32),
> +
> + ret = platform_driver_register(&imx_drm_pdrv);
> + if (ret)
> + goto err_pdrv;
> +
> + return 0;
> +
> +err_pdev:
> + kfree(imx_drm_device);
> +err_pdrv:
> + platform_device_unregister(imx_drm_pdev);
> +
> + return ret;
> +}
> +
> +static void __exit imx_drm_exit(void)
> +{
> + DRM_DEBUG_DRIVER("%s\n", __FILE__);
> +
> + platform_device_unregister(imx_drm_pdev);
> + platform_driver_unregister(&imx_drm_pdrv);
> +
> + kfree(imx_drm_device);
> +}
> +
> +module_init(imx_drm_init);
> +module_exit(imx_drm_exit);
> +
> +MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");
> +MODULE_DESCRIPTION("i.MX drm driver core");
> +MODULE_LICENSE("GPL");
> diff --git a/drivers/gpu/drm/imx/imx-fb.c b/drivers/gpu/drm/imx/imx-fb.c
> new file mode 100644
> index 0000000..5a08c86
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-fb.c
> @@ -0,0 +1,179 @@
> +/*
> + * i.MX drm driver
> + *
> + * Copyright (C) 2012 Sascha Hauer, Pengutronix
> + *
> + * Based on Samsung Exynos code
> + *
> + * Copyright (c) 2011 Samsung Electronics Co., Ltd.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + */
> +#include <linux/module.h>
> +#include <drm/drmP.h>
> +#include <drm/drm_crtc.h>
> +#include <drm/drm_crtc_helper.h>
> +
> +#include "imx-drm.h"
> +
> +#define to_imx_drm_fb(x) container_of(x, struct imx_drm_fb, fb)
> +
> +/*
> + * imx specific framebuffer structure.
> + *
> + * @fb: drm framebuffer obejct.
> + * @imx_drm_gem_obj: drm ec specific gem object containing a gem object.
> + * @entry: pointer to ec drm buffer entry object.
> + * - containing only the information to physically continuous memory
> + * region allocated at default framebuffer creation.
> + */
> +struct imx_drm_fb {
> + struct drm_framebuffer fb;
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> + struct imx_drm_buf_entry *entry;
> +};
> +
> +static void imx_drm_fb_destroy(struct drm_framebuffer *fb)
> +{
> + struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
> +
> + drm_framebuffer_cleanup(fb);
> +
> + /*
> + * default framebuffer has no gem object so
> + * a buffer of the default framebuffer should be released at here.
> + */
> + if (!imx_drm_fb->imx_drm_gem_obj && imx_drm_fb->entry)
> + imx_drm_buf_destroy(fb->dev, imx_drm_fb->entry);
> +
> + kfree(imx_drm_fb);
> +}
> +
> +static int imx_drm_fb_create_handle(struct drm_framebuffer *fb,
> + struct drm_file *file_priv, unsigned int *handle)
> +{
> + struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
> +
> + return drm_gem_handle_create(file_priv,
> + &imx_drm_fb->imx_drm_gem_obj->base, handle);
> +}
> +
> +static struct drm_framebuffer_funcs imx_drm_fb_funcs = {
> + .destroy = imx_drm_fb_destroy,
> + .create_handle = imx_drm_fb_create_handle,
> +};
> +
> +static struct drm_framebuffer *imx_drm_fb_create(struct drm_device *dev,
> + struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd)
> +{
> + struct imx_drm_fb *imx_drm_fb;
> + struct drm_framebuffer *fb;
> + struct drm_gem_object *obj;
> + unsigned int size;
> + int ret;
> + u32 bpp, depth;
> +
> + drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp);
> +
> + mode_cmd->pitches[0] = max(mode_cmd->pitches[0],
> + mode_cmd->width * (bpp >> 3));
> +
> + dev_dbg(dev->dev, "drm fb create(%dx%d)\n",
> + mode_cmd->width, mode_cmd->height);
> +
> + imx_drm_fb = kzalloc(sizeof(*imx_drm_fb), GFP_KERNEL);
> + if (!imx_drm_fb) {
> + dev_err(dev->dev, "failed to allocate drm framebuffer.\n");
> + return ERR_PTR(-ENOMEM);
> + }
> +
> + fb = &imx_drm_fb->fb;
> + ret = drm_framebuffer_init(dev, fb, &imx_drm_fb_funcs);
> + if (ret) {
> + dev_err(dev->dev, "failed to initialize framebuffer.\n");
> + goto err_init;
> + }
> +
> + dev_dbg(dev->dev, "create: fb id: %d\n", fb->base.id);
> +
> + size = mode_cmd->pitches[0] * mode_cmd->height;
> +
> + /*
> + * without file_priv we are called from imx_drm_fbdev_create in which
> + * case we only create a framebuffer without a handle.
> + */
> + if (!file_priv) {
> + struct imx_drm_buf_entry *entry;
> +
> + entry = imx_drm_buf_create(dev, size);
> + if (IS_ERR(entry)) {
> + ret = PTR_ERR(entry);
> + goto err_buffer;
> + }
> +
> + imx_drm_fb->entry = entry;
> + } else {
> + obj = drm_gem_object_lookup(dev, file_priv, mode_cmd->handles[0]);
> + if (!obj) {
> + ret = -EINVAL;
> + goto err_buffer;
> + }
> +
> + imx_drm_fb->imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> +
> + drm_gem_object_unreference_unlocked(obj);
the fb probably should hold the reference to the GEM obj until it is
deleted.. so you don't end up freeing the buffer you are scanning out
until you are done scanning it out. Possibly this gets a bit more
straightforward if you don't have to special case the default/fbcon
framebuffer?
IIRC, Laurent had sent a patch recently to fix the same issue in the
exynos driver.
> + imx_drm_fb->entry = imx_drm_fb->imx_drm_gem_obj->entry;
> + }
> +
> + drm_helper_mode_fill_fb_struct(fb, mode_cmd);
> +
> + return fb;
> +
> +err_buffer:
> + drm_framebuffer_cleanup(fb);
> +
> +err_init:
> + kfree(imx_drm_fb);
> +
> + return ERR_PTR(ret);
> +}
> +
> +struct imx_drm_buf_entry *imx_drm_fb_get_buf(struct drm_framebuffer *fb)
> +{
> + struct imx_drm_fb *imx_drm_fb = to_imx_drm_fb(fb);
> + struct imx_drm_buf_entry *entry;
> +
> + entry = imx_drm_fb->entry;
> +
> + return entry;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_fb_get_buf);
> +
> +static struct drm_mode_config_funcs imx_drm_mode_config_funcs = {
> + .fb_create = imx_drm_fb_create,
> +};
> +
> +void imx_drm_mode_config_init(struct drm_device *dev)
> +{
> + dev->mode_config.min_width = 64;
> + dev->mode_config.min_height = 64;
> +
> + /*
> + * set max width and height as default value(4096x4096).
> + * this value would be used to check framebuffer size limitation
> + * at drm_mode_addfb().
> + */
> + dev->mode_config.max_width = 4096;
> + dev->mode_config.max_height = 4096;
> +
> + dev->mode_config.funcs = &imx_drm_mode_config_funcs;
> +}
> diff --git a/drivers/gpu/drm/imx/imx-fbdev.c b/drivers/gpu/drm/imx/imx-fbdev.c
> new file mode 100644
> index 0000000..f038797
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-fbdev.c
> @@ -0,0 +1,275 @@
> +/*
> + * i.MX drm driver
> + *
> + * Copyright (C) 2012 Sascha Hauer, Pengutronix
> + *
> + * Based on Samsung Exynos code
> + *
> + * Copyright (c) 2011 Samsung Electronics Co., Ltd.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + */
> +#include <linux/module.h>
> +#include <drm/drmP.h>
> +#include <drm/drm_crtc.h>
> +#include <drm/drm_fb_helper.h>
> +#include <drm/drm_crtc_helper.h>
> +
> +#include "imx-drm.h"
> +
> +#define MAX_CONNECTOR 4
> +#define PREFERRED_BPP 16
> +
> +static struct fb_ops imx_drm_fb_ops = {
> + .owner = THIS_MODULE,
> + .fb_fillrect = cfb_fillrect,
> + .fb_copyarea = cfb_copyarea,
> + .fb_imageblit = cfb_imageblit,
> + .fb_check_var = drm_fb_helper_check_var,
> + .fb_set_par = drm_fb_helper_set_par,
> + .fb_blank = drm_fb_helper_blank,
> + .fb_pan_display = drm_fb_helper_pan_display,
> + .fb_setcmap = drm_fb_helper_setcmap,
> +};
> +
> +static int imx_drm_fbdev_update(struct drm_fb_helper *helper,
> + struct drm_framebuffer *fb,
> + unsigned int fb_width,
> + unsigned int fb_height)
> +{
> + struct fb_info *fbi = helper->fbdev;
> + struct drm_device *drm = helper->dev;
> + struct imx_drm_buf_entry *entry;
> + unsigned int size = fb_width * fb_height * (fb->bits_per_pixel >> 3);
> + unsigned long offset;
> +
> + drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth);
> + drm_fb_helper_fill_var(fbi, helper, fb_width, fb_height);
> +
> + entry = imx_drm_fb_get_buf(fb);
> + if (!entry) {
> + dev_dbg(drm->dev, "entry is null.\n");
> + return -EFAULT;
> + }
> +
> + offset = fbi->var.xoffset * (fb->bits_per_pixel >> 3);
> + offset += fbi->var.yoffset * fb->pitches[0];
> +
> + drm->mode_config.fb_base = entry->paddr;
> + fbi->screen_base = entry->vaddr + offset;
> + fbi->fix.smem_start = entry->paddr + offset;
> + fbi->screen_size = size;
> + fbi->fix.smem_len = size;
> + fbi->flags |= FBINFO_CAN_FORCE_OUTPUT;
> +
> + return 0;
> +}
> +
> +static int imx_drm_fbdev_create(struct drm_fb_helper *helper,
> + struct drm_fb_helper_surface_size *sizes)
> +{
> + struct drm_device *drm = helper->dev;
> + struct fb_info *fbi;
> + struct drm_framebuffer *fb;
> + struct drm_mode_fb_cmd2 mode_cmd = { 0 };
> + struct platform_device *pdev = drm->platformdev;
> + int ret;
> +
> + dev_dbg(drm->dev, "surface width(%d), height(%d) and bpp(%d\n",
> + sizes->surface_width, sizes->surface_height,
> + sizes->surface_bpp);
> +
> + mode_cmd.width = sizes->surface_width;
> + mode_cmd.height = sizes->surface_height;
> + mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
> + sizes->surface_depth);
> +
> + mutex_lock(&drm->struct_mutex);
> +
> + fbi = framebuffer_alloc(0, &pdev->dev);
> + if (!fbi) {
> + ret = -ENOMEM;
> + goto err_fb_alloc;
> + }
> +
> + fb = drm->mode_config.funcs->fb_create(drm, NULL, &mode_cmd);
> + if (IS_ERR(fb)) {
> + dev_err(drm->dev, "failed to create drm framebuffer.\n");
> + ret = PTR_ERR(fb);
> + goto err_fb_create;
> + }
> +
> + helper->fb = fb;
> + helper->fbdev = fbi;
> +
> + fbi->par = helper;
> + fbi->flags = FBINFO_FLAG_DEFAULT;
> + fbi->fbops = &imx_drm_fb_ops;
> +
> + ret = fb_alloc_cmap(&fbi->cmap, 256, 0);
> + if (ret)
> + goto err_alloc_cmap;
> +
> + ret = imx_drm_fbdev_update(helper, helper->fb, sizes->fb_width,
> + sizes->fb_height);
> + if (ret)
> + goto err_fbdev_update;
> +
> + mutex_unlock(&drm->struct_mutex);
> +
> + return 0;
> +
> +err_fbdev_update:
> + fb_dealloc_cmap(&fbi->cmap);
> +
> +err_alloc_cmap:
> + fb->funcs->destroy(fb);
> +
> +err_fb_create:
> + framebuffer_release(fbi);
> +
> +err_fb_alloc:
> + mutex_unlock(&drm->struct_mutex);
> +
> + return ret;
> +}
> +
> +static int imx_drm_fbdev_probe(struct drm_fb_helper *helper,
> + struct drm_fb_helper_surface_size *sizes)
> +{
> + int ret;
> +
> + BUG_ON(helper->fb);
> +
> + ret = imx_drm_fbdev_create(helper, sizes);
> + if (ret) {
> + dev_err(helper->dev->dev, "creating fbdev failed with %d\n", ret);
> + return ret;
> + }
> +
> + /*
> + * fb_helper expects a value more than 1 if succeed
> + * because register_framebuffer() should be called.
> + */
> + return 1;
> +}
> +
> +static struct drm_fb_helper_funcs imx_drm_fb_helper_funcs = {
> + .fb_probe = imx_drm_fbdev_probe,
> +};
> +
> +static struct drm_fb_helper *imx_drm_fbdev_init(struct drm_device *drm,
> + int preferred_bpp)
> +{
> + struct drm_fb_helper *helper;
> + unsigned int num_crtc;
> + int ret;
> +
> + helper = kzalloc(sizeof(*helper), GFP_KERNEL);
> + if (!helper)
> + return NULL;
> +
> + helper->funcs = &imx_drm_fb_helper_funcs;
> +
> + num_crtc = drm->mode_config.num_crtc;
> +
> + ret = drm_fb_helper_init(drm, helper, num_crtc, MAX_CONNECTOR);
> + if (ret) {
> + dev_err(drm->dev, "initializing drm fb helper failed with %d\n",
> + ret);
> + goto err_init;
> + }
> +
> + ret = drm_fb_helper_single_add_all_connectors(helper);
> + if (ret) {
> + dev_err(drm->dev, "registering drm_fb_helper_connector failed with %d\n",
> + ret);
> + goto err_setup;
> +
> + }
> +
> + ret = drm_fb_helper_initial_config(helper, preferred_bpp);
> + if (ret) {
> + dev_err(drm->dev, "initial config failed with %d\n", ret);
> + goto err_setup;
> + }
> +
> + return helper;
> +
> +err_setup:
> + drm_fb_helper_fini(helper);
> +
> +err_init:
> + kfree(helper);
> +
> + return NULL;
> +}
> +
> +static void imx_drm_fbdev_fini(struct drm_fb_helper *helper)
> +{
> + struct imx_drm_buf_entry *entry;
> +
> + if (helper->fbdev) {
> + struct fb_info *info;
> + int ret;
> +
> + info = helper->fbdev;
> + ret = unregister_framebuffer(info);
> + if (ret)
> + dev_err(helper->dev->dev, "unregister_framebuffer failed with %d\n",
> + ret);
> +
> + if (info->cmap.len)
> + fb_dealloc_cmap(&info->cmap);
> +
> + entry = imx_drm_fb_get_buf(helper->fb);
> +
> + imx_drm_buf_destroy(helper->dev, entry);
> +
> + framebuffer_release(info);
> + }
> +
> + drm_fb_helper_fini(helper);
> +
> + kfree(helper);
> +}
> +
> +static struct drm_fb_helper *imx_fb_helper;
> +
> +static int __init imx_fb_helper_init(void)
> +{
> + struct drm_device *drm = imx_drm_device_get();
> + int ret;
> +
> + if (!drm)
> + return -EINVAL;
> +
> + imx_fb_helper = imx_drm_fbdev_init(drm, PREFERRED_BPP);
> + if (!imx_fb_helper) {
> + imx_drm_device_put();
> + return -EINVAL;
> + }
> +
> + return 0;
> +}
> +
> +static void __exit imx_fb_helper_exit(void)
> +{
> + imx_drm_fbdev_fini(imx_fb_helper);
> + imx_drm_device_put();
> +}
> +
> +late_initcall(imx_fb_helper_init);
> +module_exit(imx_fb_helper_exit);
> +
> +MODULE_DESCRIPTION("Freescale i.MX legacy fb driver");
> +MODULE_AUTHOR("Sascha Hauer, Pengutronix");
> +MODULE_LICENSE("GPL");
> diff --git a/drivers/gpu/drm/imx/imx-gem.c b/drivers/gpu/drm/imx/imx-gem.c
> new file mode 100644
> index 0000000..b0866fb
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-gem.c
> @@ -0,0 +1,343 @@
> +/*
> + * i.MX drm driver
> + *
> + * Copyright (C) 2012 Sascha Hauer, Pengutronix
> + *
> + * Based on Samsung Exynos code
> + *
> + * Copyright (c) 2011 Samsung Electronics Co., Ltd.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + */
> +#include <drm/drmP.h>
> +#include <drm/drm.h>
> +#include <drm/drm_crtc_helper.h>
> +
> +#include "imx-drm.h"
> +
> +static int lowlevel_buffer_allocate(struct drm_device *drm,
> + struct imx_drm_buf_entry *entry)
> +{
> + entry->vaddr = dma_alloc_writecombine(drm->dev, entry->size,
> + (dma_addr_t *)&entry->paddr, GFP_KERNEL);
> + if (!entry->vaddr) {
> + dev_err(drm->dev, "failed to allocate buffer.\n");
> + return -ENOMEM;
> + }
> +
> + dev_dbg(drm->dev, "allocated : vaddr(0x%x), paddr(0x%x), size(0x%x)\n",
> + (unsigned int)entry->vaddr, entry->paddr, entry->size);
> +
> + return 0;
> +}
> +
> +static void lowlevel_buffer_free(struct drm_device *drm,
> + struct imx_drm_buf_entry *entry)
> +{
> + dma_free_writecombine(drm->dev, entry->size, entry->vaddr,
> + entry->paddr);
> +}
> +
> +struct imx_drm_buf_entry *imx_drm_buf_create(struct drm_device *drm,
> + unsigned int size)
> +{
> + struct imx_drm_buf_entry *entry;
> +
> + entry = kzalloc(sizeof(*entry), GFP_KERNEL);
> + if (!entry)
> + return ERR_PTR(-ENOMEM);
> +
> + entry->size = size;
> +
> + /*
> + * allocate memory region with size and set the memory information
> + * to vaddr and paddr of a entry object.
> + */
> + if (lowlevel_buffer_allocate(drm, entry) < 0) {
> + kfree(entry);
> + return ERR_PTR(-ENOMEM);
> + }
> +
> + return entry;
> +}
> +
> +void imx_drm_buf_destroy(struct drm_device *drm,
> + struct imx_drm_buf_entry *entry)
> +{
> + lowlevel_buffer_free(drm, entry);
> +
> + kfree(entry);
> + entry = NULL;
> +}
> +EXPORT_SYMBOL_GPL(imx_drm_buf_destroy);
> +
> +static unsigned int convert_to_vm_err_msg(int msg)
> +{
> + unsigned int out_msg;
> +
> + switch (msg) {
> + case 0:
> + case -ERESTARTSYS:
> + case -EINTR:
> + out_msg = VM_FAULT_NOPAGE;
> + break;
> +
> + case -ENOMEM:
> + out_msg = VM_FAULT_OOM;
> + break;
> +
> + default:
> + out_msg = VM_FAULT_SIGBUS;
> + break;
> + }
> +
> + return out_msg;
> +}
> +
> +static unsigned int get_gem_mmap_offset(struct drm_gem_object *obj)
> +{
> + return (unsigned int)obj->map_list.hash.key << PAGE_SHIFT;
> +}
> +
> +static struct imx_drm_gem_obj *imx_drm_gem_create(struct drm_device *drm,
> + unsigned int size)
> +{
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> + struct imx_drm_buf_entry *entry;
> + struct drm_gem_object *obj;
> + int ret;
> +
> + size = roundup(size, PAGE_SIZE);
> +
> + imx_drm_gem_obj = kzalloc(sizeof(*imx_drm_gem_obj), GFP_KERNEL);
> + if (!imx_drm_gem_obj)
> + return ERR_PTR(-ENOMEM);
> +
> + /* allocate the new buffer object and memory region. */
> + entry = imx_drm_buf_create(drm, size);
> + if (!entry) {
> + ret = -ENOMEM;
> + goto err_alloc;
> + }
> +
> + imx_drm_gem_obj->entry = entry;
> +
> + obj = &imx_drm_gem_obj->base;
> +
> + ret = drm_gem_object_init(drm, obj, size);
> + if (ret) {
> + dev_err(drm->dev, "initializing GEM object failed with %d\n", ret);
> + goto err_obj_init;
> + }
> +
> + ret = drm_gem_create_mmap_offset(obj);
> + if (ret) {
> + dev_err(drm->dev, "creating mmap offset failed with %d\n", ret);
> + goto err_create_mmap_offset;
> + }
> +
> + return imx_drm_gem_obj;
> +
> +err_create_mmap_offset:
> + drm_gem_object_release(obj);
> +
> +err_obj_init:
> + imx_drm_buf_destroy(drm, imx_drm_gem_obj->entry);
> +
> +err_alloc:
> + kfree(imx_drm_gem_obj);
> +
> + return ERR_PTR(ret);
> +}
> +
> +static struct imx_drm_gem_obj *imx_drm_gem_create_with_handle(struct drm_file *file_priv,
> + struct drm_device *drm, unsigned int size,
> + unsigned int *handle)
> +{
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> + struct drm_gem_object *obj;
> + int ret;
> +
> + imx_drm_gem_obj = imx_drm_gem_create(drm, size);
> + if (IS_ERR(imx_drm_gem_obj))
> + return imx_drm_gem_obj;
> +
> + obj = &imx_drm_gem_obj->base;
> +
> + /*
> + * allocate a id of idr table where the obj is registered
> + * and handle has the id what user can see.
> + */
> + ret = drm_gem_handle_create(file_priv, obj, handle);
> + if (ret)
> + goto err_handle_create;
> +
> + /* drop reference from allocate - handle holds it now. */
> + drm_gem_object_unreference_unlocked(obj);
> +
> + return imx_drm_gem_obj;
> +
> +err_handle_create:
> + imx_drm_gem_free_object(obj);
> +
> + return ERR_PTR(ret);
> +}
> +
> +static int imx_drm_gem_mmap_buffer(struct file *filp,
> + struct vm_area_struct *vma)
> +{
> + struct drm_gem_object *obj = filp->private_data;
> + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> + struct imx_drm_buf_entry *entry;
> + unsigned long pfn, vm_size;
> +
> + vma->vm_flags |= VM_IO | VM_RESERVED;
> +
> + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
pgprot_writecombine()?
> + vma->vm_file = filp;
> +
> + vm_size = vma->vm_end - vma->vm_start;
> + /*
> + * an entry contains information to physically continuous memory
> + * allocated by user request or at framebuffer creation.
> + */
> + entry = imx_drm_gem_obj->entry;
> +
> + /* check if user-requested size is valid. */
> + if (vm_size > entry->size)
> + return -EINVAL;
> +
> + /*
> + * get page frame number to physical memory to be mapped
> + * to user space.
> + */
> + pfn = imx_drm_gem_obj->entry->paddr >> PAGE_SHIFT;
> +
> + if (remap_pfn_range(vma, vma->vm_start, pfn, vm_size,
> + vma->vm_page_prot)) {
> + dev_err(obj->dev->dev, "failed to remap pfn range.\n");
> + return -EAGAIN;
> + }
> +
> + return 0;
> +}
> +
> +static const struct file_operations imx_drm_gem_fops = {
> + .mmap = imx_drm_gem_mmap_buffer,
> +};
> +
> +int imx_drm_gem_init_object(struct drm_gem_object *obj)
> +{
> + return 0;
> +}
> +
> +void imx_drm_gem_free_object(struct drm_gem_object *gem_obj)
> +{
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> +
> + if (gem_obj->map_list.map)
> + drm_gem_free_mmap_offset(gem_obj);
> +
> + drm_gem_object_release(gem_obj);
> +
> + imx_drm_gem_obj = to_imx_drm_gem_obj(gem_obj);
> +
> + imx_drm_buf_destroy(gem_obj->dev, imx_drm_gem_obj->entry);
> +
> + kfree(imx_drm_gem_obj);
> +}
> +
> +int imx_drm_gem_dumb_create(struct drm_file *file_priv,
> + struct drm_device *dev, struct drm_mode_create_dumb *args)
> +{
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> +
> + /* FIXME: This should be configured by the crtc driver */
> + args->pitch = args->width * args->bpp >> 3;
> + args->size = args->pitch * args->height;
> +
> + imx_drm_gem_obj = imx_drm_gem_create_with_handle(file_priv, dev, args->size,
> + &args->handle);
> + if (IS_ERR(imx_drm_gem_obj))
> + return PTR_ERR(imx_drm_gem_obj);
> +
> + return 0;
> +}
> +
> +int imx_drm_gem_dumb_map_offset(struct drm_file *file_priv,
> + struct drm_device *drm, uint32_t handle, uint64_t *offset)
> +{
> + struct imx_drm_gem_obj *imx_drm_gem_obj;
> + struct drm_gem_object *obj;
> +
> + mutex_lock(&drm->struct_mutex);
> +
> + obj = drm_gem_object_lookup(drm, file_priv, handle);
> + if (!obj) {
> + dev_err(drm->dev, "failed to lookup gem object\n");
> + mutex_unlock(&drm->struct_mutex);
> + return -EINVAL;
> + }
> +
> + imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> +
> + *offset = get_gem_mmap_offset(&imx_drm_gem_obj->base);
> +
> + drm_gem_object_unreference(obj);
> +
> + mutex_unlock(&drm->struct_mutex);
> +
> + return 0;
> +}
> +
> +int imx_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
> +{
> + struct drm_gem_object *obj = vma->vm_private_data;
> + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> + struct drm_device *dev = obj->dev;
> + unsigned long pfn;
> + pgoff_t page_offset;
> + int ret;
> +
> + page_offset = ((unsigned long)vmf->virtual_address -
> + vma->vm_start) >> PAGE_SHIFT;
> +
> + mutex_lock(&dev->struct_mutex);
> +
> + pfn = (imx_drm_gem_obj->entry->paddr >> PAGE_SHIFT) + page_offset;
> +
> + ret = vm_insert_mixed(vma, (unsigned long)vmf->virtual_address, pfn);
> +
> + mutex_unlock(&dev->struct_mutex);
> +
> + return convert_to_vm_err_msg(ret);
> +}
> +
> +int imx_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
> +{
> + int ret;
> +
> + ret = drm_gem_mmap(filp, vma);
> + if (ret)
> + return ret;
> +
> + vma->vm_flags &= ~VM_PFNMAP;
> + vma->vm_flags |= VM_MIXEDMAP;
> +
> + return ret;
> +}
> +
> +
> +int imx_drm_gem_dumb_destroy(struct drm_file *file_priv,
> + struct drm_device *dev, unsigned int handle)
> +{
> + return drm_gem_handle_delete(file_priv, handle);
> +}
> diff --git a/drivers/gpu/drm/imx/imx-lcdc-crtc.c b/drivers/gpu/drm/imx/imx-lcdc-crtc.c
> new file mode 100644
> index 0000000..e77c015
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-lcdc-crtc.c
> @@ -0,0 +1,517 @@
> +/*
> + * i.MX LCDC crtc driver
> + *
> + * Copyright (C) 2012 Sascha Hauer, Pengutronix
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + */
> +#include <linux/device.h>
> +#include <linux/platform_device.h>
> +#include <drm/drmP.h>
> +#include <drm/drm_fb_helper.h>
> +#include <drm/drm_crtc_helper.h>
> +#include <linux/fb.h>
> +#include <linux/clk.h>
> +#include <asm/fb.h>
> +#include <linux/module.h>
> +#include <mach/hardware.h>
> +#include <mach/imxfb.h>
> +#include <generated/mach-types.h>
> +
> +#include "imx-drm.h"
> +
> +#define LCDC_SSA 0x00
> +#define LCDC_SIZE 0x04
> +#define LCDC_VPW 0x08
> +#define LCDC_CPOS 0x0C
> +#define LCDC_LCWHB 0x10
> +#define LCDC_LCHCC 0x14
> +#define LCDC_PCR 0x18
> +#define LCDC_HCR 0x1C
> +#define LCDC_VCR 0x20
> +#define LCDC_POS 0x24
> +#define LCDC_LSCR1 0x28
> +#define LCDC_PWMR 0x2C
> +#define LCDC_DMACR 0x30
> +#define LCDC_RMCR 0x34
> +#define LCDC_LCDICR 0x38
> +#define LCDC_LIER 0x3c
> +#define LCDC_LISR 0x40
> +
> +#define SIZE_XMAX(x) ((((x) >> 4) & 0x3f) << 20)
> +
> +#define YMAX_MASK (cpu_is_mx1() ? 0x1ff : 0x3ff)
> +#define SIZE_YMAX(y) ((y) & YMAX_MASK)
> +
> +#define VPW_VPW(x) ((x) & 0x3ff)
> +
> +#define HCR_H_WIDTH(x) (((x) & 0x3f) << 26)
> +#define HCR_H_WAIT_1(x) (((x) & 0xff) << 8)
> +#define HCR_H_WAIT_2(x) ((x) & 0xff)
> +
> +#define VCR_V_WIDTH(x) (((x) & 0x3f) << 26)
> +#define VCR_V_WAIT_1(x) (((x) & 0xff) << 8)
> +#define VCR_V_WAIT_2(x) ((x) & 0xff)
> +
> +#define RMCR_LCDC_EN_MX1 (1 << 1)
> +
> +#define RMCR_SELF_REF (1 << 0)
> +
> +#define LIER_EOF (1 << 1)
> +
> +struct imx_crtc {
> + struct drm_crtc base;
> + struct imx_drm_crtc *imx_drm_crtc;
> + int di_no;
> + int enabled;
> + void __iomem *regs;
> + u32 pwmr;
> + u32 lscr1;
> + u32 dmacr;
> + u32 pcr;
> + struct clk *clk;
> + struct device *dev;
> + int vblank_enable;
> +
> + struct drm_pending_vblank_event *page_flip_event;
> + struct drm_framebuffer *newfb;
> +};
> +
> +#define to_imx_crtc(x) container_of(x, struct imx_crtc, base)
> +
> +static void imx_crtc_load_lut(struct drm_crtc *crtc)
> +{
> +}
> +
> +#define PCR_BPIX_8 (3 << 25)
> +#define PCR_BPIX_12 (4 << 25)
> +#define PCR_BPIX_16 (5 << 25)
> +#define PCR_BPIX_18 (6 << 25)
> +#define PCR_END_SEL (1 << 18)
> +#define PCR_END_BYTE_SWAP (1 << 17)
> +
> +const char *fourcc_to_str(u32 fourcc)
> +{
> + static char buf[5];
> +
> + *(u32 *)buf = fourcc;
> + buf[4] = 0;
> +
> + return buf;
> +}
> +
> +static int imx_drm_crtc_set(struct drm_crtc *crtc,
> + struct drm_display_mode *mode)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> + struct drm_framebuffer *fb = crtc->fb;
> + int lower_margin = mode->vsync_start - mode->vdisplay;
> + int upper_margin = mode->vtotal - mode->vsync_end;
> + int vsync_len = mode->vsync_end - mode->vsync_start;
> + int hsync_len = mode->hsync_end - mode->hsync_start;
> + int right_margin = mode->hsync_start - mode->hdisplay;
> + int left_margin = mode->htotal - mode->hsync_end;
> + unsigned long lcd_clk;
> + u32 pcr;
> +
> + lcd_clk = clk_get_rate(imx_crtc->clk) / 1000;
> +
> + if (!mode->clock)
> + return -EINVAL;
> +
> + pcr = DIV_ROUND_CLOSEST(lcd_clk, mode->clock);
> + if (--pcr > 0x3f)
> + pcr = 0x3f;
> +
> + switch (fb->pixel_format) {
> + case DRM_FORMAT_XRGB8888:
> + case DRM_FORMAT_ARGB8888:
> + pcr |= PCR_BPIX_18;
> + pcr |= PCR_END_SEL | PCR_END_BYTE_SWAP;
> + break;
> + case DRM_FORMAT_RGB565:
> + if (cpu_is_mx1())
> + pcr |= PCR_BPIX_12;
> + else
> + pcr |= PCR_BPIX_16;
> + break;
> + case DRM_FORMAT_RGB332:
> + pcr |= PCR_BPIX_8;
> + break;
> + default:
> + dev_err(imx_crtc->dev, "unsupported pixel format %s\n",
> + fourcc_to_str(fb->pixel_format));
> + return -EINVAL;
> + }
> +
> + /* add sync polarities */
> + pcr |= imx_crtc->pcr & ~(0x3f | (7 << 25));
> +
> + dev_dbg(imx_crtc->dev,
> + "xres=%d hsync_len=%d left_margin=%d right_margin=%d\n",
> + mode->hdisplay, hsync_len,
> + left_margin, right_margin);
> + dev_dbg(imx_crtc->dev,
> + "yres=%d vsync_len=%d upper_margin=%d lower_margin=%d\n",
> + mode->vdisplay, vsync_len,
> + upper_margin, lower_margin);
> +
> + writel(VPW_VPW(mode->hdisplay * fb->bits_per_pixel / 8 / 4),
> + imx_crtc->regs + LCDC_VPW);
> +
> + writel(HCR_H_WIDTH(hsync_len - 1) |
> + HCR_H_WAIT_1(right_margin - 1) |
> + HCR_H_WAIT_2(left_margin - 3),
> + imx_crtc->regs + LCDC_HCR);
> +
> + writel(VCR_V_WIDTH(vsync_len) |
> + VCR_V_WAIT_1(lower_margin) |
> + VCR_V_WAIT_2(upper_margin),
> + imx_crtc->regs + LCDC_VCR);
> +
> + writel(SIZE_XMAX(mode->hdisplay) | SIZE_YMAX(mode->vdisplay),
> + imx_crtc->regs + LCDC_SIZE);
> +
> + writel(pcr, imx_crtc->regs + LCDC_PCR);
> + writel(imx_crtc->pwmr, imx_crtc->regs + LCDC_PWMR);
> + writel(imx_crtc->lscr1, imx_crtc->regs + LCDC_LSCR1);
> + /* reset default */
> + writel(0x00040060, imx_crtc->regs + LCDC_DMACR);
> +
> + return 0;
> +}
> +
> +static int imx_drm_set_base(struct drm_crtc *crtc, int x, int y)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> + struct imx_drm_buf_entry *entry;
> + struct drm_framebuffer *fb = crtc->fb;
> + unsigned long phys;
> +
> + entry = imx_drm_fb_get_buf(fb);
> + if (!entry)
> + return -EFAULT;
> +
> + phys = entry->paddr;
> + phys += x * (fb->bits_per_pixel >> 3);
> + phys += y * fb->pitches[0];
> +
> + dev_dbg(imx_crtc->dev, "%s: phys: 0x%lx\n", __func__, phys);
> + dev_dbg(imx_crtc->dev, "%s: xy: %dx%d\n", __func__, x, y);
> +
> + writel(phys, imx_crtc->regs + LCDC_SSA);
> +
> + return 0;
> +}
> +
> +static int imx_crtc_mode_set(struct drm_crtc *crtc,
> + struct drm_display_mode *mode,
> + struct drm_display_mode *adjusted_mode,
> + int x, int y,
> + struct drm_framebuffer *old_fb)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + imx_drm_set_base(crtc, x, y);
> +
> + dev_dbg(imx_crtc->dev, "mode->hdisplay: %d\n", mode->hdisplay);
> + dev_dbg(imx_crtc->dev, "mode->vdisplay: %d\n", mode->vdisplay);
> +
> + return imx_drm_crtc_set(crtc, mode);
> +}
> +
> +static void imx_crtc_enable(struct imx_crtc *imx_crtc)
> +{
> + if (!imx_crtc->enabled)
> + clk_enable(imx_crtc->clk);
> + imx_crtc->enabled = 1;
> +}
> +
> +static void imx_crtc_disable(struct imx_crtc *imx_crtc)
> +{
> + if (imx_crtc->enabled)
> + clk_disable(imx_crtc->clk);
> + imx_crtc->enabled = 0;
> +}
> +
> +static void imx_crtc_dpms(struct drm_crtc *crtc, int mode)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + dev_dbg(imx_crtc->dev, "%s mode: %d\n", __func__, mode);
> +
> + switch (mode) {
> + case DRM_MODE_DPMS_ON:
> + imx_crtc_enable(imx_crtc);
> + break;
> + default:
> + imx_crtc_disable(imx_crtc);
> + break;
> + }
> +}
> +
> +static bool imx_crtc_mode_fixup(struct drm_crtc *crtc,
> + struct drm_display_mode *mode,
> + struct drm_display_mode *adjusted_mode)
> +{
> + return true;
> +}
> +
> +static void imx_crtc_prepare(struct drm_crtc *crtc)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + imx_crtc_disable(imx_crtc);
> +}
> +
> +static void imx_crtc_commit(struct drm_crtc *crtc)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + imx_crtc_enable(imx_crtc);
> +}
> +
> +static struct drm_crtc_helper_funcs imx_helper_funcs = {
> + .dpms = imx_crtc_dpms,
> + .mode_fixup = imx_crtc_mode_fixup,
> + .mode_set = imx_crtc_mode_set,
> + .prepare = imx_crtc_prepare,
> + .commit = imx_crtc_commit,
> + .load_lut = imx_crtc_load_lut,
> +};
> +
> +static void imx_drm_handle_pageflip(struct imx_crtc *imx_crtc)
> +{
> + struct drm_pending_vblank_event *e;
> + struct timeval now;
> + unsigned long flags;
> + struct drm_device *drm = imx_crtc->base.dev;
> +
> + spin_lock_irqsave(&drm->event_lock, flags);
> +
> + e = imx_crtc->page_flip_event;
> +
> + if (!e) {
> + spin_unlock_irqrestore(&drm->event_lock, flags);
> + return;
> + }
> +
> + do_gettimeofday(&now);
> + e->event.sequence = 0;
> + e->event.tv_sec = now.tv_sec;
> + e->event.tv_usec = now.tv_usec;
> + imx_crtc->page_flip_event = NULL;
> +
> + list_add_tail(&e->base.link, &e->base.file_priv->event_list);
> +
> + wake_up_interruptible(&e->base.file_priv->event_wait);
> +
> + spin_unlock_irqrestore(&drm->event_lock, flags);
> +}
> +
> +static int imx_crtc_enable_vblank(struct drm_crtc *crtc)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + writel(LIER_EOF, imx_crtc->regs + LCDC_LIER);
> +
> + return 0;
> +}
> +
> +static void imx_crtc_disable_vblank(struct drm_crtc *crtc)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + writel(0, imx_crtc->regs + LCDC_LIER);
> +}
> +
> +static irqreturn_t imx_irq_handler(int irq, void *dev_id)
> +{
> + struct imx_crtc *imx_crtc = dev_id;
> + struct drm_device *drm = imx_crtc->base.dev;
> +
> + /* Acknowledge interrupt */
> + readl(imx_crtc->regs + LCDC_LISR);
> +
> + drm_handle_vblank(drm, 0);
> +
> + if (imx_crtc->newfb) {
> + imx_crtc->base.fb = imx_crtc->newfb;
> + imx_crtc->newfb = NULL;
> + imx_drm_set_base(&imx_crtc->base, 0, 0);
> + imx_drm_handle_pageflip(imx_crtc);
> + imx_drm_crtc_vblank_put(imx_crtc->imx_drm_crtc);
> + }
> +
> + return IRQ_HANDLED;
> +}
> +
> +static int imx_page_flip(struct drm_crtc *crtc,
> + struct drm_framebuffer *fb,
> + struct drm_pending_vblank_event *event)
> +{
> + struct imx_crtc *imx_crtc = to_imx_crtc(crtc);
> +
> + if (imx_crtc->newfb)
> + return -EBUSY;
> +
> + imx_crtc->newfb = fb;
> + imx_crtc->page_flip_event = event;
> + imx_drm_crtc_vblank_get(imx_crtc->imx_drm_crtc);
> +
> + return 0;
> +}
> +
> +static const struct drm_crtc_funcs imx_crtc_funcs = {
> + .page_flip = imx_page_flip,
> +};
> +
> +static const struct imx_drm_crtc_helper_funcs imx_imx_drm_helper = {
> + .enable_vblank = imx_crtc_enable_vblank,
> + .disable_vblank = imx_crtc_disable_vblank,
> +};
> +
> +#define DRIVER_NAME "imx-lcdc-crtc"
> +
> +/*
> + * the pcr bits to be allowed to set in platform data
> + */
> +#define PDATA_PCR (PCR_PIXPOL | PCR_FLMPOL | PCR_LPPOL | \
> + PCR_CLKPOL | PCR_OEPOL | PCR_TFT | PCR_COLOR | \
> + PCR_PBSIZ_8 | PCR_ACD(0x7f) | PCR_ACD_SEL | \
> + PCR_SCLK_SEL | PCR_SHARP)
> +
> +static int __devinit imx_crtc_probe(struct platform_device *pdev)
> +{
> + struct imx_crtc *imx_crtc;
> + struct resource *res;
> + int ret, irq;
> + u32 pcr_value = 0xf00080c0;
> + u32 lscr1_value = 0x00120300;
> + u32 pwmr_value = 0x00a903ff;
> +
> + imx_crtc = devm_kzalloc(&pdev->dev, sizeof(*imx_crtc), GFP_KERNEL);
> + if (!imx_crtc)
> + return -ENOMEM;
> +
> + imx_crtc->dev = &pdev->dev;
> +
> + res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> + if (!res)
> + return -ENODEV;
> +
> + res = devm_request_mem_region(&pdev->dev, res->start,
> + resource_size(res), DRIVER_NAME);
> + if (!res)
> + return -EBUSY;
> +
> + imx_crtc->regs = devm_ioremap(&pdev->dev, res->start,
> + resource_size(res));
> + if (!imx_crtc->regs) {
> + dev_err(&pdev->dev, "Cannot map frame buffer registers\n");
> + return -EBUSY;
> + }
> +
> + irq = platform_get_irq(pdev, 0);
> + ret = devm_request_irq(&pdev->dev, irq, imx_irq_handler, 0, "imx_drm",
> + imx_crtc);
> + if (ret < 0) {
> + dev_err(&pdev->dev, "irq request failed with %d\n", ret);
> + return ret;
> + }
> +
> + imx_crtc->clk = clk_get(&pdev->dev, NULL);
> + if (IS_ERR(imx_crtc->clk)) {
> + ret = PTR_ERR(imx_crtc->clk);
> + dev_err(&pdev->dev, "unable to get clock: %d\n", ret);
> + return ret;
> + }
> +
> + clk_prepare_enable(imx_crtc->clk);
> + imx_crtc->enabled = 1;
> +
> + platform_set_drvdata(pdev, imx_crtc);
> +
> + imx_crtc->pcr = pcr_value & PDATA_PCR;
> +
> + if (imx_crtc->pcr != pcr_value)
> + dev_err(&pdev->dev, "invalid bits set in pcr: 0x%08x\n",
> + pcr_value & ~PDATA_PCR);
> +
> + imx_crtc->lscr1 = lscr1_value;
> + imx_crtc->pwmr = pwmr_value;
> +
> + ret = imx_drm_add_crtc(&imx_crtc->base,
> + &imx_crtc->imx_drm_crtc,
> + &imx_crtc_funcs, &imx_helper_funcs,
> + &imx_imx_drm_helper, THIS_MODULE);
> + if (ret)
> + goto err_init;
> +
> + dev_info(&pdev->dev, "probed\n");
> +
> + return 0;
> +
> +err_init:
> + clk_disable_unprepare(imx_crtc->clk);
> + clk_put(imx_crtc->clk);
> +
> + return ret;
> +}
> +
> +static int __devexit imx_crtc_remove(struct platform_device *pdev)
> +{
> + struct imx_crtc *imx_crtc = platform_get_drvdata(pdev);
> +
> + imx_drm_remove_crtc(imx_crtc->imx_drm_crtc);
> +
> + writel(0, imx_crtc->regs + LCDC_LIER);
> +
> + clk_disable_unprepare(imx_crtc->clk);
> + clk_put(imx_crtc->clk);
> +
> + platform_set_drvdata(pdev, NULL);
> +
> + return 0;
> +}
> +
> +static const struct of_device_id imx_lcdc_dt_ids[] = {
> + { .compatible = "fsl,imx1-lcdc", .data = NULL, },
> + { .compatible = "fsl,imx21-lcdc", .data = NULL, },
> + { /* sentinel */ }
> +};
> +
> +static struct platform_driver imx_crtc_driver = {
> + .remove = __devexit_p(imx_crtc_remove),
> + .probe = imx_crtc_probe,
> + .driver = {
> + .name = DRIVER_NAME,
> + .owner = THIS_MODULE,
> + .of_match_table = imx_lcdc_dt_ids,
> + },
> +};
> +
> +static int __init imx_lcdc_init(void)
> +{
> + return platform_driver_register(&imx_crtc_driver);
> +}
> +
> +static void __exit imx_lcdc_exit(void)
> +{
> + platform_driver_unregister(&imx_crtc_driver);
> +}
> +
> +module_init(imx_lcdc_init);
> +module_exit(imx_lcdc_exit)
> +
> +MODULE_DESCRIPTION("Freescale i.MX framebuffer driver");
> +MODULE_AUTHOR("Sascha Hauer, Pengutronix");
> +MODULE_LICENSE("GPL");
> diff --git a/drivers/gpu/drm/imx/imx-parallel-display.c b/drivers/gpu/drm/imx/imx-parallel-display.c
> new file mode 100644
> index 0000000..8c96113
> --- /dev/null
> +++ b/drivers/gpu/drm/imx/imx-parallel-display.c
> @@ -0,0 +1,228 @@
> +/*
> + * i.MX drm driver - parallel display implementation
> + *
> + * Copyright (C) 2012 Sascha Hauer, Pengutronix
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License
> + * as published by the Free Software Foundation; either version 2
> + * of the License, or (at your option) any later version.
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
> + * MA 02110-1301, USA.
> + */
> +
> +#include <linux/module.h>
> +#include <drm/drmP.h>
> +#include <drm/drm_fb_helper.h>
> +#include <drm/drm_crtc_helper.h>
> +
> +#include "imx-drm.h"
> +
> +#define con_to_imxpd(x) container_of(x, struct imx_parallel_display, connector)
> +#define enc_to_imxpd(x) container_of(x, struct imx_parallel_display, encoder)
> +
> +struct imx_parallel_display {
> + struct drm_connector connector;
> + struct imx_drm_connector *imx_drm_connector;
> + struct drm_encoder encoder;
> + struct imx_drm_encoder *imx_drm_encoder;
> + struct device *dev;
> + void *edid;
> + int edid_len;
> +};
> +
> +static enum drm_connector_status imx_pd_connector_detect(struct drm_connector *connector,
> + bool force)
> +{
> + return connector_status_connected;
> +}
> +
> +static void imx_pd_connector_destroy(struct drm_connector *connector)
> +{
> + /* do not free here */
> +}
> +
> +static int imx_pd_connector_get_modes(struct drm_connector *connector)
> +{
> + struct imx_parallel_display *imxpd = con_to_imxpd(connector);
> + int ret;
> +
> + drm_mode_connector_update_edid_property(connector, imxpd->edid);
> + ret = drm_add_edid_modes(connector, imxpd->edid);
> + connector->display_info.raw_edid = NULL;
> +
> + return ret;
> +}
> +
> +static int imx_pd_connector_mode_valid(struct drm_connector *connector,
> + struct drm_display_mode *mode)
> +{
> + return 0;
> +}
> +
> +static struct drm_encoder *imx_pd_connector_best_encoder(struct drm_connector *connector)
> +{
> + struct imx_parallel_display *imxpd = con_to_imxpd(connector);
> +
> + return &imxpd->encoder;
> +}
> +
> +static void imx_pd_encoder_dpms(struct drm_encoder *encoder, int mode)
> +{
> +}
> +
> +static bool imx_pd_encoder_mode_fixup(struct drm_encoder *encoder,
> + struct drm_display_mode *mode,
> + struct drm_display_mode *adjusted_mode)
> +{
> + return true;
> +}
> +
> +static void imx_pd_encoder_prepare(struct drm_encoder *encoder)
> +{
> +}
> +
> +static void imx_pd_encoder_commit(struct drm_encoder *encoder)
> +{
> +}
> +
> +static void imx_pd_encoder_mode_set(struct drm_encoder *encoder,
> + struct drm_display_mode *mode,
> + struct drm_display_mode *adjusted_mode)
> +{
> +}
> +
> +static void imx_pd_encoder_disable(struct drm_encoder *encoder)
> +{
> +}
> +
> +static void imx_pd_encoder_destroy(struct drm_encoder *encoder)
> +{
> + /* do not free here */
> +}
> +
> +struct drm_connector_funcs imx_pd_connector_funcs = {
> + .dpms = drm_helper_connector_dpms,
> + .fill_modes = drm_helper_probe_single_connector_modes,
> + .detect = imx_pd_connector_detect,
> + .destroy = imx_pd_connector_destroy,
> +};
> +
> +struct drm_connector_helper_funcs imx_pd_connector_helper_funcs = {
> + .get_modes = imx_pd_connector_get_modes,
> + .best_encoder = imx_pd_connector_best_encoder,
> + .mode_valid = imx_pd_connector_mode_valid,
> +};
> +
> +static struct drm_encoder_funcs imx_pd_encoder_funcs = {
> + .destroy = imx_pd_encoder_destroy,
> +};
> +
> +static struct drm_encoder_helper_funcs imx_pd_encoder_helper_funcs = {
> + .dpms = imx_pd_encoder_dpms,
> + .mode_fixup = imx_pd_encoder_mode_fixup,
> + .prepare = imx_pd_encoder_prepare,
> + .commit = imx_pd_encoder_commit,
> + .mode_set = imx_pd_encoder_mode_set,
> + .disable = imx_pd_encoder_disable,
> +};
> +
> +static int imx_pd_register(struct imx_parallel_display *imxpd)
> +{
> + int ret;
> +
> + drm_mode_connector_attach_encoder(&imxpd->connector, &imxpd->encoder);
> +
> + imxpd->connector.funcs = &imx_pd_connector_funcs;
> + imxpd->encoder.funcs = &imx_pd_encoder_funcs;
> +
> + drm_encoder_helper_add(&imxpd->encoder, &imx_pd_encoder_helper_funcs);
> + ret = imx_drm_add_encoder(&imxpd->encoder, &imxpd->imx_drm_encoder, THIS_MODULE);
> + if (ret) {
> + dev_err(imxpd->dev, "adding encoder failed with %d\n", ret);
> + return ret;
> + }
> +
> + drm_connector_helper_add(&imxpd->connector, &imx_pd_connector_helper_funcs);
> +
> + ret = imx_drm_add_connector(&imxpd->connector, &imxpd->imx_drm_connector,
> + THIS_MODULE);
> + if (ret) {
> + imx_drm_remove_encoder(imxpd->imx_drm_encoder);
> + dev_err(imxpd->dev, "adding connector failed with %d\n", ret);
> + return ret;
> + }
> +
> + imxpd->connector.encoder = &imxpd->encoder;
> +
> + return 0;
> +}
> +
> +static int __devinit imx_pd_probe(struct platform_device *pdev)
> +{
> + struct device_node *np = pdev->dev.of_node;
> + const u8 *edidp;
> + struct imx_parallel_display *imxpd;
> + int ret;
> +
> + imxpd = devm_kzalloc(&pdev->dev, sizeof(*imxpd), GFP_KERNEL);
> + if (!imxpd)
> + return -ENOMEM;
> +
> + edidp = of_get_property(np, "edid", &imxpd->edid_len);
> +
> + imxpd->edid = kmemdup(edidp, imxpd->edid_len, GFP_KERNEL);
> + imxpd->encoder.possible_crtcs = 0x1;
> + imxpd->encoder.possible_clones = 0x1;
> + imxpd->dev = &pdev->dev;
> +
> + ret = imx_pd_register(imxpd);
> + if (ret)
> + return ret;
> +
> + platform_set_drvdata(pdev, imxpd);
> +
> + return 0;
> +}
> +
> +static int __devexit imx_pd_remove(struct platform_device *pdev)
> +{
> + struct imx_parallel_display *imxpd = platform_get_drvdata(pdev);
> + struct drm_connector *connector = &imxpd->connector;
> + struct drm_encoder *encoder = &imxpd->encoder;
> +
> + drm_mode_connector_detach_encoder(connector, encoder);
> +
> + imx_drm_remove_connector(imxpd->imx_drm_connector);
> + imx_drm_remove_encoder(imxpd->imx_drm_encoder);
> +
> + return 0;
> +}
> +
> +static const struct of_device_id imx_pd_dt_ids[] = {
> + { .compatible = "fsl,imx-parallel-display", .data = NULL, },
> + { /* sentinel */ }
> +};
> +
> +static struct platform_driver imx_pd_driver = {
> + .probe = imx_pd_probe,
> + .remove = __devexit_p(imx_pd_remove),
> + .driver = {
> + .of_match_table = imx_pd_dt_ids,
> + .name = "imx-parallel-display",
> + .owner = THIS_MODULE,
> + },
> +};
> +
> +module_platform_driver(imx_pd_driver);
> +
> +MODULE_DESCRIPTION("i.MX parallel display driver");
> +MODULE_AUTHOR("Sascha Hauer, Pengutronix");
> +MODULE_LICENSE("GPL");
> --
> 1.7.10
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver
2012-05-22 21:28 ` Rob Clark
@ 2012-05-23 7:47 ` Sascha Hauer
2012-05-23 8:37 ` Lars-Peter Clausen
0 siblings, 1 reply; 35+ messages in thread
From: Sascha Hauer @ 2012-05-23 7:47 UTC (permalink / raw)
To: Rob Clark; +Cc: linux-arm-kernel, dri-devel
Hi Rob,
On Tue, May 22, 2012 at 03:28:20PM -0600, Rob Clark wrote:
> just a few comments from a cursory review.. I need a bit more time
> for a more in-depth review but that won't be tonight so I thought I'd
> send what I have so far..
Thanks for this.
> > +++ b/drivers/gpu/drm/imx/Kconfig
> > @@ -0,0 +1,18 @@
> > +config DRM_IMX
> > + tristate "DRM Support for Freescale i.MX"
> > + select DRM_KMS_HELPER
> > + depends on DRM && ARCH_MXC
> > +
> > +config DRM_IMX_FB_HELPER
> > + tristate "provide legacy framebuffer /dev/fb0"
> > + depends on DRM_IMX
> > +
> > +config DRM_IMX_LCDC
> > + tristate "DRM Support for Freescale i.MX1 and i.MX2"
> > + depends on DRM_IMX
> > + help
> > + Choose this if you have a i.MX1, i.MX21, i.MX25 or i.MX27 processor.
>
> do you have something like cpu_is_imx2() type macros? It would be
> preferable not to have a compile time config option for building for
> certain hw versions. Ie. on OMAP we could do something like 'if
> (cpu_is_omap3xxx()) { ... }' if there was something that needed to be
> done different on omap3 family of devices. This way you could choose
> to build a kernel supporting either a single omap variants, or all
> omap variants.
Yes, we have cpu_is_* macros. I don't see though why we should use them
here. The result of DRM_IMX_LCDC will be a platform driver for which a
suitable device exists only on the correct SoCs. There will be a second
DRM_IMX_IPU option next to this one for the newer i.MX SoCs which will
be a second platform driver.
> > +
> > + /*
> > + * without file_priv we are called from imx_drm_fbdev_create in which
> > + * case we only create a framebuffer without a handle.
> > + */
> > + if (!file_priv) {
> > + struct imx_drm_buf_entry *entry;
> > +
> > + entry = imx_drm_buf_create(dev, size);
> > + if (IS_ERR(entry)) {
> > + ret = PTR_ERR(entry);
> > + goto err_buffer;
> > + }
> > +
> > + imx_drm_fb->entry = entry;
> > + } else {
> > + obj = drm_gem_object_lookup(dev, file_priv, mode_cmd->handles[0]);
> > + if (!obj) {
> > + ret = -EINVAL;
> > + goto err_buffer;
> > + }
> > +
> > + imx_drm_fb->imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> > +
> > + drm_gem_object_unreference_unlocked(obj);
>
>
> the fb probably should hold the reference to the GEM obj until it is
> deleted.. so you don't end up freeing the buffer you are scanning out
> until you are done scanning it out. Possibly this gets a bit more
> straightforward if you don't have to special case the default/fbcon
> framebuffer?
>
> IIRC, Laurent had sent a patch recently to fix the same issue in the
> exynos driver.
Yes, just for reference, here is a link:
http://permalink.gmane.org/gmane.comp.video.dri.devel/69203
Will fix this.
> > +
> > +static int imx_drm_gem_mmap_buffer(struct file *filp,
> > + struct vm_area_struct *vma)
> > +{
> > + struct drm_gem_object *obj = filp->private_data;
> > + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> > + struct imx_drm_buf_entry *entry;
> > + unsigned long pfn, vm_size;
> > +
> > + vma->vm_flags |= VM_IO | VM_RESERVED;
> > +
> > + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
>
> pgprot_writecombine()?
copied from the exynos driver. The exynos driver recently gained support
for different cache attribute flags and I could do the same. I would
prefer not to even have to think about it by using some generic code
here instead of duplicating other peoples bugs.
Do you think it's possible to share this code as suggested by Lars?
Every SoC not having a IOMMU could share the same code here, it's just
not clear to me how we can put this in a form that is acceptable
upstream.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver
2012-05-23 7:47 ` Sascha Hauer
@ 2012-05-23 8:37 ` Lars-Peter Clausen
2012-05-23 9:09 ` Daniel Vetter
0 siblings, 1 reply; 35+ messages in thread
From: Lars-Peter Clausen @ 2012-05-23 8:37 UTC (permalink / raw)
To: Sascha Hauer; +Cc: dri-devel, linux-arm-kernel, Rob Clark
[...]
>>> +
>>> +static int imx_drm_gem_mmap_buffer(struct file *filp,
>>> + struct vm_area_struct *vma)
>>> +{
>>> + struct drm_gem_object *obj = filp->private_data;
>>> + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
>>> + struct imx_drm_buf_entry *entry;
>>> + unsigned long pfn, vm_size;
>>> +
>>> + vma->vm_flags |= VM_IO | VM_RESERVED;
>>> +
>>> + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
>>
>> pgprot_writecombine()?
>
> copied from the exynos driver. The exynos driver recently gained support
> for different cache attribute flags and I could do the same. I would
> prefer not to even have to think about it by using some generic code
> here instead of duplicating other peoples bugs.
>
> Do you think it's possible to share this code as suggested by Lars?
> Every SoC not having a IOMMU could share the same code here, it's just
> not clear to me how we can put this in a form that is acceptable
> upstream.
I may have missed this in the previous discussion. But why can't we put the
gem handling code in the toplevel drm folder, give it a config symbol and
let drivers which want to use the code select the config symbol? I think the
main concern was about introducing a new intermediate layer, but the
"simple" gem support would really just a set of helper functions.
Thanks,
- Lars
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 1/2] DRM: add Freescale i.MX LCDC driver
2012-05-23 8:37 ` Lars-Peter Clausen
@ 2012-05-23 9:09 ` Daniel Vetter
0 siblings, 0 replies; 35+ messages in thread
From: Daniel Vetter @ 2012-05-23 9:09 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-arm-kernel, dri-devel, Rob Clark
On Wed, May 23, 2012 at 10:37:58AM +0200, Lars-Peter Clausen wrote:
> [...]
> >>> +
> >>> +static int imx_drm_gem_mmap_buffer(struct file *filp,
> >>> + struct vm_area_struct *vma)
> >>> +{
> >>> + struct drm_gem_object *obj = filp->private_data;
> >>> + struct imx_drm_gem_obj *imx_drm_gem_obj = to_imx_drm_gem_obj(obj);
> >>> + struct imx_drm_buf_entry *entry;
> >>> + unsigned long pfn, vm_size;
> >>> +
> >>> + vma->vm_flags |= VM_IO | VM_RESERVED;
> >>> +
> >>> + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
> >>
> >> pgprot_writecombine()?
> >
> > copied from the exynos driver. The exynos driver recently gained support
> > for different cache attribute flags and I could do the same. I would
> > prefer not to even have to think about it by using some generic code
> > here instead of duplicating other peoples bugs.
> >
> > Do you think it's possible to share this code as suggested by Lars?
> > Every SoC not having a IOMMU could share the same code here, it's just
> > not clear to me how we can put this in a form that is acceptable
> > upstream.
>
> I may have missed this in the previous discussion. But why can't we put the
> gem handling code in the toplevel drm folder, give it a config symbol and
> let drivers which want to use the code select the config symbol? I think the
> main concern was about introducing a new intermediate layer, but the
> "simple" gem support would really just a set of helper functions.
Same for the kms stuff. Me&Dave shot at sdrm because it introduces an
intermediate layer, not because adding some common code for simple drm/kms
drivers is pointless. That is very much welcome ;-)
-Daniel
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 2/2] pcm038 lcdc support
2012-05-18 12:27 (unknown), Sascha Hauer
2012-05-18 12:27 ` [PATCH 1/2] DRM: add Freescale i.MX LCDC driver Sascha Hauer
@ 2012-05-18 12:27 ` Sascha Hauer
2012-05-18 14:03 ` Adam Jackson
2012-05-22 14:06 ` Lars-Peter Clausen
2 siblings, 1 reply; 35+ messages in thread
From: Sascha Hauer @ 2012-05-18 12:27 UTC (permalink / raw)
To: dri-devel; +Cc: Sascha Hauer, linux-arm-kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boot/dts/imx27-phytec-phycore.dts | 39 ++++++++++++++++++++++++++++
arch/arm/boot/dts/imx27.dtsi | 7 +++++
arch/arm/mach-imx/clock-imx27.c | 1 +
3 files changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dts b/arch/arm/boot/dts/imx27-phytec-phycore.dts
index a51a08f..bdb7547 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore.dts
@@ -20,6 +20,41 @@
reg = <0x0 0x0>;
};
+ baseboard {
+ compatible = "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <1>;
+
+ display {
+ compatible = "fsl,imx-parallel-display";
+ edid = [00 ff ff ff ff ff ff 00 4c 2d 6c 03 36 32 49 4b
+ 0f 13 01 03 80 37 22 a0 2a fe 21 a8 53 37 ae 24
+ 11 50 54
+
+ /* est timings */
+ 00 00 00
+
+ /* std timings */
+ 00 00
+ 00 00
+ 00 00
+ 00 00
+ 00 00
+ 00 00
+ 00 00
+ 00 00
+
+ /* detailed timings */
+ 05 0D 20 A0 30 58 1C 20 28 20 14 00 26 57 21 00 00 1E
+ 00 00 00 fd 00 32 4b 1b 51 11 00 0a 20 20 20 20 20 20
+ 00 00 00 fc 00 53 79 6e 63 4d 61 73 74 65 72 0a 20 20
+ 00 00 00 ff 00 48 39 58 53 34 30 30 34 34 32 0a 20 20
+ 00 20];
+
+ crtc = <&lcdc 0>;
+ };
+ };
+
soc {
aipi@10000000 { /* aipi */
@@ -46,6 +81,10 @@
status = "okay";
};
+ lcdc@10021000 {
+ status = "okay";
+ };
+
i2c@1001d000 {
clock-frequency = <400000>;
status = "okay";
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index bc5e7d5..eab9095 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -206,6 +206,13 @@
status = "disabled";
};
+ lcdc: lcdc@10021000 {
+ compatible = "fsl,imx27-lcdc", "fsl,imx21-lcdc";
+ reg = <0x10021000 0x4000>;
+ interrupts = <61>;
+ status = "enabled";
+ };
+
fec: fec@1002b000 {
compatible = "fsl,imx27-fec";
reg = <0x1002b000 0x4000>;
diff --git a/arch/arm/mach-imx/clock-imx27.c b/arch/arm/mach-imx/clock-imx27.c
index 98e04f5..a393483 100644
--- a/arch/arm/mach-imx/clock-imx27.c
+++ b/arch/arm/mach-imx/clock-imx27.c
@@ -646,6 +646,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("imx27-cspi.1", NULL, cspi2_clk)
_REGISTER_CLOCK("imx27-cspi.2", NULL, cspi3_clk)
_REGISTER_CLOCK("imx-fb.0", NULL, lcdc_clk)
+ _REGISTER_CLOCK("10021000.lcdc", NULL, lcdc_clk)
_REGISTER_CLOCK("mx2-camera.0", NULL, csi_clk)
_REGISTER_CLOCK("fsl-usb2-udc", "usb", usb_clk)
_REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", usb_clk1)
--
1.7.10
^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH 2/2] pcm038 lcdc support
2012-05-18 12:27 ` [PATCH 2/2] pcm038 lcdc support Sascha Hauer
@ 2012-05-18 14:03 ` Adam Jackson
2012-05-18 15:13 ` Sascha Hauer
0 siblings, 1 reply; 35+ messages in thread
From: Adam Jackson @ 2012-05-18 14:03 UTC (permalink / raw)
To: Sascha Hauer; +Cc: linux-arm-kernel, dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1062 bytes --]
On Fri, 2012-05-18 at 14:27 +0200, Sascha Hauer wrote:
> + edid = [00 ff ff ff ff ff ff 00 4c 2d 6c 03 36 32 49 4b
> + 0f 13 01 03 80 37 22 a0 2a fe 21 a8 53 37 ae 24
> + 11 50 54
> +
> + /* est timings */
> + 00 00 00
> +
> + /* std timings */
> + 00 00
> + 00 00
> + 00 00
> + 00 00
> + 00 00
> + 00 00
> + 00 00
> + 00 00
> +
> + /* detailed timings */
> + 05 0D 20 A0 30 58 1C 20 28 20 14 00 26 57 21 00 00 1E
> + 00 00 00 fd 00 32 4b 1b 51 11 00 0a 20 20 20 20 20 20
> + 00 00 00 fc 00 53 79 6e 63 4d 61 73 74 65 72 0a 20 20
> + 00 00 00 ff 00 48 39 58 53 34 30 30 34 34 32 0a 20 20
> + 00 20];
This EDID block claims to be a Samsung SyncMaster, which isn't really
the right thing to do. The question is what to call it instead. Red
Hat has a PNP ID we can use for virtual EDID blocks like this if we
want, I'd want to set up a little database to keep track of them but
that's pretty trivial.
Also, empty standard timing fields are 01 01, not 00 00.
- ajax
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/2] pcm038 lcdc support
2012-05-18 14:03 ` Adam Jackson
@ 2012-05-18 15:13 ` Sascha Hauer
2012-05-22 10:02 ` Dave Airlie
0 siblings, 1 reply; 35+ messages in thread
From: Sascha Hauer @ 2012-05-18 15:13 UTC (permalink / raw)
To: Adam Jackson; +Cc: linux-arm-kernel, dri-devel
On Fri, May 18, 2012 at 10:03:54AM -0400, Adam Jackson wrote:
> On Fri, 2012-05-18 at 14:27 +0200, Sascha Hauer wrote:
>
> > + edid = [00 ff ff ff ff ff ff 00 4c 2d 6c 03 36 32 49 4b
> > + 0f 13 01 03 80 37 22 a0 2a fe 21 a8 53 37 ae 24
> > + 11 50 54
> > +
> > + /* est timings */
> > + 00 00 00
> > +
> > + /* std timings */
> > + 00 00
> > + 00 00
> > + 00 00
> > + 00 00
> > + 00 00
> > + 00 00
> > + 00 00
> > + 00 00
> > +
> > + /* detailed timings */
> > + 05 0D 20 A0 30 58 1C 20 28 20 14 00 26 57 21 00 00 1E
> > + 00 00 00 fd 00 32 4b 1b 51 11 00 0a 20 20 20 20 20 20
> > + 00 00 00 fc 00 53 79 6e 63 4d 61 73 74 65 72 0a 20 20
> > + 00 00 00 ff 00 48 39 58 53 34 30 30 34 34 32 0a 20 20
> > + 00 20];
>
> This EDID block claims to be a Samsung SyncMaster, which isn't really
> the right thing to do. The question is what to call it instead. Red
> Hat has a PNP ID we can use for virtual EDID blocks like this if we
> want, I'd want to set up a little database to keep track of them but
> that's pretty trivial.
Sorry, should have mentioned this in the commit log. This in fact is a
hacked version of my office monitor. This patch is more meant as a usage
example and not for upstream. I don't know yet if it's even acceptable
to put edid data into the devicetree. I saw some discussion about it,
but also about some generic display description, which I would prefer.
BTW is there a more convenient tool than a hex editor around to generate
edid data? I only found some windows tools
>
> Also, empty standard timing fields are 01 01, not 00 00.
Good to know
Thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/2] pcm038 lcdc support
2012-05-18 15:13 ` Sascha Hauer
@ 2012-05-22 10:02 ` Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2012-05-22 10:02 UTC (permalink / raw)
To: Sascha Hauer; +Cc: dri-devel, linux-arm-kernel
On Fri, May 18, 2012 at 4:13 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> On Fri, May 18, 2012 at 10:03:54AM -0400, Adam Jackson wrote:
>> On Fri, 2012-05-18 at 14:27 +0200, Sascha Hauer wrote:
>>
>> > + edid = [00 ff ff ff ff ff ff 00 4c 2d 6c 03 36 32 49 4b
>> > + 0f 13 01 03 80 37 22 a0 2a fe 21 a8 53 37 ae 24
>> > + 11 50 54
>> > +
>> > + /* est timings */
>> > + 00 00 00
>> > +
>> > + /* std timings */
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > + 00 00
>> > +
>> > + /* detailed timings */
>> > + 05 0D 20 A0 30 58 1C 20 28 20 14 00 26 57 21 00 00 1E
>> > + 00 00 00 fd 00 32 4b 1b 51 11 00 0a 20 20 20 20 20 20
>> > + 00 00 00 fc 00 53 79 6e 63 4d 61 73 74 65 72 0a 20 20
>> > + 00 00 00 ff 00 48 39 58 53 34 30 30 34 34 32 0a 20 20
>> > + 00 20];
>>
>> This EDID block claims to be a Samsung SyncMaster, which isn't really
>> the right thing to do. The question is what to call it instead. Red
>> Hat has a PNP ID we can use for virtual EDID blocks like this if we
>> want, I'd want to set up a little database to keep track of them but
>> that's pretty trivial.
>
> Sorry, should have mentioned this in the commit log. This in fact is a
> hacked version of my office monitor. This patch is more meant as a usage
> example and not for upstream. I don't know yet if it's even acceptable
> to put edid data into the devicetree. I saw some discussion about it,
> but also about some generic display description, which I would prefer.
>
> BTW is there a more convenient tool than a hex editor around to generate
> edid data? I only found some windows tools
Some basic stuff in Documentation/EDID/ but yeah don't know of
anything graphical for Linux.
Dave.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re:
2012-05-18 12:27 (unknown), Sascha Hauer
2012-05-18 12:27 ` [PATCH 1/2] DRM: add Freescale i.MX LCDC driver Sascha Hauer
2012-05-18 12:27 ` [PATCH 2/2] pcm038 lcdc support Sascha Hauer
@ 2012-05-22 14:06 ` Lars-Peter Clausen
2012-05-23 8:12 ` Re: Sascha Hauer
2012-05-24 6:31 ` Re: Sascha Hauer
2 siblings, 2 replies; 35+ messages in thread
From: Lars-Peter Clausen @ 2012-05-22 14:06 UTC (permalink / raw)
To: Sascha Hauer; +Cc: linux-arm-kernel, dri-devel
On 05/18/2012 02:27 PM, Sascha Hauer wrote:
> Hi All,
>
> The following adds a drm/kms driver for the Freescale i.MX LCDC
> controller. Most notable change to the last SDRM based version is that
> the SDRM layer has been removed and the driver now is purely i.MX
> specific. I hope that this is more acceptable now.
>
> Another change is that the probe is now devicetree based. For now I
> took the easy way out and only put an edid blob into the devicetree.
> I haven't documented the binding yet, I would add that when the rest
> is considered ok.
>
> Comments very welcome.
>
Hi,
I really liked the sdrm layer. At least some bits of it. I've been working
on a "simple" DRM driver as well. The hardware has no fancy acceleration
features, just a simple buffer and some scanout logic. I'm basically using
the same gem buffer structure and the buffer is also allocated using
dma_alloc_writecombine, which means we can probably share all of the GEM
handling code and probably also most of the fbdev code. I also started with
the Exynos GEM code as a template, but reworked it later to be more like the
UDL code, which made it a bit more compact. I think it would be a good idea
to put at least the GEM handling in some common code as I expect that we'll
see more similar "simple" DRM drivers pop up.
The code in question can be found at
https://github.com/lclausen-adi/linux-2.6/commit/87a8fd6b98eeee317c7a486846cc8405d0bd68d8
Btw. the imx-drm.h is missing in your patch.
- Lars
> Thanks
> Sascha
>
> ----------------------------------------------------------------
> Sascha Hauer (2):
> DRM: add Freescale i.MX LCDC driver
> pcm038 lcdc support
>
> arch/arm/boot/dts/imx27-phytec-phycore.dts | 39 ++
> arch/arm/boot/dts/imx27.dtsi | 7 +
> arch/arm/mach-imx/clock-imx27.c | 1 +
> drivers/gpu/drm/Kconfig | 2 +
> drivers/gpu/drm/Makefile | 1 +
> drivers/gpu/drm/imx/Kconfig | 18 +
> drivers/gpu/drm/imx/Makefile | 8 +
> drivers/gpu/drm/imx/imx-drm-core.c | 745 ++++++++++++++++++++++++++++
> drivers/gpu/drm/imx/imx-fb.c | 179 +++++++
> drivers/gpu/drm/imx/imx-fbdev.c | 275 ++++++++++
> drivers/gpu/drm/imx/imx-gem.c | 343 +++++++++++++
> drivers/gpu/drm/imx/imx-lcdc-crtc.c | 517 +++++++++++++++++++
> drivers/gpu/drm/imx/imx-parallel-display.c | 228 +++++++++
> 13 files changed, 2363 insertions(+)
> create mode 100644 drivers/gpu/drm/imx/Kconfig
> create mode 100644 drivers/gpu/drm/imx/Makefile
> create mode 100644 drivers/gpu/drm/imx/imx-drm-core.c
> create mode 100644 drivers/gpu/drm/imx/imx-fb.c
> create mode 100644 drivers/gpu/drm/imx/imx-fbdev.c
> create mode 100644 drivers/gpu/drm/imx/imx-gem.c
> create mode 100644 drivers/gpu/drm/imx/imx-lcdc-crtc.c
> create mode 100644 drivers/gpu/drm/imx/imx-parallel-display.c
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re:
2012-05-22 14:06 ` Lars-Peter Clausen
@ 2012-05-23 8:12 ` Sascha Hauer
2012-05-24 6:31 ` Re: Sascha Hauer
1 sibling, 0 replies; 35+ messages in thread
From: Sascha Hauer @ 2012-05-23 8:12 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-arm-kernel, dri-devel
On Tue, May 22, 2012 at 04:06:41PM +0200, Lars-Peter Clausen wrote:
> On 05/18/2012 02:27 PM, Sascha Hauer wrote:
> > Hi All,
> >
> > The following adds a drm/kms driver for the Freescale i.MX LCDC
> > controller. Most notable change to the last SDRM based version is that
> > the SDRM layer has been removed and the driver now is purely i.MX
> > specific. I hope that this is more acceptable now.
> >
> > Another change is that the probe is now devicetree based. For now I
> > took the easy way out and only put an edid blob into the devicetree.
> > I haven't documented the binding yet, I would add that when the rest
> > is considered ok.
> >
> > Comments very welcome.
> >
>
> Hi,
>
> I really liked the sdrm layer. At least some bits of it. I've been working
> on a "simple" DRM driver as well. The hardware has no fancy acceleration
> features, just a simple buffer and some scanout logic. I'm basically using
> the same gem buffer structure and the buffer is also allocated using
> dma_alloc_writecombine, which means we can probably share all of the GEM
> handling code and probably also most of the fbdev code. I also started with
> the Exynos GEM code as a template, but reworked it later to be more like the
> UDL code, which made it a bit more compact. I think it would be a good idea
> to put at least the GEM handling in some common code as I expect that we'll
> see more similar "simple" DRM drivers pop up.
I totally agree. Having to track other drivers for bug fixes to apply
them on the own driver is not very convenient. As answered to Rob I do
not really have a clue how to accomplish this.
>
> The code in question can be found at
> https://github.com/lclausen-adi/linux-2.6/commit/87a8fd6b98eeee317c7a486846cc8405d0bd68d8
>
> Btw. the imx-drm.h is missing in your patch.
Oops, here it is for reference, will include it in the next round.
#ifndef _IMX_DRM_H_
#define _IMX_DRM_H_
/**
* User-desired buffer creation information structure.
*
* @size: requested size for the object.
* - this size value would be page-aligned internally.
* @flags: user request for setting memory type or cache attributes.
* @handle: returned handle for the object.
*/
struct imx_drm_gem_create {
unsigned int size;
unsigned int flags;
unsigned int handle;
};
struct imx_drm_device;
struct imx_drm_crtc;
struct imx_drm_crtc_helper_funcs {
int (*enable_vblank)(struct drm_crtc *crtc);
void (*disable_vblank)(struct drm_crtc *crtc);
};
int imx_drm_add_crtc(struct drm_crtc *crtc,
struct imx_drm_crtc **new_crtc,
const struct drm_crtc_funcs *crtc_funcs,
const struct drm_crtc_helper_funcs *crtc_helper_funcs,
const struct imx_drm_crtc_helper_funcs *ec_helper_funcs,
struct module *owner);
int imx_drm_remove_crtc(struct imx_drm_crtc *);
int imx_drm_init_drm(struct platform_device *pdev,
int preferred_bpp);
int imx_drm_exit_drm(void);
int imx_drm_crtc_vblank_get(struct imx_drm_crtc *imx_drm_crtc);
void imx_drm_crtc_vblank_put(struct imx_drm_crtc *imx_drm_crtc);
void imx_drm_handle_vblank(struct imx_drm_crtc *imx_drm_crtc);
/*
* imx drm buffer entry structure.
*
* @paddr: physical address of allocated memory.
* @vaddr: kernel virtual address of allocated memory.
* @size: size of allocated memory.
*/
struct imx_drm_buf_entry {
dma_addr_t paddr;
void __iomem *vaddr;
unsigned int size;
};
/* get physical memory information of a drm framebuffer. */
struct imx_drm_buf_entry *imx_drm_fb_get_buf(struct drm_framebuffer *fb);
struct imx_drm_encoder;
int imx_drm_add_encoder(struct drm_encoder *encoder,
struct imx_drm_encoder **new_enc,
struct module *owner);
int imx_drm_remove_encoder(struct imx_drm_encoder *);
struct imx_drm_connector;
int imx_drm_add_connector(struct drm_connector *connector,
struct imx_drm_connector **new_con,
struct module *owner);
int imx_drm_remove_connector(struct imx_drm_connector *);
void imx_drm_mode_config_init(struct drm_device *drm);
#define to_imx_drm_gem_obj(x) container_of(x,\
struct imx_drm_gem_obj, base)
struct imx_drm_gem_obj {
struct drm_gem_object base;
struct imx_drm_buf_entry *entry;
};
/* unmap a buffer from user space. */
int imx_drm_gem_munmap_ioctl(struct drm_device *drm, void *data,
struct drm_file *file_priv);
/* initialize gem object. */
int imx_drm_gem_init_object(struct drm_gem_object *obj);
/* free gem object. */
void imx_drm_gem_free_object(struct drm_gem_object *gem_obj);
/* create memory region for drm framebuffer. */
int imx_drm_gem_dumb_create(struct drm_file *file_priv,
struct drm_device *drm, struct drm_mode_create_dumb *args);
/* map memory region for drm framebuffer to user space. */
int imx_drm_gem_dumb_map_offset(struct drm_file *file_priv,
struct drm_device *drm, uint32_t handle, uint64_t *offset);
/* page fault handler and mmap fault address(virtual) to physical memory. */
int imx_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
/* set vm_flags and we can change the vm attribute to other one at here. */
int imx_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
/*
* destroy memory region allocated.
* - a gem handle and physical memory region pointed by a gem object
* would be released by drm_gem_handle_delete().
*/
int imx_drm_gem_dumb_destroy(struct drm_file *file_priv,
struct drm_device *drm, unsigned int handle);
/* allocate physical memory. */
struct imx_drm_buf_entry *imx_drm_buf_create(struct drm_device *drm,
unsigned int size);
/* remove allocated physical memory. */
void imx_drm_buf_destroy(struct drm_device *drm, struct imx_drm_buf_entry *entry);
struct drm_device *imx_drm_device_get(void);
void imx_drm_device_put(void);
#endif /* _IMX_DRM_H_ */
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re:
2012-05-22 14:06 ` Lars-Peter Clausen
2012-05-23 8:12 ` Re: Sascha Hauer
@ 2012-05-24 6:31 ` Sascha Hauer
1 sibling, 0 replies; 35+ messages in thread
From: Sascha Hauer @ 2012-05-24 6:31 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-arm-kernel, dri-devel
On Tue, May 22, 2012 at 04:06:41PM +0200, Lars-Peter Clausen wrote:
> On 05/18/2012 02:27 PM, Sascha Hauer wrote:
> > Hi All,
> >
> > The following adds a drm/kms driver for the Freescale i.MX LCDC
> > controller. Most notable change to the last SDRM based version is that
> > the SDRM layer has been removed and the driver now is purely i.MX
> > specific. I hope that this is more acceptable now.
> >
> > Another change is that the probe is now devicetree based. For now I
> > took the easy way out and only put an edid blob into the devicetree.
> > I haven't documented the binding yet, I would add that when the rest
> > is considered ok.
> >
> > Comments very welcome.
> >
>
> Hi,
>
> I really liked the sdrm layer. At least some bits of it. I've been working
> on a "simple" DRM driver as well. The hardware has no fancy acceleration
> features, just a simple buffer and some scanout logic. I'm basically using
> the same gem buffer structure and the buffer is also allocated using
> dma_alloc_writecombine, which means we can probably share all of the GEM
> handling code and probably also most of the fbdev code. I also started with
> the Exynos GEM code as a template, but reworked it later to be more like the
> UDL code, which made it a bit more compact. I think it would be a good idea
> to put at least the GEM handling in some common code as I expect that we'll
> see more similar "simple" DRM drivers pop up.
Ok, I'll try to put the GEM stuff into helper functions. Would you care
to review/test it? I have something else to do right now but I hope I'll
be there next week.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2019-08-23 2:12 Rob Herring
0 siblings, 0 replies; 35+ messages in thread
From: Rob Herring @ 2019-08-23 2:12 UTC (permalink / raw)
To: dri-devel
Cc: Maxime Ripard, Tomeu Vizoso, David Airlie, Sean Paul,
Steven Price, Boris Brezillon, Alyssa Rosenzweig, Robin Murphy
Subject: [PATCH v2 0/8] panfrost: Locking and runtime PM fixes
With further testing of recent changes with lockdep and other locking
checks enabled, we've found several bugs in the shrinker code and one
sleep while atomic in panfrost_gem_open(). This series addresses those
issues.
Delaying the unmapping of pages turns out to be a bad idea. Instead we
need to rework panfrost_mmu_unmap() to not do a runtime PM resume which
takes several locks and causes more lockdep warnings. Unfortunately,
there initially appeared to be some mismatches between the runtime PM
state and the h/w. The result is several fixes to the runtime PM
initialization and handling in jobs. With this, the changes to
panfrost_mmu_unmap() are working correctly.
v2:
- Drop already applied 'drm/panfrost: Fix sleeping while atomic in
panfrost_gem_open'
- Runtime PM clean-ups
- Keep panfrost_gem_purge and use mutex_trylock there
- Rework panfrost_mmu_unmap runtime PM
Rob
Rob Herring (8):
drm/panfrost: Fix possible suspend in panfrost_remove
drm/panfrost: Rework runtime PM initialization
drm/panfrost: Hold runtime PM reference until jobs complete
drm/shmem: Do dma_unmap_sg before purging pages
drm/shmem: Use mutex_trylock in drm_gem_shmem_purge
drm/panfrost: Use mutex_trylock in panfrost_gem_purge
drm/panfrost: Rework page table flushing and runtime PM interaction
drm/panfrost: Remove unnecessary flushing from tlb_inv_context
drivers/gpu/drm/drm_gem_shmem_helper.c | 13 ++++-
drivers/gpu/drm/panfrost/panfrost_device.c | 9 ----
drivers/gpu/drm/panfrost/panfrost_drv.c | 16 ++++---
.../gpu/drm/panfrost/panfrost_gem_shrinker.c | 11 +++--
drivers/gpu/drm/panfrost/panfrost_job.c | 16 ++++---
drivers/gpu/drm/panfrost/panfrost_mmu.c | 47 +++++++++----------
include/drm/drm_gem_shmem_helper.h | 2 +-
7 files changed, 59 insertions(+), 55 deletions(-)
--
2.20.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2019-06-07 0:54 Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2019-06-07 0:54 UTC (permalink / raw)
To: Linus Torvalds, Daniel Vetter; +Cc: dri-devel, LKML
Hey Linus,
A small bit more lively this week but not majorly so. I'm away in
Japan next week for family holiday, so I'll be pretty disconnected,
I've asked Daniel to do fixes for the week while I'm out.
core:
- Allow fb changes in async commits (drivers as well)
udmabuf:
- Unmap scatterlist when unmapping udmabuf
komeda:
- oops, dma mapping and warning fixes
arm-hdlcd:
- clock fixes,
- mode validation fix
i915:
- Add a missing Icelake workaround
- GVT - DMA map fault fix and enforcement fixes
Dave.
amdgpu:
- DCE resume fix
- New raven variation updates
drm-fixes-2019-06-07:
drm i915, amdgpu, arm display, atomic update fixes
The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:
Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-06-07
for you to fetch changes up to e659b4122cf9e0938b80215de6c06823fb4cf796:
Merge tag 'drm-intel-fixes-2019-06-06' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2019-06-07
10:41:33 +1000)
----------------------------------------------------------------
drm i915, amdgpu, arm display, atomic update fixes
----------------------------------------------------------------
Aleksei Gimbitskii (2):
drm/i915/gvt: Check if cur_pt_type is valid
drm/i915/gvt: Assign NULL to the pointer after memory free.
Chengming Gui (1):
drm/amd/powerplay: add set_power_profile_mode for raven1_refresh
Colin Xu (3):
drm/i915/gvt: Update force-to-nonpriv register whitelist
drm/i915/gvt: Fix GFX_MODE handling
drm/i915/gvt: Fix vGPU CSFE_CHICKEN1_REG mmio handler
Dan Carpenter (1):
drm/komeda: Potential error pointer dereference
Dave Airlie (5):
Merge tag 'drm-intel-fixes-2019-06-03' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge branch 'drm-fixes-5.2' of
git://people.freedesktop.org/~agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2019-06-05' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge branch 'malidp-fixes' of git://linux-arm.org/linux-ld into drm-fixes
Merge tag 'drm-intel-fixes-2019-06-06' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Gao, Fred (1):
drm/i915/gvt: Fix cmd length of VEB_DI_IECP
Helen Koike (5):
drm/rockchip: fix fb references in async update
drm/amd: fix fb references in async update
drm/msm: fix fb references in async update
drm/vc4: fix fb references in async update
drm: don't block fb changes for async plane updates
Joonas Lahtinen (2):
Merge tag 'gvt-fixes-2019-05-30' of
https://github.com/intel/gvt-linux into drm-intel-fixes
Merge tag 'gvt-fixes-2019-06-05' of
https://github.com/intel/gvt-linux into drm-intel-fixes
Louis Li (1):
drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
Lowry Li (Arm Technology China) (1):
drm/komeda: fixing of DMA mapping sg segment warning
Lucas Stach (1):
udmabuf: actually unmap the scatterlist
Prike Liang (1):
drm/amd/amdgpu: add RLC firmware to support raven1 refresh
Robin Murphy (2):
drm/arm/hdlcd: Actually validate CRTC modes
drm/arm/hdlcd: Allow a bit of clock tolerance
Tina Zhang (1):
drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
Tvrtko Ursulin (1):
drm/i915/icl: Add WaDisableBankHangMode
Weinan Li (1):
drm/i915/gvt: add F_CMD_ACCESS flag for wa regs
Wen He (1):
drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
Xiaolin Zhang (1):
drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out
Xiong Zhang (1):
drm/i915/gvt: refine ggtt range validation
YueHaibing (1):
drm/komeda: remove set but not used variable 'kcrtc'
james qian wang (Arm Technology China) (1):
drm/komeda: Constify the usage of komeda_component/pipeline/dev_funcs
drivers/dma-buf/udmabuf.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 12 ++---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 15 +++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 12 ++++-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 1 +
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 31 +++++++++++--
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 +
.../gpu/drm/arm/display/komeda/d71/d71_component.c | 8 ++--
drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 4 +-
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 +-
drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 6 ++-
drivers/gpu/drm/arm/display/komeda/komeda_dev.h | 8 ++--
.../gpu/drm/arm/display/komeda/komeda_pipeline.c | 4 +-
.../gpu/drm/arm/display/komeda/komeda_pipeline.h | 10 ++---
drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 4 +-
drivers/gpu/drm/arm/hdlcd_crtc.c | 14 +++---
drivers/gpu/drm/arm/malidp_drv.c | 13 +++++-
drivers/gpu/drm/drm_atomic_helper.c | 22 +++++-----
drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +-
drivers/gpu/drm/i915/gvt/gtt.c | 38 +++++++++++-----
drivers/gpu/drm/i915/gvt/handlers.c | 49 ++++++++++++++++++---
drivers/gpu/drm/i915/gvt/reg.h | 2 +
drivers/gpu/drm/i915/gvt/scheduler.c | 25 +++++++++++
drivers/gpu/drm/i915/gvt/scheduler.h | 1 +
drivers/gpu/drm/i915/i915_reg.h | 3 ++
drivers/gpu/drm/i915/intel_workarounds.c | 6 +++
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 4 ++
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 51 +++++++++++-----------
drivers/gpu/drm/vc4/vc4_plane.c | 2 +-
include/drm/drm_modeset_helper_vtables.h | 8 ++++
33 files changed, 268 insertions(+), 99 deletions(-)
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2019-05-26 11:51 Thomas Meyer
0 siblings, 0 replies; 35+ messages in thread
From: Thomas Meyer @ 2019-05-26 11:51 UTC (permalink / raw)
From thomas@m3y3r.de Sun May 26 13:49:04 2019
Subject: [PATCH] drm/omap: Make sure device_id tables are NULL terminated
To: tomi.valkeinen@ti.com, airlied@linux.ie, daniel@ffwll.ch,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patch: Cocci
X-Mailer: DiffSplit
Message-ID: <1558871364611-249425076-1-diffsplit-thomas@m3y3r.de>
References: <1558871364605-1026448693-0-diffsplit-thomas@m3y3r.de>
In-Reply-To: <1558871364605-1026448693-0-diffsplit-thomas@m3y3r.de>
X-Serial-No: 1
Make sure (of/i2c/platform)_device_id tables are NULL terminated.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
diff -u -p a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
--- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c
@@ -198,6 +198,7 @@ static const struct of_device_id omapdss
{ .compatible = "toppoly,td028ttec1" },
{ .compatible = "tpo,td028ttec1" },
{ .compatible = "tpo,td043mtea1" },
+ {},
};
static int __init omapdss_boot_init(void)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2018-10-21 16:25 Michael Tirado
0 siblings, 0 replies; 35+ messages in thread
From: Michael Tirado @ 2018-10-21 16:25 UTC (permalink / raw)
To: Airlied, dri-devel, LKML, kraxel, alexander.deucher,
christian.koenig, David1.zhou, Hongbo.He
Cc: seanpaul, Gustavo, maarten.lankhorst
[-- Attachment #1: Type: text/plain, Size: 5516 bytes --]
Mapping a drm "dumb" buffer fails on 32-bit system (i686) from what
appears to be a truncated memory address that has been copied
throughout several files. The bug manifests as an -EINVAL when calling
mmap with the offset gathered from DRM_IOCTL_MODE_MAP_DUMB <--
DRM_IOCTL_MODE_ADDFB <-- DRM_IOCTL_MODE_CREATE_DUMB. I can provide
test code if needed.
The following patch will apply to 4.18 though I've only been able to
test through qemu bochs driver and nouveau. Intel driver worked
without any issues. I'm not sure if everyone is going to want to
share a constant, and the whitespace is screwed up from gmail's awful
javascript client, so let me know if I should resend this with any
specific changes. I have also attached the file with preserved
whitespace.
--- linux-4.13.8/drivers/gpu/drm/bochs/bochs.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/bochs/bochs.h 2017-10-20
14:34:50.308633773 +0000
@@ -115,8 +115,6 @@
return container_of(gem, struct bochs_bo, gem);
}
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static inline u64 bochs_bo_mmap_offset(struct bochs_bo *bo)
{
return drm_vma_node_offset_addr(&bo->bo.vma_node);
--- linux-4.13.8/drivers/gpu/drm/nouveau/nouveau_drv.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/nouveau/nouveau_drv.h
2017-10-20 14:34:51.581633751 +0000
@@ -57,8 +57,6 @@
struct nouveau_channel;
struct platform_device;
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
#include "nouveau_fence.h"
#include "nouveau_bios.h"
--- linux-4.13.8/drivers/gpu/drm/ast/ast_drv.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/ast/ast_drv.h 2017-10-20
14:34:50.289633773 +0000
@@ -356,8 +356,6 @@
uint32_t handle,
uint64_t *offset);
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
int ast_mm_init(struct ast_private *ast);
void ast_mm_fini(struct ast_private *ast);
--- linux-4.13.8/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c
2017-10-20 14:34:50.644633767 +0000
@@ -21,8 +21,6 @@
#include "hibmc_drm_drv.h"
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static inline struct hibmc_drm_private *
hibmc_bdev(struct ttm_bo_device *bd)
{
--- linux-4.13.8/drivers/gpu/drm/virtio/virtgpu_ttm.c 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/virtio/virtgpu_ttm.c
2017-10-20 14:34:53.055633725 +0000
@@ -37,8 +37,6 @@
#include <linux/delay.h>
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static struct
virtio_gpu_device *virtio_gpu_get_vgdev(struct ttm_bo_device *bdev)
{
--- linux-4.13.8/drivers/gpu/drm/qxl/qxl_drv.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/qxl/qxl_drv.h 2017-10-20
14:34:52.072633742 +0000
@@ -88,9 +88,6 @@
} \
} while (0)
-#define DRM_FILE_OFFSET 0x100000000ULL
-#define DRM_FILE_PAGE_OFFSET (DRM_FILE_OFFSET >> PAGE_SHIFT)
-
#define QXL_INTERRUPT_MASK (\
QXL_INTERRUPT_DISPLAY |\
QXL_INTERRUPT_CURSOR |\
--- linux-4.13.8/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2017-10-20 14:34:43.264633895 +0000
@@ -48,3 +48,1 @@
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
--- linux-4.13.8/drivers/gpu/drm/mgag200/mgag200_drv.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/mgag200/mgag200_drv.h
2017-10-20 14:34:51.404633754 +0000
@@ -276,7 +276,6 @@
struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev);
void mgag200_i2c_destroy(struct mga_i2c_chan *i2c);
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
void mgag200_ttm_placement(struct mgag200_bo *bo, int domain);
static inline int mgag200_bo_reserve(struct mgag200_bo *bo, bool no_wait)
--- linux-4.13.8/drivers/gpu/drm/radeon/radeon_ttm.c 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/radeon/radeon_ttm.c
2017-10-20 14:34:52.588633733 +0000
@@ -45,8 +45,6 @@
#include "radeon_reg.h"
#include "radeon.h"
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static int radeon_ttm_debugfs_init(struct radeon_device *rdev);
static void radeon_ttm_debugfs_fini(struct radeon_device *rdev);
--- linux-4.13.8/drivers/gpu/drm/cirrus/cirrus_drv.h 2017-10-18
07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/cirrus/cirrus_drv.h
2017-10-20 14:34:50.333633772 +0000
@@ -178,7 +178,6 @@
#define to_cirrus_obj(x) container_of(x, struct cirrus_gem_object, base)
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
/* cirrus_mode.c */
void cirrus_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
--- linux-4.13.8/include/drm/drmP.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/include/drm/drmP.h 2017-10-20
14:35:31.300633060 +0000
@@ -503,4 +503,10 @@
/* helper for handling conditionals in various for_each macros */
#define for_each_if(condition) if (!(condition)) {} else
+#if BITS_PER_LONG == 64
+#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
+#else
+#define DRM_FILE_PAGE_OFFSET (0x10000000ULL >> PAGE_SHIFT)
+#endif
+
#endif
[-- Attachment #2: drm_file_offset.patch --]
[-- Type: application/octet-stream, Size: 4581 bytes --]
--- linux-4.13.8/drivers/gpu/drm/bochs/bochs.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/bochs/bochs.h 2017-10-20 14:34:50.308633773 +0000
@@ -115,8 +115,6 @@
return container_of(gem, struct bochs_bo, gem);
}
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static inline u64 bochs_bo_mmap_offset(struct bochs_bo *bo)
{
return drm_vma_node_offset_addr(&bo->bo.vma_node);
--- linux-4.13.8/drivers/gpu/drm/nouveau/nouveau_drv.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/nouveau/nouveau_drv.h 2017-10-20 14:34:51.581633751 +0000
@@ -57,8 +57,6 @@
struct nouveau_channel;
struct platform_device;
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
#include "nouveau_fence.h"
#include "nouveau_bios.h"
--- linux-4.13.8/drivers/gpu/drm/ast/ast_drv.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/ast/ast_drv.h 2017-10-20 14:34:50.289633773 +0000
@@ -356,8 +356,6 @@
uint32_t handle,
uint64_t *offset);
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
int ast_mm_init(struct ast_private *ast);
void ast_mm_fini(struct ast_private *ast);
--- linux-4.13.8/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c 2017-10-20 14:34:50.644633767 +0000
@@ -21,8 +21,6 @@
#include "hibmc_drm_drv.h"
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static inline struct hibmc_drm_private *
hibmc_bdev(struct ttm_bo_device *bd)
{
--- linux-4.13.8/drivers/gpu/drm/virtio/virtgpu_ttm.c 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/virtio/virtgpu_ttm.c 2017-10-20 14:34:53.055633725 +0000
@@ -37,8 +37,6 @@
#include <linux/delay.h>
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static struct
virtio_gpu_device *virtio_gpu_get_vgdev(struct ttm_bo_device *bdev)
{
--- linux-4.13.8/drivers/gpu/drm/qxl/qxl_drv.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/qxl/qxl_drv.h 2017-10-20 14:34:52.072633742 +0000
@@ -88,9 +88,6 @@
} \
} while (0)
-#define DRM_FILE_OFFSET 0x100000000ULL
-#define DRM_FILE_PAGE_OFFSET (DRM_FILE_OFFSET >> PAGE_SHIFT)
-
#define QXL_INTERRUPT_MASK (\
QXL_INTERRUPT_DISPLAY |\
QXL_INTERRUPT_CURSOR |\
--- linux-4.13.8/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 2017-10-20 14:34:43.264633895 +0000
@@ -48,3 +48,1 @@
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
--- linux-4.13.8/drivers/gpu/drm/mgag200/mgag200_drv.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/mgag200/mgag200_drv.h 2017-10-20 14:34:51.404633754 +0000
@@ -276,7 +276,6 @@
struct mga_i2c_chan *mgag200_i2c_create(struct drm_device *dev);
void mgag200_i2c_destroy(struct mga_i2c_chan *i2c);
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
void mgag200_ttm_placement(struct mgag200_bo *bo, int domain);
static inline int mgag200_bo_reserve(struct mgag200_bo *bo, bool no_wait)
--- linux-4.13.8/drivers/gpu/drm/radeon/radeon_ttm.c 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/radeon/radeon_ttm.c 2017-10-20 14:34:52.588633733 +0000
@@ -45,8 +45,6 @@
#include "radeon_reg.h"
#include "radeon.h"
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
-
static int radeon_ttm_debugfs_init(struct radeon_device *rdev);
static void radeon_ttm_debugfs_fini(struct radeon_device *rdev);
--- linux-4.13.8/drivers/gpu/drm/cirrus/cirrus_drv.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/drivers/gpu/drm/cirrus/cirrus_drv.h 2017-10-20 14:34:50.333633772 +0000
@@ -178,7 +178,6 @@
#define to_cirrus_obj(x) container_of(x, struct cirrus_gem_object, base)
-#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
/* cirrus_mode.c */
void cirrus_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
--- linux-4.13.8/include/drm/drmP.h 2017-10-18 07:38:33.000000000 +0000
+++ linux-4.13.8-modified/include/drm/drmP.h 2017-10-20 14:35:31.300633060 +0000
@@ -503,4 +503,10 @@
/* helper for handling conditionals in various for_each macros */
#define for_each_if(condition) if (!(condition)) {} else
+#if BITS_PER_LONG == 64
+#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
+#else
+#define DRM_FILE_PAGE_OFFSET (0x10000000ULL >> PAGE_SHIFT)
+#endif
+
#endif
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2018-08-24 4:59 Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2018-08-24 4:59 UTC (permalink / raw)
To: Linus Torvalds; +Cc: LKML, dri-devel
Hi Linus,
Just a couple of fixes PRs for rc1,
One MAINTAINERS address change, two panels fixes, and set of amdgpu
fixes (build fixes, display fixes and some others).
Thanks
Dave.
drm-next-2018-08-24:
amdgpu and panel/misc fixes.
The following changes since commit 3d63a3c14741ed015948943076f3c6a2f2cd7b27:
Merge tag 'drm-msm-next-2018-08-10' of
git://people.freedesktop.org/~robclark/linux into drm-next (2018-08-17
10:46:51 +1000)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm tags/drm-next-2018-08-24
for you to fetch changes up to 3e20e97c2d55fb18e4b06d16478edc757483b7db:
Merge tag 'drm-misc-next-fixes-2018-08-23-1' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-08-24
13:41:03 +1000)
----------------------------------------------------------------
amdgpu and panel/misc fixes.
----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu/display: disable eDP fast boot optimization on DCE8
Christian König (3):
drm/amdgpu: fix incorrect use of fcheck
drm/amdgpu: fix incorrect use of drm_file->pid
drm/amdgpu: fix amdgpu_amdkfd_remove_eviction_fence v3
Dave Airlie (3):
Merge tag 'drm-misc-next-fixes-2018-08-22' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next
Merge branch 'drm-next-4.19' of
git://people.freedesktop.org/~agd5f/linux into drm-next
Merge tag 'drm-misc-next-fixes-2018-08-23-1' of
git://anongit.freedesktop.org/drm/drm-misc into drm-next
Dmytro Laktyushkin (3):
drm/amd/display: fix dp_ss_control vbios flag parsing
drm/amd/display: make dp_ss_off optional
drm/amd/display: fix dentist did ranges
Evan Quan (1):
drm/amdgpu: set correct base for THM/NBIF/MP1 IP
Kai-Heng Feng (1):
drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
Leo (Sunpeng) Li (2):
Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0
with CONFIG_X86"
drm/amd/display: Don't build DCN1 when kcov is enabled
Samson Tam (1):
drm/amd/display: Do not retain link settings
Sean Paul (2):
drm/panel: simple: tv123wam: Add unprepare delay
MAINTAINERS: drm-misc: Change seanpaul's email address
Yintian Tao (2):
drm/amdgpu: access register without KIQ
drm/powerplay: enable dpm under pass-through
MAINTAINERS | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 103 +++++++++------------
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 21 ++---
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | 3 +
drivers/gpu/drm/amd/amdgpu/vi.c | 4 +-
drivers/gpu/drm/amd/display/Kconfig | 6 ++
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +-
drivers/gpu/drm/amd/display/dc/Makefile | 2 +-
.../amd/display/dc/bios/command_table_helper2.c | 2 +-
drivers/gpu/drm/amd/display/dc/calcs/Makefile | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 21 ++++-
drivers/gpu/drm/amd/display/dc/core/dc_debug.c | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 6 +-
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 12 +--
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
.../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 6 +-
.../gpu/drm/amd/display/dc/dce/dce_clock_source.h | 2 +-
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 18 ++--
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.h | 2 +-
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 6 +-
.../drm/amd/display/dc/dce/dce_stream_encoder.c | 20 ++--
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 10 +-
drivers/gpu/drm/amd/display/dc/gpio/Makefile | 2 +-
drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c | 4 +-
drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c | 4 +-
drivers/gpu/drm/amd/display/dc/i2caux/Makefile | 2 +-
drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c | 4 +-
drivers/gpu/drm/amd/display/dc/inc/core_types.h | 7 +-
drivers/gpu/drm/amd/display/dc/irq/Makefile | 2 +-
drivers/gpu/drm/amd/display/dc/irq/irq_service.c | 2 +-
drivers/gpu/drm/amd/display/dc/os_types.h | 2 +-
.../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 4 +-
drivers/gpu/drm/drm_edid.c | 3 +
drivers/gpu/drm/panel/panel-simple.c | 3 +
35 files changed, 161 insertions(+), 142 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2018-07-06 1:26 Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2018-07-06 1:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: LKML, dri-devel
Hi Linus, (apologies for blank body pull earlier)
This is the drm fixes for rc4. It's a bit larger than I'd like but the
exynos cleanups are pretty mechanical, and I'd rather have them in
sooner rather than later so we can avoid too much conflicts around
them. The non-mechanincal exynos changes are mostly fixes for new
feature recently introduced.
i915:
GVT and GGTT mapping fixes
amdgpu:
HDMI2.0 4K@60 Hz regression
Hotplug fixes for dual-GPU laptops to make power management better
Misc vega12 bios fixes, a race fix and some typos.
sii8620 bridge: small fixes around mode setting
core: use kvzalloc to allocate blob property memory.
If the exynos changes are too much, I'm happy to push back, and the
blank pull was thanks to baby induced sleep deprivation, fat fingers
and gmail.
Thanks,
Dave.
drm-fixes-2018-07-06:
amdgpu, i915, exynos, udl, sii8620 and core fixes
The following changes since commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063:
Linux 4.18-rc3 (2018-07-01 16:04:53 -0700)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2018-07-06
for you to fetch changes up to c78d1f9d95a9f2cd5546c64f5315f54681dd6055:
Merge tag 'exynos-drm-fixes-for-v4.18-rc4' of
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into
drm-fixes (2018-07-06 10:47:02 +1000)
----------------------------------------------------------------
amdgpu, i915, exynos, udl, sii8620 and core fixes
----------------------------------------------------------------
Alex Deucher (2):
drm/amdgpu: fix swapped emit_ib_size in vce3
drm/amdgpu/pm: fix display count in non-DC path
Andrzej Pietrasiewicz (1):
drm/exynos: scaler: Reset hardware before starting the operation
Chris Wilson (1):
drm/i915: Try GGTT mmapping whole object as partial
Dave Airlie (4):
Merge tag 'drm-misc-fixes-2018-07-05' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2018-07-05' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge branch 'drm-fixes-4.18' of
git://people.freedesktop.org/~agd5f/linux into drm-fixes
Merge tag 'exynos-drm-fixes-for-v4.18-rc4' of
git://git.kernel.org/.../daeinki/drm-exynos into drm-fixes
Evan Quan (3):
drm/amd/powerplay: correct vega12 thermal support as true
drm/amd/powerplay: correct vega12 bootup values settings
drm/amd/powerplay: smc_dpm_info structure change
Jani Nikula (1):
Merge tag 'gvt-fixes-2018-07-03' of
https://github.com/intel/gvt-linux into drm-intel-fixes
Lyude Paul (3):
drm/amdgpu: Make struct amdgpu_atif private to amdgpu_acpi.c
drm/amdgpu: Add amdgpu_atpx_get_dhandle()
drm/amdgpu: Dynamically probe for ATIF handle (v2)
Maciej Purski (3):
drm/bridge/sii8620: Send AVI infoframe in all MHL versions
drm/bridge/sii8620: Fix display of packed pixel modes
drm/bridge/sii8620: Fix link mode selection
Marek Szyprowski (10):
drm/exynos: ipp: Rework checking for the correct buffer formats
drm/exynos: rotator: Fix DRM_MODE_REFLECT_{X,Y} interpretation
drm/exynos: scaler: Fix support for YUV420, YUV422 and YUV444 modes
drm/exynos: gsc: Use real buffer width for configuring the hardware
drm/exynos: gsc: Increase Exynos5433 buffer width alignment to 16 pixels
drm/exynos: gsc: Fix DRM_MODE_REFLECT_{X,Y} interpretation
drm/exynos: gsc: Fix support for NV16/61, YUV420/YVU420 and YUV422 modes
drm/exynos: fimc: Use real buffer width for configuring the hardware
drm/exynos: decon5433: Fix per-plane global alpha for XRGB modes
drm/exynos: decon5433: Fix WINCONx reset value
Michel Dänzer (1):
drm: Use kvzalloc for allocating blob property memory
Mikita Lipski (2):
drm/amd/display: adding ycbcr420 pixel encoding for hdmi
drm/amd/display: add a check for display depth validity
Mikulas Patocka (1):
drm/udl: fix display corruption of the last line
Nicolai Hähnle (1):
drm/amdgpu: fix user fence write race condition
Stefan Agner (1):
drm/exynos: ipp: use correct enum type
Thomas Zimmermann (3):
drm/exynos: Replace drm_framebuffer_{un/reference} with put,get functions
drm/exynos: Replace drm_gem_object_unreference_unlocked with put function
drm/exynos: Replace drm_dev_unref with drm_dev_put
Xiaolin Zhang (1):
drm/i915/gvt: changed DDI mode emulation type
Zhao Yan (1):
drm/i915/gvt: fix a bug of partially write ggtt enties
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 46 ++------
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 131 +++++++++++++++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 6 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 12 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 +-
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 4 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 49 +++++++-
drivers/gpu/drm/amd/include/atomfirmware.h | 5 +-
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c | 96 +++++++++++++--
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h | 5 +
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 4 +
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h | 3 +
.../amd/powerplay/hwmgr/vega12_processpptables.c | 2 +
.../drm/amd/powerplay/inc/vega12/smu9_driver_if.h | 5 +-
drivers/gpu/drm/bridge/sil-sii8620.c | 86 +++++++++-----
drivers/gpu/drm/drm_property.c | 6 +-
drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 6 +-
drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 +-
drivers/gpu/drm/exynos/exynos_drm_fb.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_fimc.c | 17 +--
drivers/gpu/drm/exynos/exynos_drm_gem.c | 10 +-
drivers/gpu/drm/exynos/exynos_drm_gsc.c | 51 ++++----
drivers/gpu/drm/exynos/exynos_drm_ipp.c | 110 +++++++++--------
drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_rotator.c | 4 +-
drivers/gpu/drm/exynos/exynos_drm_scaler.c | 44 +++++--
drivers/gpu/drm/exynos/regs-gsc.h | 1 +
drivers/gpu/drm/i915/gvt/display.c | 6 +-
drivers/gpu/drm/i915/gvt/gtt.c | 58 +++++++++
drivers/gpu/drm/i915/gvt/gtt.h | 2 +
drivers/gpu/drm/i915/i915_gem.c | 28 +++--
drivers/gpu/drm/i915/i915_vma.c | 2 +-
drivers/gpu/drm/udl/udl_fb.c | 5 +-
drivers/gpu/drm/udl/udl_transfer.c | 11 +-
34 files changed, 583 insertions(+), 242 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2018-07-05 10:36 rosdi ablatiff
0 siblings, 0 replies; 35+ messages in thread
From: rosdi ablatiff @ 2018-07-05 10:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 1 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2018-03-05 17:06 Meghana Madhyastha
0 siblings, 0 replies; 35+ messages in thread
From: Meghana Madhyastha @ 2018-03-05 17:06 UTC (permalink / raw)
To: Noralf Trønnes, Daniel Vetter, dri-devel
linux-spi@vger.kernel.org,Noralf Trønnes <noralf@tronnes.org>,Sean Paul <seanpaul@chromium.org>,kernel@martin.sperl.org
Cc:
Bcc:
Subject: Re: [PATCH v2 0/2] Chunk splitting of spi transfers
Reply-To:
In-Reply-To: <f6dbf3ca-4c1b-90cc-c4af-8889f7407180@tronnes.org>
On Sun, Mar 04, 2018 at 06:38:42PM +0100, Noralf Trønnes wrote:
>
> Den 02.03.2018 12.11, skrev Meghana Madhyastha:
> >On Sun, Feb 25, 2018 at 02:19:10PM +0100, Lukas Wunner wrote:
> >>[cc += linux-rpi-kernel@lists.infradead.org]
> >>
> >>On Sat, Feb 24, 2018 at 06:15:59PM +0000, Meghana Madhyastha wrote:
> >>>I've added bcm2835_spi_transfer_one_message in spi-bcm2835. This calls
> >>>spi_split_transfers_maxsize to split large chunks for spi dma transfers.
> >>>I then removed chunk splitting in the tinydrm spi helper (as now the core
> >>>is handling the chunk splitting). However, although the SPI HW should be
> >>>able to accomodate up to 65535 bytes for dma transfers, the splitting of
> >>>chunks to 65535 bytes results in a dma transfer time out error. However,
> >>>when the chunks are split to < 64 bytes it seems to work fine.
> >>Hm, that is really odd, how did you test this exactly, what did you
> >>use as SPI slave? It contradicts our own experience, we're using
> >>Micrel KSZ8851 Ethernet chips as SPI slave on spi0 of a BCM2837
> >>and can send/receive messages via DMA to the tune of several hundred
> >>bytes without any issues. In fact, for messages < 96 bytes, DMA is
> >>not used at all, so you've probably been using interrupt mode,
> >>see the BCM2835_SPI_DMA_MIN_LENGTH macro in spi-bcm2835.c.
> >Hi Lukas,
> >
> >I think you are right. I checked it and its not using the DMA mode which
> >is why its working with 64 bytes.
> >Noralf, that leaves us back to the
> >initial time out problem. I've tried doing the message splitting in
> >spi_sync as well as spi_pump_messages. Martin had explained that DMA
> >will wait for
> >the SPI HW to set the send_more_data line, but the SPI-HW itself will
> >stop triggering it when SPI_LEN is 0 causing DMA to wait forever. I
> >thought if we split it before itself, the SPI_LEN will not go to zero
> >thus preventing this problem, however it didn't work and started
> >hanging. So I'm a little uncertain as to how to proceed and debug what
> >exactly has caused the time out due to the asynchronous methods.
>
> I did a quick test and at least this is working:
>
> int tinydrm_spi_transfer(struct spi_device *spi, u32 speed_hz,
> struct spi_transfer *header, u8 bpw, const void *buf,
> size_t len)
> {
> struct spi_transfer tr = {
> .bits_per_word = bpw,
> .speed_hz = speed_hz,
> .tx_buf = buf,
> .len = len,
> };
> struct spi_message m;
> size_t maxsize;
> int ret;
>
> maxsize = tinydrm_spi_max_transfer_size(spi, 0);
>
> if (drm_debug & DRM_UT_DRIVER)
> pr_debug("[drm:%s] bpw=%u, maxsize=%zu, transfers:\n",
> __func__, bpw, maxsize);
>
> spi_message_init(&m);
> m.spi = spi;
> if (header)
> spi_message_add_tail(header, &m);
> spi_message_add_tail(&tr, &m);
>
> ret = spi_split_transfers_maxsize(spi->controller, &m, maxsize,
> GFP_KERNEL);
> if (ret)
> return ret;
>
> tinydrm_dbg_spi_message(spi, &m);
>
> return spi_sync(spi, &m);
> }
> EXPORT_SYMBOL(tinydrm_spi_transfer);
>
>
> Log:
> [ 39.015644] [drm:mipi_dbi_fb_dirty [mipi_dbi]] Flushing [FB:36] x1=0,
> x2=320, y1=0, y2=240
>
> [ 39.018079] [drm:mipi_dbi_typec3_command [mipi_dbi]] cmd=2a, par=00 00 01
> 3f
> [ 39.018129] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018152] tr(0): speed=10MHz, bpw=8, len=1, tx_buf=[2a]
> [ 39.018231] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018248] tr(0): speed=10MHz, bpw=8, len=4, tx_buf=[00 00 01 3f]
>
> [ 39.018330] [drm:mipi_dbi_typec3_command [mipi_dbi]] cmd=2b, par=00 00 00
> ef
> [ 39.018347] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018362] tr(0): speed=10MHz, bpw=8, len=1, tx_buf=[2b]
> [ 39.018396] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018428] tr(0): speed=10MHz, bpw=8, len=4, tx_buf=[00 00 00 ef]
>
> [ 39.018487] [drm:mipi_dbi_typec3_command [mipi_dbi]] cmd=2c, len=153600
> [ 39.018502] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018517] tr(0): speed=10MHz, bpw=8, len=1, tx_buf=[2c]
> [ 39.018565] [drm:tinydrm_spi_transfer] bpw=8, maxsize=65532, transfers:
> [ 39.018594] tr(0): speed=48MHz, bpw=8, len=65532, tx_buf=[c6 18 c6 18
> c6 18 c6 18 c6 18 c6 18 c6 18 c6 18 ...]
> [ 39.018608] tr(1): speed=48MHz, bpw=8, len=65532, tx_buf=[06 18 06 18
> 06 18 06 18 06 18 06 18 06 18 06 18 ...]
> [ 39.018621] tr(2): speed=48MHz, bpw=8, len=22536, tx_buf=[10 82 10 82
> 10 82 10 82 10 82 10 82 18 e3 18 e3 ...]
Hi Noralf,
Yes this works but splitting in the spi subsystem doesn't seem to work.
So this means that spi_split_transfers_maxsize is working.
Should I just send in a patch with splitting done here in tinydrm? (I
had thought we wanted to avoid splitting in the tinydrm helper).
Thanks and regards,
Meghana
>
> Noralf.
>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2017-06-01 2:26 Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2017-06-01 2:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: LKML, dri-devel
Hi Linus,
This is the main set of fixes for rc4, one amdgpu fix, some exynos
regression fixes, some msm fixes and some i915 and GVT fixes.
I've got a second regression fix for some DP chips that might be a bit
large, but I think we'd like to land it now, I'll send it along
tomorrow, once you are happy with this set.
Dave.
The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b:
Linux 4.12-rc3 (2017-05-28 17:20:53 -0700)
are available in the git repository at:
git://people.freedesktop.org/~airlied/linux tags/drm-fixes-for-v4.12-rc4
for you to fetch changes up to 400129f0a3ae989c30b37104bbc23b35c9d7a9a4:
Merge tag 'exynos-drm-fixes-for-v4.12' of
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into
drm-fixes (2017-06-01 12:07:48 +1000)
----------------------------------------------------------------
msm/exynos/i915/amdgpu fixes
----------------------------------------------------------------
Changbin Du (1):
drm/i915/gvt: clean up unsubmited workloads before destroying kmem cache
Chris Wilson (1):
drm/i915/selftests: Silence compiler warning in igt_ctx_exec
Chuanxiao Dong (2):
drm/i915: set initialised only when init_context callback is NULL
drm/i915/gvt: Disable compression workaround for Gen9
Daniel Vetter (2):
Revert "drm/i915: Restore lost "Initialized i915" welcome message"
drm/exynos: Merge pre/postclose hooks
Dave Airlie (4):
Merge tag 'drm-intel-fixes-2017-05-29' of
git://anongit.freedesktop.org/git/drm-intel into drm-fixes
Merge branch 'msm-fixes-4.12-rc4' of
git://people.freedesktop.org/~robclark/linux into drm-fixes
Merge branch 'drm-fixes-4.12' of
git://people.freedesktop.org/~agd5f/linux into drm-fixes
Merge tag 'exynos-drm-fixes-for-v4.12' of
git://git.kernel.org/.../daeinki/drm-exynos into drm-fixes
Eric Anholt (2):
drm/msm: Expose our reservation object when exporting a dmabuf.
drm/msm: Reuse dma_fence_release.
Hans de Goede (1):
drm/i915: Fix new -Wint-in-bool-context gcc compiler warning
Hoegeun Kwon (2):
drm/exynos: dsi: Fix the parse_dt function
drm/exynos: dsi: Remove bridge node reference in removal
Inki Dae (1):
drm/exynos: clean up description of exynos_drm_crtc
Jani Nikula (1):
Merge tag 'gvt-fixes-2017-05-25' of
https://github.com/01org/gvt-linux into drm-intel-fixes
Joonas Lahtinen (1):
drm/i915: Do not sync RCU during shrinking
Jordan Crouse (2):
drm/msm: Take the mutex before calling msm_gem_new_impl
drm/msm: Fix the check for the command size
Leo Liu (1):
drm/amdgpu: Program ring for vce instance 1 at its register space
Matthew Auld (1):
drm/i915: use vma->size for appgtt allocate_va_range
Philipp Zabel (1):
drm/msm: for array in-fences, check if all backing fences are
from our own context before waiting
Rob Clark (4):
drm/msm: select PM_OPP
drm/msm/mdp5: use __drm_atomic_helper_plane_duplicate_state()
drm/msm/gpu: check legacy clk names in get_clocks()
drm/msm/mdp5: release hwpipe(s) for unused planes
Tobias Klauser (1):
drm/msm: constify irq_domain_ops
Ville Syrjälä (1):
drm/i915: Stop pretending to mask/unmask LPE audio interrupts
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 95 ++++++++++++++++-------
drivers/gpu/drm/exynos/exynos_drm_drv.c | 8 +-
drivers/gpu/drm/exynos/exynos_drm_drv.h | 5 +-
drivers/gpu/drm/exynos/exynos_drm_dsi.c | 26 +++----
drivers/gpu/drm/i915/gvt/execlist.c | 30 ++++---
drivers/gpu/drm/i915/gvt/handlers.c | 30 ++++---
drivers/gpu/drm/i915/i915_drv.c | 4 -
drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
drivers/gpu/drm/i915/i915_gem_shrinker.c | 5 --
drivers/gpu/drm/i915/i915_irq.c | 15 ++--
drivers/gpu/drm/i915/i915_reg.h | 2 +-
drivers/gpu/drm/i915/intel_lpe_audio.c | 36 ---------
drivers/gpu/drm/i915/intel_lrc.c | 2 +-
drivers/gpu/drm/i915/selftests/i915_gem_context.c | 8 +-
drivers/gpu/drm/msm/Kconfig | 1 +
drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c | 2 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 9 ++-
drivers/gpu/drm/msm/msm_drv.c | 1 +
drivers/gpu/drm/msm/msm_drv.h | 1 +
drivers/gpu/drm/msm/msm_fence.c | 10 +--
drivers/gpu/drm/msm/msm_gem.c | 6 ++
drivers/gpu/drm/msm/msm_gem_prime.c | 7 ++
drivers/gpu/drm/msm/msm_gem_submit.c | 14 ++--
drivers/gpu/drm/msm/msm_gpu.c | 4 +-
24 files changed, 169 insertions(+), 154 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2017-05-11 1:02 info
0 siblings, 0 replies; 35+ messages in thread
From: info @ 2017-05-11 1:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1: 898372657368076_dri-devel.zip --]
[-- Type: application/zip, Size: 2851 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v3 1/8] arm: put types.h in uapi
2017-01-13 10:46 ` [PATCH v3 0/8] " Nicolas Dichtel
@ 2017-01-13 10:46 Nicolas Dichtel
2017-01-09 11:33 ` [PATCH v2 0/7] uapi: export all headers under uapi directories Arnd Bergmann
0 siblings, 1 reply; 35+ messages in thread
From: Nicolas Dichtel @ 2017-01-13 10:46 UTC (permalink / raw)
To: arnd
Cc: mmarek, linux-kbuild, linux-doc, linux-kernel, linux-alpha,
linux-snps-arc, linux-arm-kernel, adi-buildroot-devel,
linux-c6x-dev, linux-cris-kernel, uclinux-h8-devel, linux-hexagon,
linux-ia64, linux-m68k, linux-metag, linux-mips, linux-am33-list,
nios2-dev, openrisc, linux-parisc, linuxppc-dev, linux-s390,
linux-sh, sparclinux, linux-xtensa, linux-arch
This header file is exported, thus move it to uapi.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
arch/arm/include/asm/types.h | 40 ---------------------------------------
arch/arm/include/uapi/asm/types.h | 40 +++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 40 deletions(-)
delete mode 100644 arch/arm/include/asm/types.h
create mode 100644 arch/arm/include/uapi/asm/types.h
diff --git a/arch/arm/include/asm/types.h b/arch/arm/include/asm/types.h
deleted file mode 100644
index a53cdb8f068c..000000000000
--- a/arch/arm/include/asm/types.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef _ASM_TYPES_H
-#define _ASM_TYPES_H
-
-#include <asm-generic/int-ll64.h>
-
-/*
- * The C99 types uintXX_t that are usually defined in 'stdint.h' are not as
- * unambiguous on ARM as you would expect. For the types below, there is a
- * difference on ARM between GCC built for bare metal ARM, GCC built for glibc
- * and the kernel itself, which results in build errors if you try to build with
- * -ffreestanding and include 'stdint.h' (such as when you include 'arm_neon.h'
- * in order to use NEON intrinsics)
- *
- * As the typedefs for these types in 'stdint.h' are based on builtin defines
- * supplied by GCC, we can tweak these to align with the kernel's idea of those
- * types, so 'linux/types.h' and 'stdint.h' can be safely included from the same
- * source file (provided that -ffreestanding is used).
- *
- * int32_t uint32_t uintptr_t
- * bare metal GCC long unsigned long unsigned int
- * glibc GCC int unsigned int unsigned int
- * kernel int unsigned int unsigned long
- */
-
-#ifdef __INT32_TYPE__
-#undef __INT32_TYPE__
-#define __INT32_TYPE__ int
-#endif
-
-#ifdef __UINT32_TYPE__
-#undef __UINT32_TYPE__
-#define __UINT32_TYPE__ unsigned int
-#endif
-
-#ifdef __UINTPTR_TYPE__
-#undef __UINTPTR_TYPE__
-#define __UINTPTR_TYPE__ unsigned long
-#endif
-
-#endif /* _ASM_TYPES_H */
diff --git a/arch/arm/include/uapi/asm/types.h b/arch/arm/include/uapi/asm/types.h
new file mode 100644
index 000000000000..9435a42f575e
--- /dev/null
+++ b/arch/arm/include/uapi/asm/types.h
@@ -0,0 +1,40 @@
+#ifndef _UAPI_ASM_TYPES_H
+#define _UAPI_ASM_TYPES_H
+
+#include <asm-generic/int-ll64.h>
+
+/*
+ * The C99 types uintXX_t that are usually defined in 'stdint.h' are not as
+ * unambiguous on ARM as you would expect. For the types below, there is a
+ * difference on ARM between GCC built for bare metal ARM, GCC built for glibc
+ * and the kernel itself, which results in build errors if you try to build with
+ * -ffreestanding and include 'stdint.h' (such as when you include 'arm_neon.h'
+ * in order to use NEON intrinsics)
+ *
+ * As the typedefs for these types in 'stdint.h' are based on builtin defines
+ * supplied by GCC, we can tweak these to align with the kernel's idea of those
+ * types, so 'linux/types.h' and 'stdint.h' can be safely included from the same
+ * source file (provided that -ffreestanding is used).
+ *
+ * int32_t uint32_t uintptr_t
+ * bare metal GCC long unsigned long unsigned int
+ * glibc GCC int unsigned int unsigned int
+ * kernel int unsigned int unsigned long
+ */
+
+#ifdef __INT32_TYPE__
+#undef __INT32_TYPE__
+#define __INT32_TYPE__ int
+#endif
+
+#ifdef __UINT32_TYPE__
+#undef __UINT32_TYPE__
+#define __UINT32_TYPE__ unsigned int
+#endif
+
+#ifdef __UINTPTR_TYPE__
+#undef __UINTPTR_TYPE__
+#define __UINTPTR_TYPE__ unsigned long
+#endif
+
+#endif /* _UAPI_ASM_TYPES_H */
--
2.8.1
^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH v2 0/7] uapi: export all headers under uapi directories
@ 2017-01-09 11:33 ` Arnd Bergmann
2017-01-13 10:46 ` [PATCH v3 0/8] " Nicolas Dichtel
0 siblings, 1 reply; 35+ messages in thread
From: Arnd Bergmann @ 2017-01-09 11:33 UTC (permalink / raw)
To: linuxppc-dev, linux-kbuild
Cc: linux-mips, alsa-devel, linux-ia64, linux-doc, airlied,
linux-fbdev, dri-devel, linux-mtd, sparclinux, linux-arch,
linux-s390, linux-am33-list, linux-c6x-dev, linux-rdma,
linux-hexagon, linux-sh, coreteam, fcoe-devel, xen-devel,
linux-snps-arc, linux-media, uclinux-h8-devel,
adi-buildroot-devel, linux-raid, linux-m68k, openrisc,
Nicolas Dichtel, linux-metag, linux-arm-kernel
On Friday, January 6, 2017 10:43:52 AM CET Nicolas Dichtel wrote:
> Here is the v2 of this series. The first 5 patches are just cleanup: some
> exported headers were still under a non-uapi directory.
Since this is meant as a cleanup, I commented on this to point out a cleaner
way to do the same.
> The patch 6 was spotted by code review: there is no in-tree user of this
> functionality.
> The last patch remove the use of header-y. Now all files under an uapi
> directory are exported.
Very nice!
> asm is a bit special, most of architectures export asm/<arch>/include/uapi/asm
> only, but there is two exceptions:
> - cris which exports arch/cris/include/uapi/arch-v[10|32];
This is interesting, though not your problem. Maybe someone who understands
cris better can comment on this: How is the decision made about which of
the arch/user.h headers gets used? I couldn't find that in the sources,
but it appears to be based on kernel compile-time settings, which is
wrong for user space header files that should be independent of the kernel
config.
> - tile which exports arch/tile/include/uapi/arch.
> Because I don't know if the output of 'make headers_install_all' can be changed,
> I introduce subdir-y in Kbuild file. The headers_install_all target copies all
> asm/<arch>/include/uapi/asm to usr/include/asm-<arch> but
> arch/cris/include/uapi/arch-v[10|32] and arch/tile/include/uapi/arch are not
> prefixed (they are put asis in usr/include/). If it's acceptable to modify the
> output of 'make headers_install_all' to export asm headers in
> usr/include/asm-<arch>/asm, then I could remove this new subdir-y and exports
> everything under arch/<arch>/include/uapi/.
I don't know if anyone still uses "make headers_install_all", I suspect
distros these days all use "make headers_install", so it probably
doesn't matter much.
In case of cris, it should be easy enough to move all the contents of the
uapi/arch-*/*.h headers into the respective uapi/asm/*.h headers, they
only seem to be referenced from there.
For tile, I suspect that would not work as the arch/*.h headers are
apparently defined as interfaces for both user space and kernel.
> Note also that exported files for asm are a mix of files listed by:
> - include/uapi/asm-generic/Kbuild.asm;
> - arch/x86/include/uapi/asm/Kbuild;
> - arch/x86/include/asm/Kbuild.
> This complicates a lot the processing (arch/x86/include/asm/Kbuild is also
> used by scripts/Makefile.asm-generic).
>
> This series has been tested with a 'make headers_install' on x86 and a
> 'make headers_install_all'. I've checked the result of both commands.
>
> This patch is built against linus tree. I don't know if it should be
> made against antoher tree.
The series should probably get merged through the kbuild tree, but testing
it on mainline is fine here.
Arnd
^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v3 0/8] uapi: export all headers under uapi directories
2017-01-09 11:33 ` [PATCH v2 0/7] uapi: export all headers under uapi directories Arnd Bergmann
@ 2017-01-13 10:46 ` Nicolas Dichtel
2017-01-13 15:36 ` (unknown) David Howells
0 siblings, 1 reply; 35+ messages in thread
From: Nicolas Dichtel @ 2017-01-13 10:46 UTC (permalink / raw)
To: arnd
Cc: linux-mips, alsa-devel, linux-ia64, linux-doc, airlied,
daniel.vetter, linux-fbdev, dri-devel, linux-mtd, sparclinux,
linux-arch, linux-s390, linux-am33-list, linux-c6x-dev,
linux-rdma, linux-hexagon, linux-sh, linux, hch, coreteam,
msalter, fcoe-devel, xen-devel, linux-snps-arc, linux-media,
uclinux-h8-devel, linux-xtensa, linux-kbuild, adi-buildroot-devel,
linux-raid, linux-m68k
Here is the v3 of this series. The first 5 patches are just cleanup: some
exported headers were still under a non-uapi directory or (x86 case) were
wrongly exported.
The patch 6 was spotted by code review: there is no in-tree user of this
functionality.
Patches 7 and 8 remove the need to list explicitly headers. Now all files
under an uapi directory are exported.
This series has been tested with a 'make headers_install' on x86 and a
'make headers_install_all'. I've checked the result of both commands.
This patch is built against linus tree. If I must rebase it against the kbuild
tree, just tell me ;-)
v2 -> v3:
- patch #1: remove arch/arm/include/asm/types.h
- patch #2: remove arch/h8300/include/asm/bitsperlong.h
- patch #3: remove arch/nios2/include/uapi/asm/setup.h
- patch #4: don't export msr-index.h
- patch #5: fix a typo: s/unput-files3-name/input-files3-name
- patch #6: no change
- patch #7: fix include/uapi/asm-generic/Kbuild.asm by introducing mandatory-y
- add patch #8
v1 -> v2:
- add patch #1 to #6
- patch #7: remove use of header-y
Comments are welcomed,
Nicolas
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
2017-01-13 10:46 ` [PATCH v3 0/8] " Nicolas Dichtel
@ 2017-01-13 15:36 ` David Howells
0 siblings, 0 replies; 35+ messages in thread
From: David Howells @ 2017-01-13 15:36 UTC (permalink / raw)
To: Nicolas Dichtel
Cc: dhowells, arnd, linux-mips, linux-m68k, linux-ia64, linux-doc,
alsa-devel, dri-devel, linux-mtd, sparclinux, linux-arch,
linux-s390, linux-am33-list, linux-c6x-dev, linux-rdma,
linux-hexagon, linux-sh, linux, coreteam, fcoe-devel, xen-devel,
linux-snps-arc, linux-media, uclinux-h8-devel, linux-xtensa,
linux-kbuild, adi-buildroot-devel
Nicolas Dichtel <nicolas.dichtel@6wind.com> wrote:
> This header file is exported, thus move it to uapi.
Exported how?
> +#ifdef __INT32_TYPE__
> +#undef __INT32_TYPE__
> +#define __INT32_TYPE__ int
> +#endif
> +
> +#ifdef __UINT32_TYPE__
> +#undef __UINT32_TYPE__
> +#define __UINT32_TYPE__ unsigned int
> +#endif
> +
> +#ifdef __UINTPTR_TYPE__
> +#undef __UINTPTR_TYPE__
> +#define __UINTPTR_TYPE__ unsigned long
> +#endif
These weren't defined by the kernel before, so why do we need to define them
now?
Will defining __UINTPTR_TYPE__ cause problems in compiling libboost by
changing the signature on C++ functions that use uintptr_t?
David
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2016-10-28 20:45 Heliogabalo Santos Jugon
0 siblings, 0 replies; 35+ messages in thread
From: Heliogabalo Santos Jugon @ 2016-10-28 20:45 UTC (permalink / raw)
To: dri-devel
hi,
I'm a new programmer, i just was wondering if i can get some docs to
start learning DRI. I googled a lot but i didn't find a starter
documentation. Some refs will be apreciated
thx
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2016-09-30 14:37 Maxime Ripard
0 siblings, 0 replies; 35+ messages in thread
From: Maxime Ripard @ 2016-09-30 14:37 UTC (permalink / raw)
To: Rob Herring, Daniel Vetter, David Airlie, Archit Taneja
Cc: devicetree, dri-devel, Chen-Yu Tsai, Maxime Ripard,
linux-arm-kernel
Subject: [PATCH v5 0/5] drm: Add Support for Passive RGB to VGA bridges
Hi,
This serie is about adding support for the RGB to VGA bridge found in
the A13-Olinuxino and the CHIP VGA adapter.
Both these boards rely on an entirely passive bridge made out of
resitor ladders that do not require any initialisation. The only thing
needed is to get the timings from the screen if available (and if not,
fall back on XGA standards), set up the display pipeline to output on
the RGB bus with the proper timings, and you're done.
This serie also fixes a bunch of bugs uncovered when trying to
increase the resolution, and hence the pixel clock, of our
pipeline. It also fixes a few bugs in the DRM driver itself that went
unnoticed before.
Let me know what you think,
Maxime
Changes from v4:
- Removed unused functions
Changes from v3:
- Depends on OF in Kconfig
- Fixed typos in the driver comments
- Removed the mention of a "passive" bridge in the bindings doc
- Made the strcuture const
- Removed the nops and best_encoders implementations
- Removed the call to drm_bridge_enable in the sun4i driver
Changes from v2:
- Changed the compatible as suggested
- Rebased on top 4.8
Changes from v1:
- Switch to using a vga-connector
- Use drm_encoder bridge pointer instead of doing our own
- Report the connector status as unknown instead of connected by
default, and as connected only if we can retrieve the EDID.
- Switch to of_i2c_get_adapter by node, and put the reference when done
- Rebased on linux-next
Maxime Ripard (5):
drm/sun4i: rgb: Remove the bridge enable/disable functions
drm/bridge: Add RGB to VGA bridge support
ARM: sun5i: a13-olinuxino: Enable VGA bridge
ARM: multi_v7: enable VGA bridge
ARM: sunxi: Enable VGA bridge
.../bindings/display/bridge/rgb-to-vga-bridge.txt | 48 +++++
arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 54 +++++
arch/arm/configs/multi_v7_defconfig | 1 +
arch/arm/configs/sunxi_defconfig | 1 +
drivers/gpu/drm/bridge/Kconfig | 7 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/rgb-to-vga.c | 229 +++++++++++++++++++++
drivers/gpu/drm/sun4i/sun4i_rgb.c | 6 -
8 files changed, 341 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/bridge/rgb-to-vga-bridge.txt
create mode 100644 drivers/gpu/drm/bridge/rgb-to-vga.c
--
2.9.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2016-02-10 15:17 Carlos Palminha
0 siblings, 0 replies; 35+ messages in thread
From: Carlos Palminha @ 2016-02-10 15:17 UTC (permalink / raw)
To: David Airlie, Daniel Vetter, dri-devel, Russell King,
CARLOS.PALMINHA
With patch http://patchwork.freedesktop.org/patch/msgid/1455106118-32145-1-git-send-email-palminha@synopsys.com
i2c slave encoder drivers no longer need to implement dummy mode_fixup function.
This patch set nukes the dummy functions from i2c slave encoder drivers.
(changes made on top of Daniel Vetter topic/drm-misc branch)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
[parent not found: <UVD support for older ASICs>]
* (unknown),
@ 2014-03-13 10:57 Thomas Hellstrom
0 siblings, 0 replies; 35+ messages in thread
From: Thomas Hellstrom @ 2014-03-13 10:57 UTC (permalink / raw)
To: airlied, airlied; +Cc: linux-graphics-maintainer, dri-devel
After a previous patch series and a discussion with Daniel Vetter and
David Herrmann, I've reworked the patches a bit. Please review.
Patch 5 is already reviewed.
/Thomas
>From Thomas Hellstrom <thellstrom@vmware.com> # This line is ignored.
From: Thomas Hellstrom <thellstrom@vmware.com>
Subject:
In-Reply-To:
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2013-08-13 9:56 Christian König
0 siblings, 0 replies; 35+ messages in thread
From: Christian König @ 2013-08-13 9:56 UTC (permalink / raw)
To: alexdeucher; +Cc: dri-devel
Hey Alex,
here are my patches for reworking the ring function pointers and separating out the UVD and DMA rings.
Everything is rebased on your drm-next-3.12-wip branch, please review and add them to your branch.
Thanks,
Christian.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]
@ 2013-07-01 8:49 Sedat Dilek
2013-07-01 8:52 ` Daniel Vetter
0 siblings, 1 reply; 35+ messages in thread
From: Sedat Dilek @ 2013-07-01 8:49 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Daniel Vetter, intel-gfx, linux-kernel, DRI, linux-next
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
On Mon, Jul 1, 2013 at 9:59 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Changes since 20130628:
>
> The regulator tree gained a build failure so I used the version from
> next-20130628.
>
> The trivial tree gained a conflict against the fbdev tree.
>
> The arm-soc tree gained a conflict against the net-next tree.
>
> The akpm tree lost a few patches that turned up elsewhere and I removed 2
> that were causing run time problems.
>
[ CC drm and drm-intel folks ]
[ Did not check any relevant MLs ]
Please, see attached dmesg output.
- Sedat -
[-- Attachment #2: dmesg_3.10.0-next20130701-1-iniza-small.txt --]
[-- Type: text/plain, Size: 91391 bytes --]
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.0-next20130701-1-iniza-small (sedat.dilek@gmail.com@fambox) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP Mon Jul 1 10:37:36 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz.next root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Disabled fast string operations
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000d9c9efff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000d9c9f000-0x00000000dae7efff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000dae7f000-0x00000000daf9efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000daf9f000-0x00000000daffefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000dafff000-0x00000000daffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000db000000-0x00000000df9fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ffd80000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fdfffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.6 present.
[ 0.000000] DMI: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] No AGP bridge found
[ 0.000000] e820: last_pfn = 0x11fe00 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF uncachable
[ 0.000000] C0000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask F80000000 write-back
[ 0.000000] 1 base 080000000 mask FC0000000 write-back
[ 0.000000] 2 base 0C0000000 mask FE0000000 write-back
[ 0.000000] 3 base 0DC000000 mask FFC000000 uncachable
[ 0.000000] 4 base 0DB000000 mask FFF000000 uncachable
[ 0.000000] 5 base 100000000 mask FE0000000 write-back
[ 0.000000] 6 base 11FE00000 mask FFFE00000 uncachable
[ 0.000000] 7 base 0FFC00000 mask FFFC00000 write-protect
[ 0.000000] 8 disabled
[ 0.000000] 9 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] e820: last_pfn = 0xdb000 max_arch_pfn = 0x400000000
[ 0.000000] found SMP MP-table at [mem 0x000f00e0-0x000f00ef] mapped at [ffff8800000f00e0]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
[ 0.000000] reserving inaccessible SNB gfx pages
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] BRK [0x0204b000, 0x0204bfff] PGTABLE
[ 0.000000] BRK [0x0204c000, 0x0204cfff] PGTABLE
[ 0.000000] BRK [0x0204d000, 0x0204dfff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x11fc00000-0x11fdfffff]
[ 0.000000] [mem 0x11fc00000-0x11fdfffff] page 2M
[ 0.000000] BRK [0x0204e000, 0x0204efff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x11c000000-0x11fbfffff]
[ 0.000000] [mem 0x11c000000-0x11fbfffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x100000000-0x11bffffff]
[ 0.000000] [mem 0x100000000-0x11bffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1fffffff]
[ 0.000000] [mem 0x00100000-0x001fffff] page 4k
[ 0.000000] [mem 0x00200000-0x1fffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x20200000-0x3fffffff]
[ 0.000000] [mem 0x20200000-0x3fffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x40200000-0xd9c9efff]
[ 0.000000] [mem 0x40200000-0xd9bfffff] page 2M
[ 0.000000] [mem 0xd9c00000-0xd9c9efff] page 4k
[ 0.000000] BRK [0x0204f000, 0x0204ffff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0xdafff000-0xdaffffff]
[ 0.000000] [mem 0xdafff000-0xdaffffff] page 4k
[ 0.000000] RAMDISK: [mem 0x37966000-0x37caafff]
[ 0.000000] ACPI: RSDP 00000000000f0100 00024 (v02 SECCSD)
[ 0.000000] ACPI: XSDT 00000000daffe170 0008C (v01 SECCSD LH43STAR 00000002 PTEC 00000002)
[ 0.000000] ACPI: FACP 00000000dafef000 0010C (v05 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: DSDT 00000000daff2000 083AC (v02 SECCSD SNB-CPT 00000000 INTL 20061109)
[ 0.000000] ACPI: FACS 00000000daf47000 00040
[ 0.000000] ACPI: SLIC 00000000daffd000 00176 (v01 SECCSD LH43STAR 00000002 PTEC 00000001)
[ 0.000000] ACPI: SSDT 00000000daffb000 01068 (v01 SECCSD PtidDevc 00001000 INTL 20061109)
[ 0.000000] ACPI: ASF! 00000000daff1000 000A5 (v32 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: HPET 00000000dafee000 00038 (v01 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: APIC 00000000dafed000 00098 (v03 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: MCFG 00000000dafec000 0003C (v01 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: SSDT 00000000dafeb000 00804 (v01 PmRef Cpu0Ist 00003000 INTL 20061109)
[ 0.000000] ACPI: SSDT 00000000dafea000 00996 (v01 PmRef CpuPm 00003000 INTL 20061109)
[ 0.000000] ACPI: UEFI 00000000dafe9000 0003E (v01 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: UEFI 00000000dafe8000 00042 (v01 PTL COMBUF 00000001 PTL 00000001)
[ 0.000000] ACPI: UEFI 00000000dafe7000 0026A (v01 SECCSD LH43STAR 00000002 PTL 00000002)
[ 0.000000] ACPI: SSDT 00000000dafe6000 000D0 (v01 Iffs IffsAsl 00003000 INTL 20061109)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x11fdfffff]
[ 0.000000] NODE_DATA [mem 0x11fdf7000-0x11fdfbfff]
[ 0.000000] [ffffea0000000000-ffffea0003ffffff] PMD -> [ffff88011b400000-ffff88011edfffff] on node 0
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
[ 0.000000] Normal [mem 0x100000000-0x11fdfffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009cfff]
[ 0.000000] node 0: [mem 0x00100000-0x1fffffff]
[ 0.000000] node 0: [mem 0x20200000-0x3fffffff]
[ 0.000000] node 0: [mem 0x40200000-0xd9c9efff]
[ 0.000000] node 0: [mem 0xdafff000-0xdaffffff]
[ 0.000000] node 0: [mem 0x100000000-0x11fdfffff]
[ 0.000000] On node 0 totalpages: 1021500
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 156 pages reserved
[ 0.000000] DMA zone: 3996 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 12127 pages used for memmap
[ 0.000000] DMA32 zone: 886944 pages, LIFO batch:31
[ 0.000000] Normal zone: 1785 pages used for memmap
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x0e] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 14, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[ 0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 40
[ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x40000000-0x401fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xd9c9f000-0xdae7efff]
[ 0.000000] PM: Registered nosave memory: [mem 0xdae7f000-0xdaf9efff]
[ 0.000000] PM: Registered nosave memory: [mem 0xdaf9f000-0xdaffefff]
[ 0.000000] PM: Registered nosave memory: [mem 0xdb000000-0xdf9fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed07fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed08fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed09000-0xfed0ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffd7ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xffd80000-0xffffffff]
[ 0.000000] e820: [mem 0xdfa00000-0xf7ffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88011fa00000 s87680 r8192 d22912 u262144
[ 0.000000] pcpu-alloc: s87680 r8192 d22912 u262144 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1007376
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz.next root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
[ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[ 0.000000] Memory: 3938472K/4086000K available (7109K kernel code, 1042K rwdata, 3124K rodata, 1332K init, 1984K bss, 147528K reserved)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[ 0.000000] NR_IRQS:16640 nr_irqs:744 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] allocated 16777216 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] ODEBUG: 0 of 0 active objects replaced
[ 0.000000] hpet clockevent registered
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.004000] tsc: Detected 1596.342 MHz processor
[ 0.000003] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.68 BogoMIPS (lpj=6385368)
[ 0.000080] pid_max: default: 32768 minimum: 301
[ 0.000244] Security Framework initialized
[ 0.000302] AppArmor: AppArmor initialized
[ 0.000338] Yama: becoming mindful.
[ 0.000746] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.001852] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.002354] Mount-cache hash table entries: 256
[ 0.002914] Initializing cgroup subsys memory
[ 0.003013] Initializing cgroup subsys devices
[ 0.003051] Initializing cgroup subsys freezer
[ 0.003090] Initializing cgroup subsys blkio
[ 0.003126] Initializing cgroup subsys perf_event
[ 0.003165] Initializing cgroup subsys hugetlb
[ 0.003253] Disabled fast string operations
[ 0.003290] CPU: Physical Processor ID: 0
[ 0.003326] CPU: Processor Core ID: 0
[ 0.003367] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.003367] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[ 0.003432] mce: CPU supports 7 MCE banks
[ 0.003483] CPU0: Thermal monitoring enabled (TM1)
[ 0.003529] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[ 0.003529] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
[ 0.003529] tlb_flushall_shift: 5
[ 0.003701] Freeing SMP alternatives memory: 24K (ffffffff81e53000 - ffffffff81e59000)
[ 0.004785] ACPI: Core revision 20130517
[ 0.015483] ACPI: All ACPI Tables successfully acquired
[ 0.031561] ftrace: allocating 27048 entries in 106 pages
[ 0.046790] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.086487] smpboot: CPU0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (fam: 06, model: 2a, stepping: 07)
[ 0.087102] TSC deadline timer enabled
[ 0.087114] Performance Events: PEBS fmt1+, 16-deep LBR, SandyBridge events, full-width counters, Intel PMU driver.
[ 0.087263] ... version: 3
[ 0.087299] ... bit width: 48
[ 0.087335] ... generic registers: 4
[ 0.087371] ... value mask: 0000ffffffffffff
[ 0.087409] ... max period: 0000ffffffffffff
[ 0.087447] ... fixed-purpose events: 3
[ 0.087483] ... event mask: 000000070000000f
[ 0.100531] Disabled fast string operations
[ 0.103716] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[ 0.115401] Disabled fast string operations
[ 0.129110] Disabled fast string operations
[ 0.089558] smpboot: Booting Node 0, Processors #1 #2 #3
[ 0.131242] Brought up 4 CPUs
[ 0.131344] smpboot: Total of 4 processors activated (12770.73 BogoMIPS)
[ 0.135390] devtmpfs: initialized
[ 0.137426] EVM: security.selinux
[ 0.137461] EVM: security.SMACK64
[ 0.137496] EVM: security.capability
[ 0.137618] PM: Registering ACPI NVS region [mem 0xdae7f000-0xdaf9efff] (1179648 bytes)
[ 0.139131] regulator-dummy: no parameters
[ 0.139326] NET: Registered protocol family 16
[ 0.139702] ACPI: bus type PCI registered
[ 0.139851] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[ 0.139910] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[ 0.146720] PCI: Using configuration type 1 for base access
[ 0.150087] bio: create slab <bio-0> at 0
[ 0.150541] ACPI: Added _OSI(Module Device)
[ 0.150579] ACPI: Added _OSI(Processor Device)
[ 0.150617] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.150655] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.152458] ACPI: EC: Look up EC in DSDT
[ 0.179025] ACPI: Executed 1 blocks of module-level executable AML code
[ 0.184955] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.196806] ACPI: SSDT 00000000dae70718 00688 (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
[ 0.197410] ACPI: Dynamic OEM Table Load:
[ 0.197480] ACPI: SSDT (null) 00688 (v01 PmRef Cpu0Cst 00003001 INTL 20061109)
[ 0.207461] ACPI: SSDT 00000000dae71a98 00303 (v01 PmRef ApIst 00003000 INTL 20061109)
[ 0.208142] ACPI: Dynamic OEM Table Load:
[ 0.208212] ACPI: SSDT (null) 00303 (v01 PmRef ApIst 00003000 INTL 20061109)
[ 0.219430] ACPI: SSDT 00000000dae6fd98 00119 (v01 PmRef ApCst 00003000 INTL 20061109)
[ 0.220003] ACPI: Dynamic OEM Table Load:
[ 0.220074] ACPI: SSDT (null) 00119 (v01 PmRef ApCst 00003000 INTL 20061109)
[ 0.233416] ACPI: Interpreter enabled
[ 0.233467] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130517/hwxface-571)
[ 0.233576] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.233613] ACPI: Using IOAPIC for interrupt routing
[ 0.233708] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.233936] ACPI: No dock devices found.
[ 0.257688] ACPI: Power Resource [FN00] (off)
[ 0.257909] ACPI: Power Resource [FN01] (off)
[ 0.258127] ACPI: Power Resource [FN02] (off)
[ 0.258344] ACPI: Power Resource [FN03] (off)
[ 0.258562] ACPI: Power Resource [FN04] (off)
[ 0.259745] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[ 0.260118] \_SB_.PCI0:_OSC invalid UUID
[ 0.260120] _OSC request data:1 8 0
[ 0.261080] PCI host bridge to bus 0000:00
[ 0.261119] pci_bus 0000:00: root bus resource [bus 00-3e]
[ 0.261159] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
[ 0.261200] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[ 0.261241] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[ 0.261283] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff]
[ 0.261324] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff]
[ 0.261380] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000
[ 0.261534] pci 0000:00:02.0: [8086:0116] type 00 class 0x030000
[ 0.261548] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf03fffff 64bit]
[ 0.261555] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[ 0.261560] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f]
[ 0.261741] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000
[ 0.261767] pci 0000:00:16.0: reg 0x10: [mem 0xf0705000-0xf070500f 64bit]
[ 0.261853] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[ 0.262006] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320
[ 0.262030] pci 0000:00:1a.0: reg 0x10: [mem 0xf070a000-0xf070a3ff]
[ 0.262131] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[ 0.262238] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300
[ 0.262257] pci 0000:00:1b.0: reg 0x10: [mem 0xf0700000-0xf0703fff 64bit]
[ 0.262336] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.262381] pci 0000:00:1b.0: System wakeup disabled by ACPI
[ 0.262487] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400
[ 0.262577] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.262630] pci 0000:00:1c.0: System wakeup disabled by ACPI
[ 0.262739] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400
[ 0.262828] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[ 0.262884] pci 0000:00:1c.3: System wakeup disabled by ACPI
[ 0.262993] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400
[ 0.263083] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[ 0.263209] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320
[ 0.263238] pci 0000:00:1d.0: reg 0x10: [mem 0xf0709000-0xf07093ff]
[ 0.263339] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[ 0.263445] pci 0000:00:1f.0: [8086:1c49] type 00 class 0x060100
[ 0.263641] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601
[ 0.263663] pci 0000:00:1f.2: reg 0x10: [io 0x3088-0x308f]
[ 0.263673] pci 0000:00:1f.2: reg 0x14: [io 0x3094-0x3097]
[ 0.263683] pci 0000:00:1f.2: reg 0x18: [io 0x3080-0x3087]
[ 0.263693] pci 0000:00:1f.2: reg 0x1c: [io 0x3090-0x3093]
[ 0.263703] pci 0000:00:1f.2: reg 0x20: [io 0x3060-0x307f]
[ 0.263714] pci 0000:00:1f.2: reg 0x24: [mem 0xf0708000-0xf07087ff]
[ 0.263766] pci 0000:00:1f.2: PME# supported from D3hot
[ 0.263882] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500
[ 0.263900] pci 0000:00:1f.3: reg 0x10: [mem 0xf0704000-0xf07040ff 64bit]
[ 0.263925] pci 0000:00:1f.3: reg 0x20: [io 0xefa0-0xefbf]
[ 0.264296] pci 0000:01:00.0: [8086:0091] type 00 class 0x028000
[ 0.264477] pci 0000:01:00.0: reg 0x10: [mem 0xf0600000-0xf0601fff 64bit]
[ 0.265206] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.265382] pci 0000:01:00.0: System wakeup disabled by ACPI
[ 0.271393] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.271438] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff]
[ 0.271617] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[ 0.271687] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff]
[ 0.271805] pci 0000:02:00.0: reg 0x18: [mem 0xf0404000-0xf0404fff 64bit pref]
[ 0.271881] pci 0000:02:00.0: reg 0x20: [mem 0xf0400000-0xf0403fff 64bit pref]
[ 0.272219] pci 0000:02:00.0: supports D1 D2
[ 0.272221] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.272348] pci 0000:02:00.0: System wakeup disabled by ACPI
[ 0.279314] pci 0000:00:1c.3: PCI bridge to [bus 02]
[ 0.279375] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff]
[ 0.279384] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[ 0.279509] pci 0000:03:00.0: [1b21:1042] type 00 class 0x0c0330
[ 0.279547] pci 0000:03:00.0: reg 0x10: [mem 0xf0500000-0xf0507fff 64bit]
[ 0.279745] pci 0000:03:00.0: PME# supported from D3hot D3cold
[ 0.287285] pci 0000:00:1c.4: PCI bridge to [bus 03]
[ 0.287361] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff]
[ 0.287543] \_SB_.PCI0:_OSC invalid UUID
[ 0.287545] _OSC request data:1 1f 0
[ 0.287549] acpi PNP0A08:00: ACPI _OSC support notification failed, disabling PCIe ASPM
[ 0.287605] acpi PNP0A08:00: Unable to request _OSC control (_OSC support mask: 0x08)
[ 0.288499] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[ 0.288848] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[ 0.289241] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[ 0.289585] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[ 0.289931] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[ 0.290305] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[ 0.290696] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[ 0.291045] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[ 0.291955] ACPI: Enabled 4 GPEs in block 00 to 3F
[ 0.292032] ACPI: \_SB_.PCI0: notify handler is installed
[ 0.292093] Found 1 acpi root devices
[ 0.292162] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
[ 0.292516] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.292575] vgaarb: loaded
[ 0.292609] vgaarb: bridge control possible 0000:00:02.0
[ 0.293318] SCSI subsystem initialized
[ 0.293355] ACPI: bus type ATA registered
[ 0.293492] libata version 3.00 loaded.
[ 0.293551] ACPI: bus type USB registered
[ 0.293633] usbcore: registered new interface driver usbfs
[ 0.293694] usbcore: registered new interface driver hub
[ 0.293787] usbcore: registered new device driver usb
[ 0.294173] PCI: Using ACPI for IRQ routing
[ 0.295882] PCI: pci_cache_line_size set to 64 bytes
[ 0.295994] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
[ 0.295997] e820: reserve RAM buffer [mem 0xd9c9f000-0xdbffffff]
[ 0.295999] e820: reserve RAM buffer [mem 0xdb000000-0xdbffffff]
[ 0.296001] e820: reserve RAM buffer [mem 0x11fe00000-0x11fffffff]
[ 0.296244] NetLabel: Initializing
[ 0.296280] NetLabel: domain hash size = 128
[ 0.296317] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.296401] NetLabel: unlabeled traffic allowed by default
[ 0.296528] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[ 0.296720] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[ 0.299787] Switched to clocksource hpet
[ 0.317353] AppArmor: AppArmor Filesystem Enabled
[ 0.317447] pnp: PnP ACPI init
[ 0.317499] ACPI: bus type PNP registered
[ 0.317890] pnp 00:00: [dma 4]
[ 0.317933] pnp 00:00: Plug and Play ACPI device, IDs PNP0200 (active)
[ 0.317977] pnp 00:01: Plug and Play ACPI device, IDs INT0800 (active)
[ 0.318143] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
[ 0.318199] pnp 00:03: Plug and Play ACPI device, IDs PNP0c04 (active)
[ 0.318278] system 00:04: [io 0x0680-0x069f] has been reserved
[ 0.318320] system 00:04: [io 0x1000-0x100f] has been reserved
[ 0.318360] system 00:04: [io 0x5000-0x5003] has been reserved
[ 0.318401] system 00:04: [io 0xffff] has been reserved
[ 0.318441] system 00:04: [io 0x0400-0x0453] could not be reserved
[ 0.318482] system 00:04: [io 0x0458-0x047f] has been reserved
[ 0.318523] system 00:04: [io 0x0500-0x057f] has been reserved
[ 0.318564] system 00:04: [io 0x0a00-0x0a0f] has been reserved
[ 0.318605] system 00:04: [io 0x164e-0x164f] has been reserved
[ 0.318646] system 00:04: [io 0x5000-0x500f] could not be reserved
[ 0.318688] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.318739] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.318832] system 00:06: [io 0x0454-0x0457] has been reserved
[ 0.318875] system 00:06: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[ 0.318935] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
[ 0.319019] pnp 00:08: Plug and Play ACPI device, IDs ETD0b00 SYN0002 PNP0f13 (active)
[ 0.319327] system 00:09: [mem 0xfed1c000-0xfed1ffff] has been reserved
[ 0.319370] system 00:09: [mem 0xfed10000-0xfed17fff] has been reserved
[ 0.319412] system 00:09: [mem 0xfed18000-0xfed18fff] has been reserved
[ 0.319454] system 00:09: [mem 0xfed19000-0xfed19fff] has been reserved
[ 0.319496] system 00:09: [mem 0xf8000000-0xfbffffff] has been reserved
[ 0.319537] system 00:09: [mem 0xfed20000-0xfed3ffff] has been reserved
[ 0.319578] system 00:09: [mem 0xfed90000-0xfed93fff] has been reserved
[ 0.319621] system 00:09: [mem 0xfed45000-0xfed8ffff] has been reserved
[ 0.319663] system 00:09: [mem 0xff000000-0xffffffff] could not be reserved
[ 0.319706] system 00:09: [mem 0xfee00000-0xfeefffff] could not be reserved
[ 0.319749] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.320472] system 00:0a: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.320511] pnp: PnP ACPI: found 11 devices
[ 0.320548] ACPI: bus type PNP unregistered
[ 0.328621] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.328666] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff]
[ 0.328714] pci 0000:00:1c.3: PCI bridge to [bus 02]
[ 0.328754] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff]
[ 0.328802] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[ 0.328863] pci 0000:00:1c.4: PCI bridge to [bus 03]
[ 0.328906] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff]
[ 0.329376] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
[ 0.329378] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
[ 0.329380] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[ 0.329382] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff]
[ 0.329384] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed44fff]
[ 0.329386] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff]
[ 0.329389] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff]
[ 0.329391] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref]
[ 0.329393] pci_bus 0000:03: resource 1 [mem 0xf0500000-0xf05fffff]
[ 0.329529] NET: Registered protocol family 2
[ 0.329938] TCP established hash table entries: 32768 (order: 7, 524288 bytes)
[ 0.330171] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)
[ 0.330504] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.330802] TCP: reno registered
[ 0.330855] UDP hash table entries: 2048 (order: 5, 196608 bytes)
[ 0.330960] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes)
[ 0.331254] NET: Registered protocol family 1
[ 0.331310] pci 0000:00:02.0: Boot video device
[ 0.332104] PCI: CLS 64 bytes, default 64
[ 0.332314] Trying to unpack rootfs image as initramfs...
[ 0.408427] Freeing initrd memory: 3348K (ffff880037966000 - ffff880037cab000)
[ 0.408488] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.408530] software IO TLB [mem 0xd5c9f000-0xd9c9f000] (64MB) mapped at [ffff8800d5c9f000-ffff8800d9c9efff]
[ 0.408837] perf: amd_iommu PMU not installed. No support!
[ 0.409000] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x28
[ 0.409047] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x28
[ 0.409098] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x28
[ 0.409149] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x28
[ 0.409273] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 0.409331] Scanning for low memory corruption every 60 seconds
[ 0.409969] Initialise module verification
[ 0.410068] audit: initializing netlink socket (disabled)
[ 0.410128] type=2000 audit(1372675389.396:1): initialized
[ 0.440083] bounce pool size: 64 pages
[ 0.440144] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.441362] VFS: Disk quotas dquot_6.5.2
[ 0.441441] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.442310] fuse init (API version 7.22)
[ 0.442451] msgmni has been set to 7698
[ 0.443206] Key type asymmetric registered
[ 0.443244] Asymmetric key parser 'x509' registered
[ 0.443330] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.443440] io scheduler noop registered
[ 0.443478] io scheduler deadline registered (default)
[ 0.443554] io scheduler cfq registered
[ 0.444032] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.444113] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.444246] intel_idle: MWAIT substates: 0x21120
[ 0.444247] intel_idle: v0.4 model 0x2A
[ 0.444249] intel_idle: lapic_timer_reliable_states 0xffffffff
[ 0.444721] ACPI: AC Adapter [ADP1] (on-line)
[ 0.445172] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
[ 0.445249] ACPI: Lid Switch [LID0]
[ 0.445348] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[ 0.445407] ACPI: Power Button [PWRB]
[ 0.445502] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 0.445559] ACPI: Power Button [PWRF]
[ 0.445686] ACPI: Fan [FAN0] (off)
[ 0.445775] ACPI: Fan [FAN1] (off)
[ 0.445862] ACPI: Fan [FAN2] (off)
[ 0.445948] ACPI: Fan [FAN3] (off)
[ 0.446032] ACPI: Fan [FAN4] (off)
[ 0.446148] ACPI: Requesting acpi_cpufreq
[ 0.449519] thermal LNXTHERM:00: registered as thermal_zone0
[ 0.449560] ACPI: Thermal Zone [TZ00] (68 C)
[ 0.450016] thermal LNXTHERM:01: registered as thermal_zone1
[ 0.450056] ACPI: Thermal Zone [TZ01] (30 C)
[ 0.450142] GHES: HEST is not enabled!
[ 0.450372] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.455207] ACPI: Battery Slot [BAT1] (battery present)
[ 0.455223] Linux agpgart interface v0.103
[ 0.457809] brd: module loaded
[ 0.459219] loop: module loaded
[ 0.459485] mei_me 0000:00:16.0: setting latency timer to 64
[ 0.459532] mei_me 0000:00:16.0: irq 40 for MSI/MSI-X
[ 0.462701] ahci 0000:00:1f.2: version 3.0
[ 0.462888] ahci 0000:00:1f.2: irq 41 for MSI/MSI-X
[ 0.463094] ahci: SSS flag set, parallel bus scan disabled
[ 0.475703] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode
[ 0.475760] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst
[ 0.475821] ahci 0000:00:1f.2: setting latency timer to 64
[ 0.500504] scsi0 : ahci
[ 0.500747] scsi1 : ahci
[ 0.500900] scsi2 : ahci
[ 0.501058] scsi3 : ahci
[ 0.501212] scsi4 : ahci
[ 0.501365] scsi5 : ahci
[ 0.501475] ata1: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708100 irq 41
[ 0.501530] ata2: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708180 irq 41
[ 0.501583] ata3: DUMMY
[ 0.501618] ata4: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708280 irq 41
[ 0.501672] ata5: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708300 irq 41
[ 0.501725] ata6: DUMMY
[ 0.502612] libphy: Fixed MDIO Bus: probed
[ 0.502924] tun: Universal TUN/TAP device driver, 1.6
[ 0.502962] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.503088] PPP generic driver version 2.4.2
[ 0.503235] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.503276] ehci_hcd: block sizes: qh 112 qtd 96 itd 192 sitd 96
[ 0.503286] ehci-pci: EHCI PCI platform driver
[ 0.503502] ehci-pci 0000:00:1a.0: setting latency timer to 64
[ 0.503511] ehci-pci 0000:00:1a.0: EHCI Host Controller
[ 0.503557] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[ 0.503628] ehci-pci 0000:00:1a.0: debug port 2
[ 0.503683] ehci-pci 0000:00:1a.0: reset hcs_params 0x200002 dbg=2 cc=0 pcc=0 ordered !ppc ports=2
[ 0.503687] ehci-pci 0000:00:1a.0: reset hcc_params 36881 caching frame 1024 64 bit addr
[ 0.503727] ehci-pci 0000:00:1a.0: reset command 0080002 (park)=0 ithresh=8 period=1024 Reset HALT
[ 0.507614] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[ 0.507616] ehci-pci 0000:00:1a.0: supports USB remote wakeup
[ 0.507667] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000
[ 0.507709] ehci-pci 0000:00:1a.0: init command 0010001 (park)=0 ithresh=1 period=1024 RUN
[ 0.519644] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[ 0.519719] usb usb1: default language 0x0409
[ 0.519732] usb usb1: udev 1, busnum 1, minor = 0
[ 0.519735] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.519776] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.519830] usb usb1: Product: EHCI Host Controller
[ 0.519867] usb usb1: Manufacturer: Linux 3.10.0-next20130701-1-iniza-small ehci_hcd
[ 0.519922] usb usb1: SerialNumber: 0000:00:1a.0
[ 0.520088] usb usb1: usb_probe_device
[ 0.520091] usb usb1: configuration #1 chosen from 1 choice
[ 0.520102] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 0.520135] hub 1-0:1.0: usb_probe_interface
[ 0.520137] hub 1-0:1.0: usb_probe_interface - got id
[ 0.520140] hub 1-0:1.0: USB hub found
[ 0.520184] hub 1-0:1.0: 2 ports detected
[ 0.520220] hub 1-0:1.0: standalone hub
[ 0.520222] hub 1-0:1.0: no power switching (usb 1.0)
[ 0.520223] hub 1-0:1.0: individual port over-current protection
[ 0.520225] hub 1-0:1.0: power on to power good time: 20ms
[ 0.520231] hub 1-0:1.0: local power source is good
[ 0.520286] hub 1-0:1.0: trying to enable port power on non-switchable hub
[ 0.520506] ehci-pci 0000:00:1d.0: setting latency timer to 64
[ 0.520513] ehci-pci 0000:00:1d.0: EHCI Host Controller
[ 0.520559] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 0.520628] ehci-pci 0000:00:1d.0: debug port 2
[ 0.520668] ehci-pci 0000:00:1d.0: reset hcs_params 0x200002 dbg=2 cc=0 pcc=0 ordered !ppc ports=2
[ 0.520672] ehci-pci 0000:00:1d.0: reset hcc_params 36881 caching frame 1024 64 bit addr
[ 0.520706] ehci-pci 0000:00:1d.0: reset command 0080002 (park)=0 ithresh=8 period=1024 Reset HALT
[ 0.524602] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[ 0.524604] ehci-pci 0000:00:1d.0: supports USB remote wakeup
[ 0.524649] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000
[ 0.524692] ehci-pci 0000:00:1d.0: init command 0010001 (park)=0 ithresh=1 period=1024 RUN
[ 0.535633] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[ 0.535706] usb usb2: default language 0x0409
[ 0.535718] usb usb2: udev 1, busnum 2, minor = 128
[ 0.535720] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.535762] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.535815] usb usb2: Product: EHCI Host Controller
[ 0.535853] usb usb2: Manufacturer: Linux 3.10.0-next20130701-1-iniza-small ehci_hcd
[ 0.535908] usb usb2: SerialNumber: 0000:00:1d.0
[ 0.536057] usb usb2: usb_probe_device
[ 0.536060] usb usb2: configuration #1 chosen from 1 choice
[ 0.536069] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[ 0.536101] hub 2-0:1.0: usb_probe_interface
[ 0.536103] hub 2-0:1.0: usb_probe_interface - got id
[ 0.536105] hub 2-0:1.0: USB hub found
[ 0.536146] hub 2-0:1.0: 2 ports detected
[ 0.536182] hub 2-0:1.0: standalone hub
[ 0.536183] hub 2-0:1.0: no power switching (usb 1.0)
[ 0.536185] hub 2-0:1.0: individual port over-current protection
[ 0.536187] hub 2-0:1.0: power on to power good time: 20ms
[ 0.536192] hub 2-0:1.0: local power source is good
[ 0.536245] hub 2-0:1.0: trying to enable port power on non-switchable hub
[ 0.536318] ehci-platform: EHCI generic platform driver
[ 0.536373] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.536413] ohci_hcd: block sizes: ed 80 td 96
[ 0.536418] ohci-pci: OHCI PCI platform driver
[ 0.536473] ohci-platform: OHCI generic platform driver
[ 0.536528] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.536769] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 0.536814] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3
[ 0.546588] xhci_hcd 0000:03:00.0: supports USB remote wakeup
[ 0.546621] xhci_hcd 0000:03:00.0: irq 42 for MSI/MSI-X
[ 0.546629] xhci_hcd 0000:03:00.0: irq 43 for MSI/MSI-X
[ 0.546636] xhci_hcd 0000:03:00.0: irq 44 for MSI/MSI-X
[ 0.546643] xhci_hcd 0000:03:00.0: irq 45 for MSI/MSI-X
[ 0.546652] xhci_hcd 0000:03:00.0: irq 46 for MSI/MSI-X
[ 0.546922] usb usb3: default language 0x0409
[ 0.546933] usb usb3: udev 1, busnum 3, minor = 256
[ 0.546935] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.546977] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.547030] usb usb3: Product: xHCI Host Controller
[ 0.547069] usb usb3: Manufacturer: Linux 3.10.0-next20130701-1-iniza-small xhci_hcd
[ 0.547123] usb usb3: SerialNumber: 0000:03:00.0
[ 0.547305] usb usb3: usb_probe_device
[ 0.547308] usb usb3: configuration #1 chosen from 1 choice
[ 0.547313] xHCI xhci_add_endpoint called for root hub
[ 0.547314] xHCI xhci_check_bandwidth called for root hub
[ 0.547323] usb usb3: adding 3-0:1.0 (config #1, interface 0)
[ 0.547354] hub 3-0:1.0: usb_probe_interface
[ 0.547356] hub 3-0:1.0: usb_probe_interface - got id
[ 0.547358] hub 3-0:1.0: USB hub found
[ 0.547403] hub 3-0:1.0: 2 ports detected
[ 0.547440] hub 3-0:1.0: standalone hub
[ 0.547441] hub 3-0:1.0: no power switching (usb 1.0)
[ 0.547443] hub 3-0:1.0: individual port over-current protection
[ 0.547444] hub 3-0:1.0: Single TT
[ 0.547446] hub 3-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 0.547448] hub 3-0:1.0: power on to power good time: 20ms
[ 0.547453] hub 3-0:1.0: local power source is good
[ 0.547493] hub 3-0:1.0: trying to enable port power on non-switchable hub
[ 0.547558] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 0.547602] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4
[ 0.547677] xhci_hcd 0000:03:00.0: supports USB remote wakeup
[ 0.547711] usb usb4: skipped 1 descriptor after endpoint
[ 0.547716] usb usb4: default language 0x0409
[ 0.547728] usb usb4: udev 1, busnum 4, minor = 384
[ 0.547730] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 0.547771] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.547825] usb usb4: Product: xHCI Host Controller
[ 0.547863] usb usb4: Manufacturer: Linux 3.10.0-next20130701-1-iniza-small xhci_hcd
[ 0.547917] usb usb4: SerialNumber: 0000:03:00.0
[ 0.548052] usb usb4: usb_probe_device
[ 0.548054] usb usb4: configuration #1 chosen from 1 choice
[ 0.548059] xHCI xhci_add_endpoint called for root hub
[ 0.548061] xHCI xhci_check_bandwidth called for root hub
[ 0.548067] usb usb4: adding 4-0:1.0 (config #1, interface 0)
[ 0.548097] hub 4-0:1.0: usb_probe_interface
[ 0.548099] hub 4-0:1.0: usb_probe_interface - got id
[ 0.548101] hub 4-0:1.0: USB hub found
[ 0.548146] hub 4-0:1.0: 2 ports detected
[ 0.548183] hub 4-0:1.0: standalone hub
[ 0.548184] hub 4-0:1.0: no power switching (usb 1.0)
[ 0.548186] hub 4-0:1.0: individual port over-current protection
[ 0.548188] hub 4-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 0.548189] hub 4-0:1.0: power on to power good time: 20ms
[ 0.548194] hub 4-0:1.0: local power source is good
[ 0.548227] hub 4-0:1.0: trying to enable port power on non-switchable hub
[ 0.559688] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12
[ 0.566094] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.566136] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.566395] mousedev: PS/2 mouse device common for all mice
[ 0.566896] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[ 0.566968] rtc_cmos 00:05: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[ 0.567086] device-mapper: uevent: version 1.0.3
[ 0.567211] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-devel@redhat.com
[ 0.567272] Intel P-state driver initializing.
[ 0.567321] Intel pstate controlling: cpu 0
[ 0.567381] Intel pstate controlling: cpu 1
[ 0.567439] Intel pstate controlling: cpu 2
[ 0.567506] Intel pstate controlling: cpu 3
[ 0.567801] cpuidle: using governor ladder
[ 0.568073] cpuidle: using governor menu
[ 0.568117] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.568397] ashmem: initialized
[ 0.568594] TCP: cubic registered
[ 0.569013] NET: Registered protocol family 10
[ 0.569694] NET: Registered protocol family 17
[ 0.569762] Key type dns_resolver registered
[ 0.570363] PM: Hibernation image not present or could not be loaded.
[ 0.570369] Loading module verification certificates
[ 0.571755] MODSIGN: Loaded cert 'Magrathea: Glacier signing key: c945ba9e42283730cd6e235667a916481a260bf0'
[ 0.571840] registered taskstats version 1
[ 0.575427] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 0.576863] Key type trusted registered
[ 0.584585] Key type encrypted registered
[ 0.590457] rtc_cmos 00:05: setting system clock to 2013-07-01 10:43:09 UTC (1372675389)
[ 0.590902] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.590941] EDD information not available.
[ 0.619708] ehci-pci 0000:00:1a.0: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
[ 0.619728] hub 1-0:1.0: port 1: status 0501 change 0001
[ 0.635689] ehci-pci 0000:00:1d.0: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
[ 0.635701] hub 2-0:1.0: port 1: status 0501 change 0001
[ 0.643699] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 0.643935] hub 3-0:1.0: hub_suspend
[ 0.643945] usb usb3: bus auto-suspend, wakeup 1
[ 0.647703] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 0.647751] hub 4-0:1.0: hub_suspend
[ 0.647758] usb usb4: bus auto-suspend, wakeup 1
[ 0.656265] usb usb4: usb wakeup-resume
[ 0.656276] usb usb4: usb auto-resume
[ 0.667667] hub 4-0:1.0: hub_resume
[ 0.667694] hub 4-0:1.0: port 1: status 0203 change 0001
[ 0.719638] hub 1-0:1.0: state 7 ports 2 chg 0002 evt 0000
[ 0.719667] hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
[ 0.775799] ehci-pci 0000:00:1a.0: port 1 reset complete, port enabled
[ 0.775806] ehci-pci 0000:00:1a.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 0.819543] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.820811] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA6C0, max UDMA/133
[ 0.820866] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 0.822293] ata1.00: configured for UDMA/133
[ 0.822684] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54505 GG2O PQ: 0 ANSI: 5
[ 0.823089] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 0.823143] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 0.823210] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 0.823466] sd 0:0:0:0: [sda] Write Protect is off
[ 0.823512] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.823688] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.831500] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 0.833810] sda: sda1 sda2 sda3
[ 0.835259] sd 0:0:0:0: [sda] Attached SCSI disk
[ 0.887721] ehci-pci 0000:00:1a.0: port 1 reset complete, port enabled
[ 0.887733] ehci-pci 0000:00:1a.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 0.964160] usb 1-1: udev 2, busnum 1, minor = 1
[ 0.964168] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[ 0.964222] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 0.964549] usb 1-1: usb_probe_device
[ 0.964557] usb 1-1: configuration #1 chosen from 1 choice
[ 0.964772] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 0.964835] hub 1-1:1.0: usb_probe_interface
[ 0.964839] hub 1-1:1.0: usb_probe_interface - got id
[ 0.964844] hub 1-1:1.0: USB hub found
[ 0.965631] hub 1-1:1.0: 6 ports detected
[ 0.965681] hub 1-1:1.0: standalone hub
[ 0.965684] hub 1-1:1.0: individual port power switching
[ 0.965687] hub 1-1:1.0: individual port over-current protection
[ 0.965689] hub 1-1:1.0: Single TT
[ 0.965692] hub 1-1:1.0: TT requires at most 8 FS bit times (666 ns)
[ 0.965694] hub 1-1:1.0: power on to power good time: 100ms
[ 0.965961] hub 1-1:1.0: local power source is good
[ 0.966279] hub 1-1:1.0: enabling power on all ports
[ 0.967382] hub 2-0:1.0: state 7 ports 2 chg 0002 evt 0000
[ 0.967396] hub 2-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
[ 1.023622] ehci-pci 0000:00:1d.0: port 1 reset complete, port enabled
[ 1.023632] ehci-pci 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.064308] hub 1-1:1.0: port 4: status 0101 change 0001
[ 1.079354] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.135543] ehci-pci 0000:00:1d.0: port 1 reset complete, port enabled
[ 1.135555] ehci-pci 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 1.139315] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.139971] ata2.00: ATA-8: SanDisk iSSD P4 16GB, SSD 9.14, max UDMA/133
[ 1.140027] ata2.00: 31277232 sectors, multi 1: LBA48
[ 1.140766] ata2.00: configured for UDMA/133
[ 1.141165] scsi 1:0:0:0: Direct-Access ATA SanDisk iSSD P4 SSD PQ: 0 ANSI: 5
[ 1.141514] sd 1:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 1.141535] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 1.141782] sd 1:0:0:0: [sdb] Write Protect is off
[ 1.141830] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 1.141870] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.142987] sdb: sdb1 sdb2
[ 1.143852] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 1.163304] usb 1-1: link qh256-0001/ffff8801187717c0 start 1 [1/0 us]
[ 1.211985] usb 2-1: udev 2, busnum 2, minor = 129
[ 1.211993] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[ 1.212058] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.212401] usb 2-1: usb_probe_device
[ 1.212408] usb 2-1: configuration #1 chosen from 1 choice
[ 1.212587] usb 2-1: adding 2-1:1.0 (config #1, interface 0)
[ 1.212657] hub 2-1:1.0: usb_probe_interface
[ 1.212661] hub 2-1:1.0: usb_probe_interface - got id
[ 1.212667] hub 2-1:1.0: USB hub found
[ 1.212956] hub 2-1:1.0: 6 ports detected
[ 1.213016] hub 2-1:1.0: standalone hub
[ 1.213020] hub 2-1:1.0: individual port power switching
[ 1.213022] hub 2-1:1.0: individual port over-current protection
[ 1.213025] hub 2-1:1.0: Single TT
[ 1.213028] hub 2-1:1.0: TT requires at most 8 FS bit times (666 ns)
[ 1.213031] hub 2-1:1.0: power on to power good time: 100ms
[ 1.213475] hub 2-1:1.0: local power source is good
[ 1.213820] hub 2-1:1.0: enabling power on all ports
[ 1.214963] hub 4-0:1.0: state 7 ports 2 chg 0002 evt 0000
[ 1.214989] hub 4-0:1.0: port 1, status 0203, change 0000, 5.0 Gb/s
[ 1.312392] hub 2-1:1.0: port 5: status 0101 change 0001
[ 1.330789] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1.343793] usb 4-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 1.344196] usb 4-1: skipped 1 descriptor after endpoint
[ 1.344201] usb 4-1: skipped 1 descriptor after endpoint
[ 1.344378] usb 4-1: default language 0x0409
[ 1.344734] usb 4-1: udev 2, busnum 4, minor = 385
[ 1.344753] usb 4-1: New USB device found, idVendor=174c, idProduct=55aa
[ 1.344803] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 1.344851] usb 4-1: Product: MEDION HDDrive-n-GO
[ 1.344893] usb 4-1: Manufacturer: MEDION
[ 1.344935] usb 4-1: SerialNumber: 3180000000000000092C
[ 1.345195] usb 4-1: usb_probe_device
[ 1.345200] usb 4-1: configuration #1 chosen from 1 choice
[ 1.346262] usb 4-1: Successful Endpoint Configure command
[ 1.346387] usb 4-1: adding 4-1:1.0 (config #1, interface 0)
[ 1.346522] hub 1-1:1.0: state 7 ports 6 chg 0010 evt 0000
[ 1.346675] hub 1-1:1.0: port 4, status 0101, change 0000, 12 Mb/s
[ 1.407123] tsc: Refined TSC clocksource calibration: 1596.373 MHz
[ 1.411142] usb 2-1: link qh256-0001/ffff8801187714c0 start 1 [1/0 us]
[ 1.415334] usb 1-1.4: new high-speed USB device number 3 using ehci-pci
[ 1.459105] ata4: SATA link down (SStatus 0 SControl 300)
[ 1.652838] usb 1-1.4: skipped 1 descriptor after configuration
[ 1.652845] usb 1-1.4: skipped 5 descriptors after interface
[ 1.652850] usb 1-1.4: skipped 1 descriptor after endpoint
[ 1.652854] usb 1-1.4: skipped 23 descriptors after interface
[ 1.655053] usb 1-1.4: default language 0x0409
[ 1.667311] usb 1-1.4: udev 3, busnum 1, minor = 2
[ 1.667319] usb 1-1.4: New USB device found, idVendor=2232, idProduct=1018
[ 1.667374] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.667441] usb 1-1.4: Product: WebCam SC-13HDL11431N
[ 1.667486] usb 1-1.4: Manufacturer: 123
[ 1.667787] usb 1-1.4: usb_probe_device
[ 1.667792] usb 1-1.4: configuration #1 chosen from 1 choice
[ 1.667932] usb 1-1.4: adding 1-1.4:1.0 (config #1, interface 0)
[ 1.778865] ata5: SATA link down (SStatus 0 SControl 300)
[ 1.781053] Freeing unused kernel memory: 1332K (ffffffff81d06000 - ffffffff81e53000)
[ 1.781121] Write protecting the kernel read-only data: 12288k
[ 1.784695] Freeing unused kernel memory: 1072K (ffff8800016f4000 - ffff880001800000)
[ 1.787284] Freeing unused kernel memory: 972K (ffff880001b0d000 - ffff880001c00000)
[ 1.811107] udevd[123]: starting version 175
[ 1.839901] usb 1-1.4: adding 1-1.4:1.1 (config #1, interface 1)
[ 1.840028] hub 2-1:1.0: state 7 ports 6 chg 0020 evt 0000
[ 1.840179] hub 2-1:1.0: port 5, status 0101, change 0000, 12 Mb/s
[ 1.910759] usb 2-1.5: new full-speed USB device number 3 using ehci-pci
[ 1.950113] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.950205] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 1.950588] r8169 0000:02:00.0: irq 47 for MSI/MSI-X
[ 1.951031] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000620000, e8:03:9a:36:17:a9, XID 0c900800 IRQ 47
[ 1.951102] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 1.959608] usb-storage 4-1:1.0: usb_probe_interface
[ 1.959616] usb-storage 4-1:1.0: usb_probe_interface - got id
[ 1.959621] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 1.960172] scsi6 : usb-storage 4-1:1.0
[ 1.960343] usbcore: registered new interface driver usb-storage
[ 2.006955] usb 2-1.5: udev 3, busnum 2, minor = 130
[ 2.006961] usb 2-1.5: New USB device found, idVendor=8086, idProduct=0189
[ 2.007010] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.007248] usb 2-1.5: usb_probe_device
[ 2.007278] usb 2-1.5: configuration #1 chosen from 1 choice
[ 2.007822] usb 2-1.5: adding 2-1.5:1.0 (config #1, interface 0)
[ 2.007990] usb 2-1.5: adding 2-1.5:1.1 (config #1, interface 1)
[ 2.958503] scsi 6:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 6
[ 2.959109] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2.959225] sd 6:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 2.959734] sd 6:0:0:0: [sdc] Write Protect is off
[ 2.959782] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
[ 2.960285] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.962845] sdc: sdc1 sdc2 sdc3
[ 2.964847] sd 6:0:0:0: [sdc] Attached SCSI disk
[ 2.984548] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[ 4.837034] init: ureadahead main process (327) terminated with status 5
[ 8.426899] Adding 262140k swap on /host/ubuntu/disks/swap.disk. Priority:-1 extents:1 across:262140k FS
[ 8.574772] EXT4-fs (loop0): re-mounted. Opts: errors=remount-ro
[ 8.775521] udevd[611]: starting version 175
[ 9.736895] lp: driver loaded but no devices found
[ 11.541993] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20130517/utaddress-251)
[ 11.542006] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 11.542013] ACPI Warning: 0x0000000000000540-0x000000000000054f SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[ 11.542019] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 11.542022] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[ 11.542027] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 11.542029] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20130517/utaddress-251)
[ 11.542033] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 11.542036] lpc_ich: Resource conflict(s) found affecting gpio_ich
[ 11.639924] wmi: Mapper loaded
[ 11.668643] samsung_laptop: detected SABI interface: SwSmi@
[ 11.668648] samsung_laptop: Backlight controlled by ACPI video driver
[ 12.023765] [drm] Initialized drm 1.1.0 20060810
[ 12.029124] cfg80211: Calling CRDA to update world regulatory domain
[ 12.074096] Bluetooth: Core ver 2.16
[ 12.074149] NET: Registered protocol family 31
[ 12.074152] Bluetooth: HCI device and connection manager initialized
[ 12.074168] Bluetooth: HCI socket layer initialized
[ 12.074180] Bluetooth: L2CAP socket layer initialized
[ 12.074205] Bluetooth: SCO socket layer initialized
[ 12.312618] btusb 2-1.5:1.0: usb_probe_interface
[ 12.312625] btusb 2-1.5:1.0: usb_probe_interface - got id
[ 12.313398] usbcore: registered new interface driver btusb
[ 12.313857] usb 2-1.5: link qh1-0e01/ffff880108dfa640 start 0 [1/2 us]
[ 12.511651] Intel(R) Wireless WiFi driver for Linux, in-tree:d
[ 12.511655] Copyright(c) 2003-2013 Intel Corporation
[ 12.511715] iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 12.511987] iwlwifi 0000:01:00.0: irq 48 for MSI/MSI-X
[ 12.853160] Linux video capture interface: v2.00
[ 13.018448] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f00)
[ 13.033659] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c.
[ 13.053047] [drm] Memory usable by graphics device = 2048M
[ 13.053056] i915 0000:00:02.0: setting latency timer to 64
[ 13.084627] i915 0000:00:02.0: irq 49 for MSI/MSI-X
[ 13.084642] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 13.084643] [drm] Driver supports precise vblank timestamp query.
[ 13.084820] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 13.095387] [drm] Wrong MCH_SSKPD value: 0x16040307
[ 13.095390] [drm] This can cause pipe underruns and display issues.
[ 13.095391] [drm] Please upgrade your BIOS to fix this.
[ 13.095447] [drm:intel_pipe_config_compare] *ERROR* mismatch in clock (expected 70699, found 0
[ 13.095516] ------------[ cut here ]------------
[ 13.095542] WARNING: CPU: 0 PID: 677 at drivers/gpu/drm/i915/intel_display.c:8390 check_crtc_state+0x5b7/0xa80 [i915]()
[ 13.095553] pipe state doesn't match!
[ 13.095555] Modules linked in: i915(+) videobuf2_core snd_page_alloc videodev snd_seq_midi iwlwifi snd_seq_midi_event snd_rawmidi btusb snd_seq i2c_algo_bit snd_timer psmouse drm_kms_helper bluetooth snd_seq_device cfg80211 drm snd serio_raw samsung_laptop wmi soundcore lpc_ich video mac_hid lp parport usb_storage r8169 mii
[ 13.095578] CPU: 0 PID: 677 Comm: modprobe Not tainted 3.10.0-next20130701-1-iniza-small #1
[ 13.095580] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 13.095582] 00000000000020c6 ffff88010b7873f8 ffffffff816dc5ab 0000000000000007
[ 13.095586] ffff88010b787448 ffff88010b787438 ffffffff810651cc ffff88010b787458
[ 13.095589] ffff880107f4e000 ffff880106957dc8 ffff880106957800 0000000000000001
[ 13.095592] Call Trace:
[ 13.095599] [<ffffffff816dc5ab>] dump_stack+0x46/0x58
[ 13.095604] [<ffffffff810651cc>] warn_slowpath_common+0x8c/0xc0
[ 13.095617] [<ffffffff810652b6>] warn_slowpath_fmt+0x46/0x50
[ 13.095634] [<ffffffffa0280507>] check_crtc_state+0x5b7/0xa80 [i915]
[ 13.095653] [<ffffffffa028b340>] intel_modeset_check_state+0x2b0/0x700 [i915]
[ 13.095678] [<ffffffffa027ff42>] ? intel_dump_pipe_config.isra.40+0x1e2/0x1f0 [i915]
[ 13.095694] [<ffffffffa028e695>] intel_modeset_setup_hw_state+0x985/0xbd0 [i915]
[ 13.095718] [<ffffffffa028e908>] intel_modeset_gem_init+0x28/0x30 [i915]
[ 13.095733] [<ffffffffa025a2ed>] i915_driver_load+0xc0d/0xe60 [i915]
[ 13.095748] [<ffffffffa00a3c01>] drm_get_pci_dev+0x181/0x2a0 [drm]
[ 13.095752] [<ffffffff8137684d>] ? do_raw_spin_unlock+0x5d/0xb0
[ 13.095775] [<ffffffffa02556e6>] i915_pci_probe+0x36/0x70 [i915]
[ 13.095780] [<ffffffff8139523b>] local_pci_probe+0x4b/0x80
[ 13.095783] [<ffffffff81396b11>] pci_device_probe+0x101/0x120
[ 13.095787] [<ffffffff8147349b>] driver_probe_device+0x7b/0x240
[ 13.095791] [<ffffffff8147370b>] __driver_attach+0xab/0xb0
[ 13.095794] [<ffffffff81473660>] ? driver_probe_device+0x240/0x240
[ 13.095798] [<ffffffff8147177e>] bus_for_each_dev+0x5e/0x90
[ 13.095801] [<ffffffff81472f9e>] driver_attach+0x1e/0x20
[ 13.095815] [<ffffffff81472a94>] bus_add_driver+0x104/0x270
[ 13.095818] [<ffffffff81473c6d>] driver_register+0x7d/0x160
[ 13.095822] [<ffffffff81395a94>] __pci_register_driver+0x64/0x70
[ 13.095825] [<ffffffffa02f9000>] ? 0xffffffffa02f8fff
[ 13.095834] [<ffffffffa00a3e3a>] drm_pci_init+0x11a/0x130 [drm]
[ 13.095836] [<ffffffffa02f9000>] ? 0xffffffffa02f8fff
[ 13.095850] [<ffffffffa02f9066>] i915_init+0x66/0x68 [i915]
[ 13.095863] [<ffffffff8100207e>] do_one_initcall+0x4e/0x180
[ 13.095866] [<ffffffff810574a3>] ? set_memory_nx+0x43/0x50
[ 13.095871] [<ffffffff810cfdd3>] load_module+0x1de3/0x2620
[ 13.095873] [<ffffffff810ccb80>] ? show_initstate+0x50/0x50
[ 13.095877] [<ffffffff810d06bc>] SyS_init_module+0xac/0xd0
[ 13.095881] [<ffffffff816ed4af>] tracesys+0xe1/0xe6
[ 13.095883] ---[ end trace e44349253381caa8 ]---
[ 13.109536] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input4
[ 13.112840] fbcon: inteldrmfb (fb0) is primary device
[ 13.296883] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[ 13.413256] uvcvideo 1-1.4:1.0: usb_probe_interface
[ 13.413259] uvcvideo 1-1.4:1.0: usb_probe_interface - got id
[ 13.413307] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL11431N (2232:1018)
[ 13.428294] cfg80211: World regulatory domain updated:
[ 13.428295] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 13.428297] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.428298] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.428298] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.428299] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.428300] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.432657] input: WebCam SC-13HDL11431N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input5
[ 13.432786] usbcore: registered new interface driver uvcvideo
[ 13.432787] USB Video Class driver (1.1.1)
[ 13.488343] usb 1-1.4: link qh16-0001/ffff880119bbc2c0 start 2 [1/0 us]
[ 13.488408] usb 1-1.4: unlink qh16-0001/ffff880119bbc2c0 start 2 [1/0 us]
[ 13.760790] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG enabled
[ 13.760792] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 13.760794] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 13.760795] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_P2P disabled
[ 13.760798] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0
[ 13.760850] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[ 13.892908] type=1400 audit(1372668202.809:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=843 comm="apparmor_parser"
[ 13.893694] type=1400 audit(1372668202.809:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=843 comm="apparmor_parser"
[ 13.894201] type=1400 audit(1372668202.813:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=843 comm="apparmor_parser"
[ 14.094145] [drm:intel_pipe_config_compare] *ERROR* mismatch in clock (expected 70700, found 0
[ 14.094146] ------------[ cut here ]------------
[ 14.094174] WARNING: CPU: 2 PID: 677 at drivers/gpu/drm/i915/intel_display.c:8390 check_crtc_state+0x5b7/0xa80 [i915]()
[ 14.094175] pipe state doesn't match!
[ 14.094193] Modules linked in: iwldvm(+) mac80211 snd_hda_intel(+) uvcvideo snd_hda_codec videobuf2_vmalloc snd_hwdep joydev snd_pcm videobuf2_memops i915(+) videobuf2_core snd_page_alloc videodev snd_seq_midi iwlwifi snd_seq_midi_event snd_rawmidi btusb snd_seq i2c_algo_bit snd_timer psmouse drm_kms_helper bluetooth snd_seq_device cfg80211 drm snd serio_raw samsung_laptop wmi soundcore lpc_ich video mac_hid lp parport usb_storage r8169 mii
[ 14.094195] CPU: 2 PID: 677 Comm: modprobe Tainted: G W 3.10.0-next20130701-1-iniza-small #1
[ 14.094196] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 14.094200] 00000000000020c6 ffff88010b786fc8 ffffffff816dc5ab 0000000000001e45
[ 14.094202] ffff88010b787018 ffff88010b787008 ffffffff810651cc ffff88010b787028
[ 14.094204] ffff880107f4e000 ffff880106957dc8 ffff880106957800 0000000000000001
[ 14.094204] Call Trace:
[ 14.094210] [<ffffffff816dc5ab>] dump_stack+0x46/0x58
[ 14.094215] [<ffffffff810651cc>] warn_slowpath_common+0x8c/0xc0
[ 14.094217] [<ffffffff810652b6>] warn_slowpath_fmt+0x46/0x50
[ 14.094235] [<ffffffffa0280507>] check_crtc_state+0x5b7/0xa80 [i915]
[ 14.094254] [<ffffffffa028b340>] intel_modeset_check_state+0x2b0/0x700 [i915]
[ 14.094269] [<ffffffffa028b825>] intel_set_mode+0x25/0x30 [i915]
[ 14.094284] [<ffffffffa028c047>] intel_crtc_set_config+0x817/0xa00 [i915]
[ 14.094297] [<ffffffffa00a855c>] drm_mode_set_config_internal+0x5c/0xe0 [drm]
[ 14.094301] [<ffffffffa01f0416>] drm_fb_helper_set_par+0x66/0xe0 [drm_kms_helper]
[ 14.094304] [<ffffffff813c729c>] fbcon_init+0x52c/0x5b0
[ 14.094307] [<ffffffff8144204c>] visual_init+0xbc/0x120
[ 14.094309] [<ffffffff8144485a>] do_bind_con_driver+0x16a/0x320
[ 14.094312] [<ffffffff81444b34>] do_take_over_console+0x124/0x1d0
[ 14.094314] [<ffffffff813c577b>] do_fbcon_takeover+0x5b/0xb0
[ 14.094316] [<ffffffff813ca3aa>] fbcon_event_notify+0x76a/0x870
[ 14.094319] [<ffffffff8118fe10>] ? poison_obj+0x30/0x40
[ 14.094322] [<ffffffff816e8b0d>] notifier_call_chain+0x4d/0x70
[ 14.094325] [<ffffffff81091848>] __blocking_notifier_call_chain+0x58/0x80
[ 14.094328] [<ffffffff81091886>] blocking_notifier_call_chain+0x16/0x20
[ 14.094331] [<ffffffff813baeab>] fb_notifier_call_chain+0x1b/0x20
[ 14.094333] [<ffffffff813bcf6c>] register_framebuffer+0x1dc/0x310
[ 14.094337] [<ffffffffa01f00af>] drm_fb_helper_initial_config+0x35f/0x550 [drm_kms_helper]
[ 14.094340] [<ffffffffa01f0721>] ? drm_fb_helper_single_add_all_connectors+0x81/0xe0 [drm_kms_helper]
[ 14.094343] [<ffffffff811934bc>] ? kmem_cache_alloc_trace+0x1bc/0x1f0
[ 14.094357] [<ffffffffa0256481>] ? i915_write32+0x81/0x130 [i915]
[ 14.094378] [<ffffffffa02ad5b1>] intel_fbdev_initial_config+0x21/0x30 [i915]
[ 14.094392] [<ffffffffa025a512>] i915_driver_load+0xe32/0xe60 [i915]
[ 14.094405] [<ffffffffa00a3c01>] drm_get_pci_dev+0x181/0x2a0 [drm]
[ 14.094408] [<ffffffff8137684d>] ? do_raw_spin_unlock+0x5d/0xb0
[ 14.094421] [<ffffffffa02556e6>] i915_pci_probe+0x36/0x70 [i915]
[ 14.094424] [<ffffffff8139523b>] local_pci_probe+0x4b/0x80
[ 14.094426] [<ffffffff81396b11>] pci_device_probe+0x101/0x120
[ 14.094430] [<ffffffff8147349b>] driver_probe_device+0x7b/0x240
[ 14.094432] [<ffffffff8147370b>] __driver_attach+0xab/0xb0
[ 14.094435] [<ffffffff81473660>] ? driver_probe_device+0x240/0x240
[ 14.094437] [<ffffffff8147177e>] bus_for_each_dev+0x5e/0x90
[ 14.094440] [<ffffffff81472f9e>] driver_attach+0x1e/0x20
[ 14.094442] [<ffffffff81472a94>] bus_add_driver+0x104/0x270
[ 14.094445] [<ffffffff81473c6d>] driver_register+0x7d/0x160
[ 14.094448] [<ffffffff81395a94>] __pci_register_driver+0x64/0x70
[ 14.094450] [<ffffffffa02f9000>] ? 0xffffffffa02f8fff
[ 14.094458] [<ffffffffa00a3e3a>] drm_pci_init+0x11a/0x130 [drm]
[ 14.094461] [<ffffffffa02f9000>] ? 0xffffffffa02f8fff
[ 14.094474] [<ffffffffa02f9066>] i915_init+0x66/0x68 [i915]
[ 14.094476] [<ffffffff8100207e>] do_one_initcall+0x4e/0x180
[ 14.094479] [<ffffffff810574a3>] ? set_memory_nx+0x43/0x50
[ 14.094483] [<ffffffff810cfdd3>] load_module+0x1de3/0x2620
[ 14.094485] [<ffffffff810ccb80>] ? show_initstate+0x50/0x50
[ 14.094488] [<ffffffff810d06bc>] SyS_init_module+0xac/0xd0
[ 14.094491] [<ffffffff816ed4af>] tracesys+0xe1/0xe6
[ 14.094493] ---[ end trace e44349253381caa9 ]---
[ 14.097460] Console: switching to colour frame buffer device 170x48
[ 14.100478] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 14.100482] i915 0000:00:02.0: registered panic notifier
[ 14.111720] acpi device:33: registered as cooling_device9
[ 14.112084] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 14.112162] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input6
[ 14.112334] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 14.112638] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[ 14.473826] usb 2-1.5: unlink qh1-0e01/ffff880108dfa640 start 0 [1/2 us]
[ 14.476510] usb 2-1: clear tt buffer port 5, a3 ep2 t04048d82
[ 14.817785] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 15.654754] Bluetooth: RFCOMM TTY layer initialized
[ 15.654780] Bluetooth: RFCOMM socket layer initialized
[ 15.654783] Bluetooth: RFCOMM ver 1.11
[ 15.656971] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 15.666455] ppdev: user-space parallel port driver
[ 15.678695] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.678702] Bluetooth: BNEP filters: protocol multicast
[ 15.678720] Bluetooth: BNEP socket layer initialized
[ 15.698398] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 15.698581] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[ 15.698753] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 15.805143] usb 1-1.4: usb auto-suspend, wakeup 0
[ 15.820859] hub 1-1:1.0: hub_suspend
[ 15.820878] usb 1-1: unlink qh256-0001/ffff8801187717c0 start 1 [1/0 us]
[ 15.823203] usb 1-1: usb auto-suspend, wakeup 1
[ 15.836851] hub 1-0:1.0: hub_suspend
[ 15.836862] usb usb1: bus auto-suspend, wakeup 1
[ 15.836866] ehci-pci 0000:00:1a.0: suspend root hub
[ 15.899128] ehci-pci 0000:00:1d.0: reused qh ffff880108dfa640 schedule
[ 15.899137] usb 2-1.5: link qh1-0e01/ffff880108dfa640 start 0 [1/2 us]
[ 15.966289] init: failsafe main process (981) killed by TERM signal
[ 16.450370] type=1400 audit(1372668205.369:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=1060 comm="apparmor_parser"
[ 16.451597] type=1400 audit(1372668205.369:6): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=1060 comm="apparmor_parser"
[ 17.539170] type=1400 audit(1372668206.457:7): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1135 comm="apparmor_parser"
[ 17.539795] type=1400 audit(1372668206.461:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1135 comm="apparmor_parser"
[ 17.540156] type=1400 audit(1372668206.461:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1135 comm="apparmor_parser"
[ 17.544664] type=1400 audit(1372668206.465:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=1139 comm="apparmor_parser"
[ 17.545279] type=1400 audit(1372668206.465:11): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=1139 comm="apparmor_parser"
[ 20.110070] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[ 20.116691] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[ 20.390806] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[ 20.397884] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[ 20.477272] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 26.967955] wlan0: authenticate with 00:04:0e:e4:00:3d
[ 26.971759] wlan0: send auth to 00:04:0e:e4:00:3d (try 1/3)
[ 26.973472] wlan0: authenticated
[ 26.973627] iwlwifi 0000:01:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 26.973631] iwlwifi 0000:01:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 26.976937] wlan0: associate with 00:04:0e:e4:00:3d (try 1/3)
[ 26.980439] wlan0: RX AssocResp from 00:04:0e:e4:00:3d (capab=0x411 status=0 aid=1)
[ 26.984278] wlan0: associated
[ 26.984395] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 29.750443] usb usb3: usb auto-resume
[ 29.750465] hub 3-0:1.0: hub_resume
[ 29.750499] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 29.750556] hub 3-0:1.0: hub_suspend
[ 29.750564] usb usb3: bus auto-suspend, wakeup 1
[ 29.750773] usb usb1: usb auto-resume
[ 29.750777] ehci-pci 0000:00:1a.0: resume root hub
[ 29.750789] hub 1-0:1.0: hub_resume
[ 29.750795] hub 1-0:1.0: port 1: status 0507 change 0000
[ 29.750811] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 29.750813] usb 1-1: usb auto-resume
[ 29.779063] ehci-pci 0000:00:1a.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 29.794930] usb 1-1: finish resume
[ 29.795185] hub 1-1:1.0: hub_resume
[ 29.795680] hub 1-1:1.0: port 4: status 0507 change 0000
[ 29.795938] ehci-pci 0000:00:1a.0: reused qh ffff8801187717c0 schedule
[ 29.795946] usb 1-1: link qh256-0001/ffff8801187717c0 start 1 [1/0 us]
[ 29.795985] hub 1-1:1.0: state 7 ports 6 chg 0000 evt 0000
[ 29.796179] usb 1-1.4: usb auto-resume
[ 29.843036] usb 1-1.4: finish resume
[ 30.015388] usb usb3: usb auto-resume
[ 30.015410] hub 3-0:1.0: hub_resume
[ 30.015454] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.015469] hub 3-0:1.0: hub_suspend
[ 30.015475] usb usb3: bus auto-suspend, wakeup 1
[ 30.015520] usb usb3: usb auto-resume
[ 30.026802] hub 3-0:1.0: hub_resume
[ 30.026839] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.026865] hub 3-0:1.0: hub_suspend
[ 30.026872] usb usb3: bus auto-suspend, wakeup 1
[ 30.029950] usb usb3: usb auto-resume
[ 30.038875] hub 3-0:1.0: hub_resume
[ 30.038952] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.038970] hub 3-0:1.0: hub_suspend
[ 30.038977] usb usb3: bus auto-suspend, wakeup 1
[ 30.039014] usb usb3: usb auto-resume
[ 30.050856] hub 3-0:1.0: hub_resume
[ 30.050947] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.050977] hub 3-0:1.0: hub_suspend
[ 30.050984] usb usb3: bus auto-suspend, wakeup 1
[ 30.090080] usb usb3: usb auto-resume
[ 30.090101] hub 3-0:1.0: hub_resume
[ 30.090128] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.090142] hub 3-0:1.0: hub_suspend
[ 30.090148] usb usb3: bus auto-suspend, wakeup 1
[ 30.090169] usb usb3: usb auto-resume
[ 30.098738] hub 3-0:1.0: hub_resume
[ 30.098772] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.098792] hub 3-0:1.0: hub_suspend
[ 30.098800] usb usb3: bus auto-suspend, wakeup 1
[ 30.255444] usb usb3: usb auto-resume
[ 30.255466] hub 3-0:1.0: hub_resume
[ 30.255495] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.255514] hub 3-0:1.0: hub_suspend
[ 30.255522] usb usb3: bus auto-suspend, wakeup 1
[ 30.255548] usb usb3: usb auto-resume
[ 30.266611] hub 3-0:1.0: hub_resume
[ 30.266645] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.266666] hub 3-0:1.0: hub_suspend
[ 30.266674] usb usb3: bus auto-suspend, wakeup 1
[ 30.279930] usb usb3: usb auto-resume
[ 30.279950] hub 3-0:1.0: hub_resume
[ 30.279978] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.279997] hub 3-0:1.0: hub_suspend
[ 30.280005] usb usb3: bus auto-suspend, wakeup 1
[ 30.280037] usb usb3: usb auto-resume
[ 30.290614] hub 3-0:1.0: hub_resume
[ 30.290834] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.290851] hub 3-0:1.0: hub_suspend
[ 30.290857] usb usb3: bus auto-suspend, wakeup 1
[ 30.309124] usb usb3: usb auto-resume
[ 30.309145] hub 3-0:1.0: hub_resume
[ 30.309174] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.309194] hub 3-0:1.0: hub_suspend
[ 30.309201] usb usb3: bus auto-suspend, wakeup 1
[ 30.309227] usb usb3: usb auto-resume
[ 30.318636] hub 3-0:1.0: hub_resume
[ 30.318661] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.318673] hub 3-0:1.0: hub_suspend
[ 30.318678] usb usb3: bus auto-suspend, wakeup 1
[ 30.451095] usb usb3: usb auto-resume
[ 30.451116] hub 3-0:1.0: hub_resume
[ 30.451147] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.451165] hub 3-0:1.0: hub_suspend
[ 30.451172] usb usb3: bus auto-suspend, wakeup 1
[ 30.451198] usb usb3: usb auto-resume
[ 30.462472] hub 3-0:1.0: hub_resume
[ 30.462522] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.462540] hub 3-0:1.0: hub_suspend
[ 30.462546] usb usb3: bus auto-suspend, wakeup 1
[ 30.477276] usb usb3: usb auto-resume
[ 30.477296] hub 3-0:1.0: hub_resume
[ 30.477319] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.477331] hub 3-0:1.0: hub_suspend
[ 30.477337] usb usb3: bus auto-suspend, wakeup 1
[ 30.477361] usb usb3: usb auto-resume
[ 30.486450] hub 3-0:1.0: hub_resume
[ 30.486487] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.486500] hub 3-0:1.0: hub_suspend
[ 30.486509] usb usb3: bus auto-suspend, wakeup 1
[ 30.852766] usb usb3: usb auto-resume
[ 30.852789] hub 3-0:1.0: hub_resume
[ 30.852848] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 30.852868] hub 3-0:1.0: hub_suspend
[ 30.852874] usb usb3: bus auto-suspend, wakeup 1
[ 31.151010] usb usb3: usb auto-resume
[ 31.151032] hub 3-0:1.0: hub_resume
[ 31.151062] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 31.151086] hub 3-0:1.0: hub_suspend
[ 31.151092] usb usb3: bus auto-suspend, wakeup 1
[ 31.151120] usb usb3: usb auto-resume
[ 31.165987] hub 3-0:1.0: hub_resume
[ 31.166061] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 31.166099] hub 3-0:1.0: hub_suspend
[ 31.166109] usb usb3: bus auto-suspend, wakeup 1
[ 32.252350] usb usb3: usb auto-resume
[ 32.252370] hub 3-0:1.0: hub_resume
[ 32.252431] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.252447] hub 3-0:1.0: hub_suspend
[ 32.252453] usb usb3: bus auto-suspend, wakeup 1
[ 32.252478] usb usb3: usb auto-resume
[ 32.261208] hub 3-0:1.0: hub_resume
[ 32.261237] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.261256] hub 3-0:1.0: hub_suspend
[ 32.261264] usb usb3: bus auto-suspend, wakeup 1
[ 32.304945] usb usb3: usb auto-resume
[ 32.304969] hub 3-0:1.0: hub_resume
[ 32.305000] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.305024] hub 3-0:1.0: hub_suspend
[ 32.305031] usb usb3: bus auto-suspend, wakeup 1
[ 32.305098] usb usb3: usb auto-resume
[ 32.313167] hub 3-0:1.0: hub_resume
[ 32.313193] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.313209] hub 3-0:1.0: hub_suspend
[ 32.313214] usb usb3: bus auto-suspend, wakeup 1
[ 32.323105] usb usb3: usb auto-resume
[ 32.333172] hub 3-0:1.0: hub_resume
[ 32.333243] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.333260] hub 3-0:1.0: hub_suspend
[ 32.333267] usb usb3: bus auto-suspend, wakeup 1
[ 32.333301] usb usb3: usb auto-resume
[ 32.345145] hub 3-0:1.0: hub_resume
[ 32.345176] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.345198] hub 3-0:1.0: hub_suspend
[ 32.345205] usb usb3: bus auto-suspend, wakeup 1
[ 32.376851] usb usb3: usb auto-resume
[ 32.376872] hub 3-0:1.0: hub_resume
[ 32.376896] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.376915] hub 3-0:1.0: hub_suspend
[ 32.376921] usb usb3: bus auto-suspend, wakeup 1
[ 32.376971] usb usb3: usb auto-resume
[ 32.385217] hub 3-0:1.0: hub_resume
[ 32.385261] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.385274] hub 3-0:1.0: hub_suspend
[ 32.385282] usb usb3: bus auto-suspend, wakeup 1
[ 32.386063] usb usb3: usb auto-resume
[ 32.397100] hub 3-0:1.0: hub_resume
[ 32.397128] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.397147] hub 3-0:1.0: hub_suspend
[ 32.397152] usb usb3: bus auto-suspend, wakeup 1
[ 32.397208] usb usb3: usb auto-resume
[ 32.409128] hub 3-0:1.0: hub_resume
[ 32.409190] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.409198] hub 3-0:1.0: hub_suspend
[ 32.409205] usb usb3: bus auto-suspend, wakeup 1
[ 32.411487] usb usb3: usb auto-resume
[ 32.421194] hub 3-0:1.0: hub_resume
[ 32.421235] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.421264] hub 3-0:1.0: hub_suspend
[ 32.421270] usb usb3: bus auto-suspend, wakeup 1
[ 32.421338] usb usb3: usb auto-resume
[ 32.433112] hub 3-0:1.0: hub_resume
[ 32.433143] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.433160] hub 3-0:1.0: hub_suspend
[ 32.433166] usb usb3: bus auto-suspend, wakeup 1
[ 32.435455] usb usb3: usb auto-resume
[ 32.445067] hub 3-0:1.0: hub_resume
[ 32.445096] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.445126] hub 3-0:1.0: hub_suspend
[ 32.445132] usb usb3: bus auto-suspend, wakeup 1
[ 32.445190] usb usb3: usb auto-resume
[ 32.457121] hub 3-0:1.0: hub_resume
[ 32.457147] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.457166] hub 3-0:1.0: hub_suspend
[ 32.457170] usb usb3: bus auto-suspend, wakeup 1
[ 32.483187] usb usb3: usb auto-resume
[ 32.483210] hub 3-0:1.0: hub_resume
[ 32.483241] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.483264] hub 3-0:1.0: hub_suspend
[ 32.483273] usb usb3: bus auto-suspend, wakeup 1
[ 32.483341] usb usb3: usb auto-resume
[ 32.493161] hub 3-0:1.0: hub_resume
[ 32.493211] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.493229] hub 3-0:1.0: hub_suspend
[ 32.493235] usb usb3: bus auto-suspend, wakeup 1
[ 32.518756] usb usb3: usb auto-resume
[ 32.518778] hub 3-0:1.0: hub_resume
[ 32.518819] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.518835] hub 3-0:1.0: hub_suspend
[ 32.518842] usb usb3: bus auto-suspend, wakeup 1
[ 32.518870] usb usb3: usb auto-resume
[ 32.529114] hub 3-0:1.0: hub_resume
[ 32.529164] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.529183] hub 3-0:1.0: hub_suspend
[ 32.529190] usb usb3: bus auto-suspend, wakeup 1
[ 32.529883] usb usb3: usb auto-resume
[ 32.540996] hub 3-0:1.0: hub_resume
[ 32.541059] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.541076] hub 3-0:1.0: hub_suspend
[ 32.541083] usb usb3: bus auto-suspend, wakeup 1
[ 32.541125] usb usb3: usb auto-resume
[ 32.552990] hub 3-0:1.0: hub_resume
[ 32.553020] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.553039] hub 3-0:1.0: hub_suspend
[ 32.553047] usb usb3: bus auto-suspend, wakeup 1
[ 32.656387] usb usb3: usb auto-resume
[ 32.656408] hub 3-0:1.0: hub_resume
[ 32.656617] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.656650] hub 3-0:1.0: hub_suspend
[ 32.656661] usb usb3: bus auto-suspend, wakeup 1
[ 32.658629] usb usb3: usb auto-resume
[ 32.668907] hub 3-0:1.0: hub_resume
[ 32.668943] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.668980] hub 3-0:1.0: hub_suspend
[ 32.668989] usb usb3: bus auto-suspend, wakeup 1
[ 32.669074] usb usb3: usb auto-resume
[ 32.680916] hub 3-0:1.0: hub_resume
[ 32.681002] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.681024] hub 3-0:1.0: hub_suspend
[ 32.681031] usb usb3: bus auto-suspend, wakeup 1
[ 32.683287] usb usb3: usb auto-resume
[ 32.692919] hub 3-0:1.0: hub_resume
[ 32.692990] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.693020] hub 3-0:1.0: hub_suspend
[ 32.693026] usb usb3: bus auto-suspend, wakeup 1
[ 32.693085] usb usb3: usb auto-resume
[ 32.704912] hub 3-0:1.0: hub_resume
[ 32.704970] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.704987] hub 3-0:1.0: hub_suspend
[ 32.704995] usb usb3: bus auto-suspend, wakeup 1
[ 32.713349] usb usb3: usb auto-resume
[ 32.724939] hub 3-0:1.0: hub_resume
[ 32.724993] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.725013] hub 3-0:1.0: hub_suspend
[ 32.725020] usb usb3: bus auto-suspend, wakeup 1
[ 32.725067] usb usb3: usb auto-resume
[ 32.736910] hub 3-0:1.0: hub_resume
[ 32.736992] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.737009] hub 3-0:1.0: hub_suspend
[ 32.737017] usb usb3: bus auto-suspend, wakeup 1
[ 32.755545] usb usb3: usb auto-resume
[ 32.755568] hub 3-0:1.0: hub_resume
[ 32.755631] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.755680] hub 3-0:1.0: hub_suspend
[ 32.755687] usb usb3: bus auto-suspend, wakeup 1
[ 32.755710] usb usb3: usb auto-resume
[ 32.764871] hub 3-0:1.0: hub_resume
[ 32.764913] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.764933] hub 3-0:1.0: hub_suspend
[ 32.764941] usb usb3: bus auto-suspend, wakeup 1
[ 32.819100] usb usb3: usb auto-resume
[ 32.819125] hub 3-0:1.0: hub_resume
[ 32.819192] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.819259] hub 3-0:1.0: hub_suspend
[ 32.819265] usb usb3: bus auto-suspend, wakeup 1
[ 32.834538] usb usb3: usb auto-resume
[ 32.834561] hub 3-0:1.0: hub_resume
[ 32.834625] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.834642] hub 3-0:1.0: hub_suspend
[ 32.834648] usb usb3: bus auto-suspend, wakeup 1
[ 32.834674] usb usb3: usb auto-resume
[ 32.844795] hub 3-0:1.0: hub_resume
[ 32.844833] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.844853] hub 3-0:1.0: hub_suspend
[ 32.844860] usb usb3: bus auto-suspend, wakeup 1
[ 32.847584] usb usb3: usb auto-resume
[ 32.856824] hub 3-0:1.0: hub_resume
[ 32.856929] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.856947] hub 3-0:1.0: hub_suspend
[ 32.856953] usb usb3: bus auto-suspend, wakeup 1
[ 32.856970] usb usb3: usb auto-resume
[ 32.868815] hub 3-0:1.0: hub_resume
[ 32.868919] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.868936] hub 3-0:1.0: hub_suspend
[ 32.868942] usb usb3: bus auto-suspend, wakeup 1
[ 32.895222] usb usb3: usb auto-resume
[ 32.895245] hub 3-0:1.0: hub_resume
[ 32.895281] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.895302] hub 3-0:1.0: hub_suspend
[ 32.895311] usb usb3: bus auto-suspend, wakeup 1
[ 32.895342] usb usb3: usb auto-resume
[ 32.904829] hub 3-0:1.0: hub_resume
[ 32.904866] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.904900] hub 3-0:1.0: hub_suspend
[ 32.904905] usb usb3: bus auto-suspend, wakeup 1
[ 32.907847] usb usb3: usb auto-resume
[ 32.916799] hub 3-0:1.0: hub_resume
[ 32.916857] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.916930] hub 3-0:1.0: hub_suspend
[ 32.916938] usb usb3: bus auto-suspend, wakeup 1
[ 32.917021] usb usb3: usb auto-resume
[ 32.928729] hub 3-0:1.0: hub_resume
[ 32.928769] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.928821] hub 3-0:1.0: hub_suspend
[ 32.928830] usb usb3: bus auto-suspend, wakeup 1
[ 32.936801] usb usb3: usb auto-resume
[ 32.948749] hub 3-0:1.0: hub_resume
[ 32.948849] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.948868] hub 3-0:1.0: hub_suspend
[ 32.948875] usb usb3: bus auto-suspend, wakeup 1
[ 32.948914] usb usb3: usb auto-resume
[ 32.960700] hub 3-0:1.0: hub_resume
[ 32.960734] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 32.960759] hub 3-0:1.0: hub_suspend
[ 32.960765] usb usb3: bus auto-suspend, wakeup 1
[ 34.000346] usb usb3: usb auto-resume
[ 34.000367] hub 3-0:1.0: hub_resume
[ 34.000427] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.000461] hub 3-0:1.0: hub_suspend
[ 34.000468] usb usb3: bus auto-suspend, wakeup 1
[ 34.307009] usb usb3: usb auto-resume
[ 34.307031] hub 3-0:1.0: hub_resume
[ 34.307092] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.307111] hub 3-0:1.0: hub_suspend
[ 34.307125] usb usb3: bus auto-suspend, wakeup 1
[ 34.332383] usb usb3: usb auto-resume
[ 34.332406] hub 3-0:1.0: hub_resume
[ 34.332448] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.332470] hub 3-0:1.0: hub_suspend
[ 34.332478] usb usb3: bus auto-suspend, wakeup 1
[ 34.332517] usb usb3: usb auto-resume
[ 34.343859] hub 3-0:1.0: hub_resume
[ 34.343903] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.343913] hub 3-0:1.0: hub_suspend
[ 34.343921] usb usb3: bus auto-suspend, wakeup 1
[ 34.346866] usb usb3: usb auto-resume
[ 34.355848] hub 3-0:1.0: hub_resume
[ 34.355898] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.355923] hub 3-0:1.0: hub_suspend
[ 34.355930] usb usb3: bus auto-suspend, wakeup 1
[ 34.355964] usb usb3: usb auto-resume
[ 34.367806] hub 3-0:1.0: hub_resume
[ 34.367881] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.367903] hub 3-0:1.0: hub_suspend
[ 34.367910] usb usb3: bus auto-suspend, wakeup 1
[ 34.370900] usb usb3: usb auto-resume
[ 34.379853] hub 3-0:1.0: hub_resume
[ 34.379926] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.379938] hub 3-0:1.0: hub_suspend
[ 34.379947] usb usb3: bus auto-suspend, wakeup 1
[ 34.380022] usb usb3: usb auto-resume
[ 34.391778] hub 3-0:1.0: hub_resume
[ 34.391844] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.391864] hub 3-0:1.0: hub_suspend
[ 34.391871] usb usb3: bus auto-suspend, wakeup 1
[ 34.437779] usb usb3: usb auto-resume
[ 34.437800] hub 3-0:1.0: hub_resume
[ 34.437859] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.437876] hub 3-0:1.0: hub_suspend
[ 34.437882] usb usb3: bus auto-suspend, wakeup 1
[ 34.452844] usb usb3: usb auto-resume
[ 34.452865] hub 3-0:1.0: hub_resume
[ 34.452923] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.452941] hub 3-0:1.0: hub_suspend
[ 34.452947] usb usb3: bus auto-suspend, wakeup 1
[ 34.560091] usb usb3: usb auto-resume
[ 34.560113] hub 3-0:1.0: hub_resume
[ 34.560140] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.560157] hub 3-0:1.0: hub_suspend
[ 34.560165] usb usb3: bus auto-suspend, wakeup 1
[ 34.560212] usb usb3: usb auto-resume
[ 34.571729] hub 3-0:1.0: hub_resume
[ 34.571760] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[ 34.571775] hub 3-0:1.0: hub_suspend
[ 34.571781] usb usb3: bus auto-suspend, wakeup 1
[ 36.790069] usb 1-1.4: usb auto-suspend, wakeup 0
[ 36.805976] hub 1-1:1.0: hub_suspend
[ 36.805987] usb 1-1: unlink qh256-0001/ffff8801187717c0 start 1 [1/0 us]
[ 36.808338] usb 1-1: usb auto-suspend, wakeup 1
[ 36.821979] hub 1-0:1.0: hub_suspend
[ 36.822001] usb usb1: bus auto-suspend, wakeup 1
[ 36.822008] ehci-pci 0000:00:1a.0: suspend root hub
[ 44.091273] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[ 44.122446] EXT4-fs (sdc3): mounted filesystem with ordered data mode. Opts: (null)
[-- Attachment #3: config-3.10.0-next20130701-1-iniza-small --]
[-- Type: application/octet-stream, Size: 114284 bytes --]
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.10.0 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CPU_AUTOPROBE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y
CONFIG_X86_HT=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11"
CONFIG_ARCH_CPU_PROBE_RELEASE=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_FHANDLE=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y
# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y
#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_PREEMPT_RCU is not set
CONFIG_RCU_STALL_COMMON=y
CONFIG_CONTEXT_TRACKING=y
CONFIG_RCU_USER_QS=y
CONFIG_CONTEXT_TRACKING_FORCE=y
CONFIG_RCU_FANOUT=64
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_NOCB_CPU=y
CONFIG_RCU_NOCB_CPU_NONE=y
# CONFIG_RCU_NOCB_CPU_ZERO is not set
# CONFIG_RCU_NOCB_CPU_ALL is not set
CONFIG_IKCONFIG=m
# CONFIG_IKCONFIG_PROC is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y
# CONFIG_NUMA_BALANCING is not set
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
# CONFIG_MEMCG_SWAP_ENABLED is not set
# CONFIG_MEMCG_KMEM is not set
CONFIG_CGROUP_HUGETLB=y
CONFIG_CGROUP_PERF=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_MM_OWNER=y
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
# CONFIG_RD_LZ4 is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_PCI_QUIRKS=y
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
# CONFIG_OPROFILE is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_KPROBES=y
CONFIG_JUMP_LABEL=y
CONFIG_OPTPROBES=y
CONFIG_KPROBES_ON_FTRACE=y
CONFIG_UPROBES=y
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_USE_GENERIC_SMP_HELPERS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
CONFIG_MODULE_SIG_ALL=y
# CONFIG_MODULE_SIG_SHA1 is not set
# CONFIG_MODULE_SIG_SHA224 is not set
# CONFIG_MODULE_SIG_SHA256 is not set
# CONFIG_MODULE_SIG_SHA384 is not set
CONFIG_MODULE_SIG_SHA512=y
CONFIG_MODULE_SIG_HASH="sha512"
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_BLK_DEV_BSG=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
CONFIG_BLK_DEV_THROTTLING=y
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
# CONFIG_ACORN_PARTITION_CUMANA is not set
# CONFIG_ACORN_PARTITION_EESOX is not set
CONFIG_ACORN_PARTITION_ICS=y
# CONFIG_ACORN_PARTITION_ADFS is not set
# CONFIG_ACORN_PARTITION_POWERTEC is not set
CONFIG_ACORN_PARTITION_RISCIX=y
# CONFIG_AIX_PARTITION is not set
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
CONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_CFQ_GROUP_IOSCHED=y
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_FREEZER=y
#
# Processor type and features
#
CONFIG_ZONE_DMA=y
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
CONFIG_X86_MPPARSE=y
CONFIG_X86_EXTENDED_PLATFORM=y
CONFIG_X86_NUMACHIP=y
# CONFIG_X86_VSMP is not set
# CONFIG_X86_UV is not set
# CONFIG_X86_INTEL_LPSS is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_DEBUG is not set
CONFIG_PARAVIRT_SPINLOCKS=y
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=500
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
CONFIG_KVM_GUEST=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
CONFIG_NO_BOOTMEM=y
CONFIG_MEMTEST=y
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
CONFIG_GENERIC_CPU=y
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
CONFIG_GART_IOMMU=y
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS=256
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
CONFIG_MICROCODE_AMD=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_MICROCODE_INTEL_LIB=y
CONFIG_MICROCODE_INTEL_EARLY=y
CONFIG_MICROCODE_AMD_EARLY=y
CONFIG_MICROCODE_EARLY=y
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DIRECT_GBPAGES=y
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SPAN_OTHER_NODES=y
# CONFIG_NUMA_EMU is not set
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_MEMORY_PROBE=y
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
# CONFIG_MOVABLE_NODE is not set
CONFIG_HAVE_BOOTMEM_INFO_NODE=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=999999
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_NEED_BOUNCE_POOL=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
# CONFIG_HWPOISON_INJECT is not set
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_CLEANCACHE=y
CONFIG_FRONTSWAP=y
# CONFIG_ZBUD is not set
# CONFIG_ZSWAP is not set
# CONFIG_MEM_SOFT_DIRTY is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_RESERVE_LOW=64
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
CONFIG_ARCH_RANDOM=y
CONFIG_X86_SMAP=y
CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_SECCOMP=y
CONFIG_CC_STACKPROTECTOR=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_KEXEC_JUMP=y
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_PM_TRACE_RTC is not set
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_EC_DEBUGFS=m
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_I2C=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
# CONFIG_ACPI_SBS is not set
CONFIG_ACPI_HED=y
# CONFIG_ACPI_CUSTOM_METHOD is not set
CONFIG_ACPI_BGRT=y
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
CONFIG_ACPI_APEI_MEMORY_FAILURE=y
# CONFIG_ACPI_APEI_EINJ is not set
# CONFIG_ACPI_APEI_ERST_DEBUG is not set
CONFIG_SFI=y
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
#
# x86 CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_PCC_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_POWERNOW_K8=y
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=y
# CONFIG_X86_P4_CLOCKMOD is not set
#
# shared options
#
# CONFIG_X86_SPEEDSTEP_LIB is not set
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
CONFIG_INTEL_IDLE=y
#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set
#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_XEN=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not set
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
CONFIG_ARCH_SUPPORTS_MSI=y
CONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set
CONFIG_PCI_REALLOC_ENABLE_AUTO=y
# CONFIG_PCI_STUB is not set
# CONFIG_XEN_PCIDEV_FRONTEND is not set
CONFIG_HT_IRQ=y
CONFIG_PCI_ATS=y
CONFIG_PCI_IOV=y
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
CONFIG_PCI_IOAPIC=y
CONFIG_PCI_LABEL=y
#
# PCI host controller drivers
#
CONFIG_ISA_DMA_API=y
CONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_HOTPLUG_PCI_CPCI=y
# CONFIG_HOTPLUG_PCI_CPCI_ZT5550 is not set
# CONFIG_HOTPLUG_PCI_CPCI_GENERIC is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set
CONFIG_RAPIDIO=y
CONFIG_RAPIDIO_TSI721=y
CONFIG_RAPIDIO_DISC_TIMEOUT=30
# CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS is not set
CONFIG_RAPIDIO_DMA_ENGINE=y
# CONFIG_RAPIDIO_DEBUG is not set
# CONFIG_RAPIDIO_ENUM_BASIC is not set
CONFIG_RAPIDIO_TSI57X=y
CONFIG_RAPIDIO_CPS_XX=y
CONFIG_RAPIDIO_TSI568=y
CONFIG_RAPIDIO_CPS_GEN2=y
#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not set
CONFIG_X86_X32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_KEYS_COMPAT=y
CONFIG_HAVE_TEXT_POKE_SMP=y
CONFIG_X86_DEV_DMA_OPS=y
CONFIG_NET=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_NET_IP_TUNNEL is not set
CONFIG_IP_MROUTE=y
# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set
CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_BIC is not set
CONFIG_TCP_CONG_CUBIC=y
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
# CONFIG_TCP_CONG_HSTCP is not set
# CONFIG_TCP_CONG_HYBLA is not set
# CONFIG_TCP_CONG_VEGAS is not set
# CONFIG_TCP_CONG_SCALABLE is not set
# CONFIG_TCP_CONG_LP is not set
# CONFIG_TCP_CONG_VENO is not set
# CONFIG_TCP_CONG_YEAH is not set
# CONFIG_TCP_CONG_ILLINOIS is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic"
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_GRE is not set
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
CONFIG_NETLABEL=y
CONFIG_NETWORK_SECMARK=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
# CONFIG_NF_CONNTRACK is not set
# CONFIG_NETFILTER_XTABLES is not set
# CONFIG_IP_VS is not set
#
# IP: Netfilter Configuration
#
# CONFIG_NF_DEFRAG_IPV4 is not set
# CONFIG_IP_NF_IPTABLES is not set
# CONFIG_IP_NF_ARPTABLES is not set
#
# IPv6: Netfilter Configuration
#
# CONFIG_NF_DEFRAG_IPV6 is not set
# CONFIG_IP6_NF_IPTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
CONFIG_NET_SCH_HTB=m
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
CONFIG_NET_SCH_CODEL=m
CONFIG_NET_SCH_FQ_CODEL=m
# CONFIG_NET_SCH_INGRESS is not set
# CONFIG_NET_SCH_PLUG is not set
#
# Classification
#
CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
# CONFIG_NET_EMATCH_CMP is not set
# CONFIG_NET_EMATCH_NBYTE is not set
# CONFIG_NET_EMATCH_U32 is not set
# CONFIG_NET_EMATCH_META is not set
# CONFIG_NET_EMATCH_TEXT is not set
CONFIG_NET_CLS_ACT=y
# CONFIG_NET_ACT_POLICE is not set
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_NAT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not set
# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_ACT_CSUM is not set
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_NET_MPLS_GSO is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
# CONFIG_NETPRIO_CGROUP is not set
CONFIG_NET_LL_RX_POLL=y
CONFIG_BQL=y
CONFIG_BPF_JIT=y
CONFIG_NET_FLOW_LIMIT=y
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_NET_DROP_MONITOR is not set
CONFIG_HAMRADIO=y
#
# Packet Radio protocols
#
# CONFIG_AX25 is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
# CONFIG_BT_HIDP is not set
#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTSDIO is not set
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=m
CONFIG_NL80211_TESTMODE=y
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
# CONFIG_LIB80211 is not set
CONFIG_MAC80211=m
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_REGULATOR is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
CONFIG_HAVE_BPF_JIT=y
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
CONFIG_SYS_HYPERVISOR=y
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
#
# Bus devices
#
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
# CONFIG_MTD is not set
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set
#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=65536
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_XEN_BLKDEV_BACKEND is not set
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set
# CONFIG_BLOCKCONSOLE is not set
#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ATMEL_SSC is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_BMP085_SPI is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_CB710_CORE is not set
#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_I2C is not set
#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
# CONFIG_VMWARE_VMCI is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_SCSI_BNX2X_FCOE is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_HPSA is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
CONFIG_MEGARAID_NEWGEN=y
# CONFIG_MEGARAID_MM is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_FCOE is not set
# CONFIG_FCOE_FNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_SCSI_BFA_FC is not set
# CONFIG_SCSI_VIRTIO is not set
# CONFIG_SCSI_CHELSIO_FCOE is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_HIGHBANK is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_RCAR is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARASAN_CF is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
CONFIG_PATA_SIS=y
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set
#
# Generic fallback / legacy drivers
#
CONFIG_PATA_ACPI=y
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_AUTODETECT=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
# CONFIG_BCACHE is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_CRYPT is not set
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_THIN_PROVISIONING is not set
# CONFIG_DM_CACHE is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_DM_SWITCH is not set
# CONFIG_TARGET_CORE is not set
CONFIG_FUSION=y
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set
CONFIG_FUSION_MAX_SGE=128
CONFIG_FUSION_LOGGING=y
#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_I2O is not set
CONFIG_MACINTOSH_DRIVERS=y
CONFIG_MAC_EMUMOUSEBTN=m
CONFIG_NETDEVICES=y
CONFIG_MII=m
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
CONFIG_NET_FC=y
# CONFIG_IFB is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_RIONET is not set
CONFIG_TUN=y
# CONFIG_VETH is not set
CONFIG_VIRTIO_NET=y
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set
#
# CAIF transport drivers
#
# CONFIG_VHOST_NET is not set
#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
# CONFIG_NET_DSA_MV88E6131 is not set
# CONFIG_NET_DSA_MV88E6123_61_65 is not set
CONFIG_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
# CONFIG_VORTEX is not set
# CONFIG_TYPHOON is not set
CONFIG_NET_VENDOR_ADAPTEC=y
# CONFIG_ADAPTEC_STARFIRE is not set
CONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not set
CONFIG_NET_VENDOR_AMD=y
# CONFIG_AMD8111_ETH is not set
# CONFIG_PCNET32 is not set
CONFIG_NET_VENDOR_ARC=y
CONFIG_NET_VENDOR_ATHEROS=y
# CONFIG_ATL2 is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL1C is not set
# CONFIG_ALX is not set
CONFIG_NET_CADENCE=y
# CONFIG_ARM_AT91_ETHER is not set
# CONFIG_MACB is not set
CONFIG_NET_VENDOR_BROADCOM=y
# CONFIG_B44 is not set
# CONFIG_BNX2 is not set
# CONFIG_CNIC is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2X is not set
CONFIG_NET_VENDOR_BROCADE=y
# CONFIG_BNA is not set
# CONFIG_NET_CALXEDA_XGMAC is not set
CONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_CHELSIO_T4 is not set
# CONFIG_CHELSIO_T4VF is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_DNET is not set
CONFIG_NET_VENDOR_DEC=y
CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not set
# CONFIG_ULI526X is not set
CONFIG_NET_VENDOR_DLINK=y
# CONFIG_DL2K is not set
# CONFIG_SUNDANCE is not set
CONFIG_NET_VENDOR_EMULEX=y
# CONFIG_BE2NET is not set
CONFIG_NET_VENDOR_EXAR=y
# CONFIG_S2IO is not set
# CONFIG_VXGE is not set
CONFIG_NET_VENDOR_HP=y
# CONFIG_HP100 is not set
CONFIG_NET_VENDOR_INTEL=y
# CONFIG_E100 is not set
# CONFIG_E1000 is not set
# CONFIG_E1000E is not set
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
CONFIG_NET_VENDOR_I825XX=y
# CONFIG_IP1000 is not set
# CONFIG_JME is not set
CONFIG_NET_VENDOR_MARVELL=y
# CONFIG_MVMDIO is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
# CONFIG_MLX4_CORE is not set
CONFIG_NET_VENDOR_MICREL=y
# CONFIG_KS8842 is not set
# CONFIG_KS8851 is not set
# CONFIG_KS8851_MLL is not set
# CONFIG_KSZ884X_PCI is not set
CONFIG_NET_VENDOR_MICROCHIP=y
# CONFIG_ENC28J60 is not set
CONFIG_NET_VENDOR_MYRI=y
# CONFIG_MYRI10GE is not set
# CONFIG_FEALNX is not set
CONFIG_NET_VENDOR_NATSEMI=y
# CONFIG_NATSEMI is not set
# CONFIG_NS83820 is not set
CONFIG_NET_VENDOR_8390=y
# CONFIG_NE2K_PCI is not set
CONFIG_NET_VENDOR_NVIDIA=y
# CONFIG_FORCEDETH is not set
CONFIG_NET_VENDOR_OKI=y
# CONFIG_PCH_GBE is not set
# CONFIG_ETHOC is not set
CONFIG_NET_PACKET_ENGINE=y
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
CONFIG_NET_VENDOR_QLOGIC=y
# CONFIG_QLA3XXX is not set
# CONFIG_QLCNIC is not set
# CONFIG_QLGE is not set
# CONFIG_NETXEN_NIC is not set
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_ATP is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
CONFIG_R8169=m
# CONFIG_SH_ETH is not set
CONFIG_NET_VENDOR_RDC=y
# CONFIG_R6040 is not set
CONFIG_NET_VENDOR_SEEQ=y
CONFIG_NET_VENDOR_SILAN=y
# CONFIG_SC92031 is not set
CONFIG_NET_VENDOR_SIS=y
# CONFIG_SIS900 is not set
# CONFIG_SIS190 is not set
# CONFIG_SFC is not set
CONFIG_NET_VENDOR_SMSC=y
# CONFIG_EPIC100 is not set
# CONFIG_SMSC911X is not set
# CONFIG_SMSC9420 is not set
CONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not set
CONFIG_NET_VENDOR_SUN=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NIU is not set
CONFIG_NET_VENDOR_TEHUTI=y
# CONFIG_TEHUTI is not set
CONFIG_NET_VENDOR_TI=y
# CONFIG_TLAN is not set
CONFIG_NET_VENDOR_VIA=y
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set
CONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
CONFIG_PHYLIB=y
#
# MII PHY device drivers
#
CONFIG_AT803X_PHY=y
CONFIG_AMD_PHY=y
CONFIG_MARVELL_PHY=y
CONFIG_DAVICOM_PHY=y
CONFIG_QSEMI_PHY=y
CONFIG_LXT_PHY=y
CONFIG_CICADA_PHY=y
CONFIG_VITESSE_PHY=y
CONFIG_SMSC_PHY=y
CONFIG_BROADCOM_PHY=y
CONFIG_BCM87XX_PHY=y
CONFIG_ICPLUS_PHY=y
CONFIG_REALTEK_PHY=y
CONFIG_NATIONAL_PHY=y
CONFIG_STE10XP=y
CONFIG_LSI_ET1011C_PHY=y
CONFIG_MICREL_PHY=y
CONFIG_FIXED_PHY=y
CONFIG_MDIO_BITBANG=y
CONFIG_MDIO_GPIO=y
# CONFIG_MICREL_KS8995MA is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPP_DEFLATE is not set
CONFIG_PPP_FILTER=y
# CONFIG_PPP_MPPE is not set
CONFIG_PPP_MULTILINK=y
# CONFIG_PPPOE is not set
# CONFIG_PPP_ASYNC is not set
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_SLIP is not set
CONFIG_SLHC=y
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_HSO is not set
# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AIRO is not set
# CONFIG_ATMEL is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_MWL8K is not set
# CONFIG_ATH_CARDS is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
# CONFIG_BRCMFMAC is not set
# CONFIG_HOSTAP is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
CONFIG_IWLWIFI=m
CONFIG_IWLDVM=m
# CONFIG_IWLMVM is not set
CONFIG_IWLWIFI_OPMODE_MODULAR=y
#
# Debugging Options
#
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEBUGFS=y
# CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE is not set
CONFIG_IWLWIFI_DEVICE_TRACING=y
# CONFIG_IWLWIFI_P2P is not set
# CONFIG_IWL4965 is not set
# CONFIG_IWL3945 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_HERMES is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set
# CONFIG_RTLWIFI is not set
CONFIG_WL_TI=y
# CONFIG_WL1251 is not set
# CONFIG_WL12XX is not set
# CONFIG_WL18XX is not set
# CONFIG_WLCORE is not set
# CONFIG_ZD1211RW is not set
# CONFIG_MWIFIEX is not set
# CONFIG_CW1200 is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
CONFIG_WAN=y
# CONFIG_HDLC is not set
# CONFIG_DLCI is not set
# CONFIG_SBNI is not set
CONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_XEN_NETDEV_BACKEND is not set
# CONFIG_VMXNET3 is not set
CONFIG_ISDN=y
# CONFIG_ISDN_I4L is not set
# CONFIG_ISDN_CAPI is not set
# CONFIG_ISDN_DRV_GIGASET is not set
# CONFIG_HYSDN is not set
# CONFIG_MISDN is not set
#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5520 is not set
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_STMPE is not set
# CONFIG_KEYBOARD_TC3589X is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_PS2_SENTELIC=y
CONFIG_MOUSE_PS2_TOUCHKIT=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_JOYSTICK_WALKERA0701 is not set
CONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not set
# CONFIG_TABLET_USB_AIPTEK is not set
# CONFIG_TABLET_USB_GTCO is not set
# CONFIG_TABLET_USB_HANWANG is not set
# CONFIG_TABLET_USB_KBTAB is not set
# CONFIG_TABLET_USB_WACOM is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_88PM860X is not set
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_DA9034 is not set
# CONFIG_TOUCHSCREEN_DA9052 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WM831X is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_PCAP is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMPE is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_88PM860X_ONKEY is not set
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MAX8925_ONKEY is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_MPU3050 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GP2A is not set
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_TWL6040_VIBRA is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_PWM_BEEPER is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_DA9052_ONKEY is not set
# CONFIG_INPUT_DA9055_ONKEY is not set
# CONFIG_INPUT_WM831X_ON is not set
# CONFIG_INPUT_PCAP is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IMS_PCU is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_XEN_KBDDEV_FRONTEND is not set
#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=0
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_ROCKETPORT is not set
# CONFIG_CYCLADES is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_SYNCLINK is not set
# CONFIG_SYNCLINKMP is not set
# CONFIG_SYNCLINK_GT is not set
# CONFIG_NOZOMI is not set
# CONFIG_ISI is not set
# CONFIG_N_HDLC is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
# CONFIG_DEVKMEM is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=48
CONFIG_SERIAL_8250_RUNTIME_UARTS=32
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y
# CONFIG_SERIAL_8250_DW is not set
#
# Non-8250 serial port support
#
CONFIG_SERIAL_KGDB_NMI=y
# CONFIG_SERIAL_MAX3100 is not set
CONFIG_SERIAL_MAX310X=y
# CONFIG_SERIAL_MFD_HSU is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_CONSOLE_POLL=y
# CONFIG_SERIAL_JSM is not set
CONFIG_SERIAL_SCCNXP=y
CONFIG_SERIAL_SCCNXP_CONSOLE=y
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_IFX6X60 is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
CONFIG_TTY_PRINTK=y
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
CONFIG_HVC_DRIVER=y
CONFIG_HVC_IRQ=y
CONFIG_HVC_XEN=y
CONFIG_HVC_XEN_FRONTEND=y
# CONFIG_VIRTIO_CONSOLE is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_VIA is not set
# CONFIG_HW_RANDOM_VIRTIO is not set
# CONFIG_HW_RANDOM_TPM is not set
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TIS is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
# CONFIG_TCG_ST33_I2C is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
# CONFIG_I2C_CHARDEV is not set
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set
#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_TOPCLIFF_PCH is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set
#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_HSI is not set
#
# PPS support
#
# CONFIG_PPS is not set
#
# PPS generators support
#
#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set
#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
# CONFIG_PTP_1588_CLOCK_PCH is not set
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_ACPI=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
# CONFIG_GPIO_DA9052 is not set
# CONFIG_GPIO_DA9055 is not set
#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_IT8761E is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_SCH is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_LYNXPOINT is not set
#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
CONFIG_GPIO_RC5T583=y
CONFIG_GPIO_SX150X=y
CONFIG_GPIO_STMPE=y
CONFIG_GPIO_TC3589X=y
# CONFIG_GPIO_TPS65912 is not set
# CONFIG_GPIO_TWL6040 is not set
# CONFIG_GPIO_WM831X is not set
# CONFIG_GPIO_WM8350 is not set
# CONFIG_GPIO_WM8994 is not set
# CONFIG_GPIO_ADP5520 is not set
# CONFIG_GPIO_ADP5588 is not set
#
# PCI GPIO expanders:
#
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_AMD8111 is not set
CONFIG_GPIO_LANGWELL=y
# CONFIG_GPIO_PCH is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_RDC321X is not set
#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_74X164 is not set
#
# AC97 GPIO expanders:
#
#
# MODULbus GPIO expanders:
#
# CONFIG_GPIO_PALMAS is not set
CONFIG_GPIO_TPS6586X=y
CONFIG_GPIO_TPS65910=y
#
# USB GPIO expanders:
#
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_MAX8925_POWER is not set
# CONFIG_WM831X_BACKUP is not set
# CONFIG_WM831X_POWER is not set
# CONFIG_WM8350_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_88PM860X is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_DA9030 is not set
# CONFIG_BATTERY_DA9052 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
CONFIG_CHARGER_MANAGER=y
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_CHARGER_TPS65090 is not set
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_POWER_RESET is not set
CONFIG_POWER_AVS=y
CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7310 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DA9052_ADC is not set
# CONFIG_SENSORS_DA9055 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
CONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_WM831X is not set
# CONFIG_SENSORS_WM8350 is not set
# CONFIG_SENSORS_APPLESMC is not set
#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_USER_SPACE=y
CONFIG_CPU_THERMAL=y
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_PKG_TEMP_THERMAL=m
#
# Texas Instruments thermal drivers
#
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_DA9052_WATCHDOG is not set
# CONFIG_DA9055_WATCHDOG is not set
# CONFIG_WM831X_WATCHDOG is not set
# CONFIG_WM8350_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SC520_WDT is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83697HF_WDT is not set
# CONFIG_W83697UG_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_XEN_WDT is not set
#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set
#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set
#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_CS5535 is not set
# CONFIG_MFD_AS3711 is not set
CONFIG_PMIC_ADP5520=y
CONFIG_MFD_AAT2870_CORE=y
# CONFIG_MFD_CROS_EC is not set
CONFIG_PMIC_DA903X=y
CONFIG_PMIC_DA9052=y
CONFIG_MFD_DA9052_SPI=y
CONFIG_MFD_DA9052_I2C=y
CONFIG_MFD_DA9055=y
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_PASIC3 is not set
CONFIG_HTC_I2CPLD=y
CONFIG_LPC_ICH=m
# CONFIG_LPC_SCH is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
CONFIG_MFD_88PM860X=y
CONFIG_MFD_MAX77686=y
CONFIG_MFD_MAX77693=y
# CONFIG_MFD_MAX8907 is not set
CONFIG_MFD_MAX8925=y
CONFIG_MFD_MAX8997=y
CONFIG_MFD_MAX8998=y
CONFIG_EZX_PCAP=y
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RTSX_PCI is not set
CONFIG_MFD_RC5T583=y
CONFIG_MFD_SEC_CORE=y
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
CONFIG_MFD_SMSC=y
CONFIG_ABX500_CORE=y
CONFIG_AB3100_CORE=y
# CONFIG_AB3100_OTP is not set
CONFIG_MFD_STMPE=y
#
# STMicroelectronics STMPE Interface Drivers
#
CONFIG_STMPE_I2C=y
CONFIG_STMPE_SPI=y
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
CONFIG_MFD_LP8788=y
CONFIG_MFD_PALMAS=y
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
CONFIG_MFD_TPS65090=y
# CONFIG_MFD_TPS65217 is not set
CONFIG_MFD_TPS6586X=y
CONFIG_MFD_TPS65910=y
CONFIG_MFD_TPS65912=y
CONFIG_MFD_TPS65912_I2C=y
CONFIG_MFD_TPS65912_SPI=y
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
CONFIG_TWL6040_CORE=y
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TIMBERDALE is not set
CONFIG_MFD_TC3589X=y
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
CONFIG_MFD_WM8400=y
CONFIG_MFD_WM831X=y
CONFIG_MFD_WM831X_I2C=y
CONFIG_MFD_WM831X_SPI=y
CONFIG_MFD_WM8350=y
CONFIG_MFD_WM8350_I2C=y
CONFIG_MFD_WM8994=y
CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
# CONFIG_REGULATOR_DUMMY is not set
# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_AAT2870 is not set
# CONFIG_REGULATOR_DA903X is not set
# CONFIG_REGULATOR_DA9052 is not set
# CONFIG_REGULATOR_DA9055 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_ISL6271A is not set
CONFIG_REGULATOR_88PM8607=y
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8925 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX8973 is not set
# CONFIG_REGULATOR_MAX8997 is not set
# CONFIG_REGULATOR_MAX8998 is not set
# CONFIG_REGULATOR_MAX77686 is not set
# CONFIG_REGULATOR_MAX77693 is not set
# CONFIG_REGULATOR_PCAP is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
CONFIG_REGULATOR_LP872X=y
# CONFIG_REGULATOR_LP8755 is not set
CONFIG_REGULATOR_LP8788=y
# CONFIG_REGULATOR_RC5T583 is not set
# CONFIG_REGULATOR_S2MPS11 is not set
# CONFIG_REGULATOR_S5M8767 is not set
# CONFIG_REGULATOR_AB3100 is not set
# CONFIG_REGULATOR_PALMAS is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS65090 is not set
# CONFIG_REGULATOR_TPS6524X is not set
# CONFIG_REGULATOR_TPS6586X is not set
# CONFIG_REGULATOR_TPS65910 is not set
# CONFIG_REGULATOR_TPS65912 is not set
# CONFIG_REGULATOR_WM831X is not set
# CONFIG_REGULATOR_WM8350 is not set
# CONFIG_REGULATOR_WM8400 is not set
# CONFIG_REGULATOR_WM8994 is not set
CONFIG_MEDIA_SUPPORT=m
#
# Multimedia core support
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_RC_SUPPORT=y
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2=m
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEOBUF2_CORE=m
CONFIG_VIDEOBUF2_MEMOPS=m
CONFIG_VIDEOBUF2_VMALLOC=m
# CONFIG_VIDEO_V4L2_INT_DEVICE is not set
CONFIG_DVB_CORE=m
CONFIG_DVB_NET=y
# CONFIG_TTPCI_EEPROM is not set
CONFIG_DVB_MAX_ADAPTERS=8
CONFIG_DVB_DYNAMIC_MINORS=y
#
# Media drivers
#
CONFIG_RC_CORE=m
# CONFIG_RC_MAP is not set
CONFIG_RC_DECODERS=y
# CONFIG_LIRC is not set
# CONFIG_IR_NEC_DECODER is not set
# CONFIG_IR_RC5_DECODER is not set
# CONFIG_IR_RC6_DECODER is not set
# CONFIG_IR_JVC_DECODER is not set
# CONFIG_IR_SONY_DECODER is not set
# CONFIG_IR_RC5_SZ_DECODER is not set
# CONFIG_IR_SANYO_DECODER is not set
# CONFIG_IR_MCE_KBD_DECODER is not set
CONFIG_RC_DEVICES=y
# CONFIG_RC_ATI_REMOTE is not set
# CONFIG_IR_ENE is not set
# CONFIG_IR_IMON is not set
# CONFIG_IR_MCEUSB is not set
# CONFIG_IR_ITE_CIR is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_NUVOTON is not set
# CONFIG_IR_REDRAT3 is not set
# CONFIG_IR_STREAMZAP is not set
# CONFIG_IR_WINBOND_CIR is not set
# CONFIG_IR_IGUANA is not set
# CONFIG_IR_TTUSBIR is not set
# CONFIG_RC_LOOPBACK is not set
# CONFIG_IR_GPIO_CIR is not set
CONFIG_MEDIA_USB_SUPPORT=y
#
# Webcam devices
#
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
# CONFIG_USB_GSPCA is not set
# CONFIG_USB_PWC is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STKWEBCAM is not set
# CONFIG_USB_S2255 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_VIDEO_USBTV is not set
#
# Analog TV USB devices
#
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_HDPVR is not set
# CONFIG_VIDEO_TLG2300 is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_VIDEO_STK1160 is not set
#
# Analog/digital TV USB devices
#
# CONFIG_VIDEO_AU0828 is not set
# CONFIG_VIDEO_CX231XX is not set
# CONFIG_VIDEO_TM6000 is not set
#
# Digital TV USB devices
#
# CONFIG_DVB_USB is not set
# CONFIG_DVB_USB_V2 is not set
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_SMS_USB_DRV is not set
# CONFIG_DVB_B2C2_FLEXCOP_USB is not set
#
# Webcam, TV (analog/digital) USB devices
#
# CONFIG_VIDEO_EM28XX is not set
CONFIG_MEDIA_PCI_SUPPORT=y
#
# Media capture support
#
#
# Media capture/analog TV support
#
# CONFIG_VIDEO_IVTV is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_MXB is not set
#
# Media capture/analog/hybrid TV support
#
# CONFIG_VIDEO_CX18 is not set
# CONFIG_VIDEO_CX23885 is not set
# CONFIG_VIDEO_CX25821 is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_SAA7164 is not set
#
# Media digital TV PCI Adapters
#
# CONFIG_DVB_AV7110 is not set
# CONFIG_DVB_BUDGET_CORE is not set
# CONFIG_DVB_B2C2_FLEXCOP_PCI is not set
# CONFIG_DVB_PLUTO2 is not set
# CONFIG_DVB_DM1105 is not set
# CONFIG_DVB_PT1 is not set
# CONFIG_MANTIS_CORE is not set
# CONFIG_DVB_NGENE is not set
# CONFIG_DVB_DDBRIDGE is not set
CONFIG_V4L_PLATFORM_DRIVERS=y
# CONFIG_VIDEO_CAFE_CCIC is not set
# CONFIG_VIDEO_TIMBERDALE is not set
# CONFIG_SOC_CAMERA is not set
CONFIG_V4L_MEM2MEM_DRIVERS=y
# CONFIG_VIDEO_MEM2MEM_DEINTERLACE is not set
# CONFIG_VIDEO_SH_VEU is not set
CONFIG_V4L_TEST_DRIVERS=y
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_MEM2MEM_TESTDEV is not set
#
# Supported MMC/SDIO adapters
#
# CONFIG_SMS_SDIO_DRV is not set
CONFIG_MEDIA_PARPORT_SUPPORT=y
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
CONFIG_RADIO_ADAPTERS=y
CONFIG_RADIO_SI470X=y
# CONFIG_USB_SI470X is not set
# CONFIG_I2C_SI470X is not set
# CONFIG_USB_MR800 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SHARK is not set
# CONFIG_RADIO_SHARK2 is not set
# CONFIG_I2C_SI4713 is not set
# CONFIG_RADIO_SI4713 is not set
# CONFIG_USB_KEENE is not set
# CONFIG_USB_MA901 is not set
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_SAA7706H is not set
# CONFIG_RADIO_TEF6862 is not set
# CONFIG_RADIO_WL1273 is not set
#
# Texas Instruments WL128x FM driver (ST based)
#
# CONFIG_RADIO_WL128X is not set
# CONFIG_CYPRESS_FIRMWARE is not set
#
# Media ancillary drivers (tuners, sensors, i2c, frontends)
#
CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
CONFIG_MEDIA_ATTACH=y
CONFIG_VIDEO_IR_I2C=m
#
# Audio decoders, processors and mixers
#
#
# RDS decoders
#
#
# Video decoders
#
#
# Video and audio decoders
#
#
# Video encoders
#
#
# Camera sensor devices
#
#
# Flash devices
#
#
# Video improvement chips
#
#
# Miscelaneous helper chips
#
#
# Sensors used on soc_camera driver
#
CONFIG_MEDIA_TUNER=m
CONFIG_MEDIA_TUNER_SIMPLE=m
CONFIG_MEDIA_TUNER_TDA8290=m
CONFIG_MEDIA_TUNER_TDA827X=m
CONFIG_MEDIA_TUNER_TDA18271=m
CONFIG_MEDIA_TUNER_TDA9887=m
CONFIG_MEDIA_TUNER_TEA5761=m
CONFIG_MEDIA_TUNER_TEA5767=m
CONFIG_MEDIA_TUNER_MT20XX=m
CONFIG_MEDIA_TUNER_XC2028=m
CONFIG_MEDIA_TUNER_XC5000=m
CONFIG_MEDIA_TUNER_XC4000=m
CONFIG_MEDIA_TUNER_MC44S803=m
#
# Multistandard (satellite) frontends
#
#
# Multistandard (cable + terrestrial) frontends
#
#
# DVB-S (satellite) frontends
#
#
# DVB-T (terrestrial) frontends
#
#
# DVB-C (cable) frontends
#
#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
#
# ISDB-T (terrestrial) frontends
#
#
# Digital terrestrial only tuners/PLL
#
#
# SEC control devices for DVB-S
#
#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
CONFIG_AGP_VIA=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_SWITCHEROO=y
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I810 is not set
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_HDMI=y
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
CONFIG_FB_ASILIANT=y
CONFIG_FB_IMSTT=y
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_GOLDFISH is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_XEN_FBDEV_FRONTEND is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
CONFIG_EXYNOS_VIDEO=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_PWM is not set
# CONFIG_BACKLIGHT_DA903X is not set
# CONFIG_BACKLIGHT_DA9052 is not set
# CONFIG_BACKLIGHT_MAX8925 is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_WM831X is not set
# CONFIG_BACKLIGHT_ADP5520 is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_88PM860X is not set
# CONFIG_BACKLIGHT_AAT2870 is not set
# CONFIG_BACKLIGHT_LM3630 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LP855X is not set
# CONFIG_BACKLIGHT_LP8788 is not set
#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_LOGO is not set
CONFIG_SOUND=m
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_HRTIMER is not set
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_RAWMIDI_SEQ=m
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=0
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_I915 is not set
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
#
# HID support
#
CONFIG_HID=m
CONFIG_HIDRAW=y
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=m
#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_ELO is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_HUION is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THINGM is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_WIIMOTE is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
#
# USB HID support
#
CONFIG_USB_HID=m
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
CONFIG_USB_MON=m
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_HCD_DEBUGGING is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_FUSBH200_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#
#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_CHIPIDEA is not set
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_PHY is not set
# CONFIG_USB_GADGET is not set
# CONFIG_UWB is not set
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set
#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=m
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set
#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PCI=m
# CONFIG_MMC_RICOH_MMC is not set
# CONFIG_MMC_SDHCI_ACPI is not set
# CONFIG_MMC_SDHCI_PLTFM is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
# CONFIG_MMC_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_88PM860X is not set
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP5521 is not set
# CONFIG_LEDS_LP5523 is not set
# CONFIG_LEDS_LP5562 is not set
# CONFIG_LEDS_LP8788 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA9633 is not set
# CONFIG_LEDS_WM831X_STATUS is not set
# CONFIG_LEDS_WM8350 is not set
# CONFIG_LEDS_DA903X is not set
# CONFIG_LEDS_DA9052 is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_PWM is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_ADP5520 is not set
# CONFIG_LEDS_DELL_NETBOOKS is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_MAX8997 is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_OT200 is not set
# CONFIG_LEDS_BLINKM is not set
#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
CONFIG_LEDS_TRIGGER_CPU=y
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC=y
CONFIG_EDAC_LEGACY_SYSFS=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_DECODE_MCE is not set
# CONFIG_EDAC_MM_EDAC is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_88PM860X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_LP8788 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX8925 is not set
# CONFIG_RTC_DRV_MAX8998 is not set
# CONFIG_RTC_DRV_MAX8997 is not set
# CONFIG_RTC_DRV_MAX77686 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PALMAS is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_TPS6586X is not set
# CONFIG_RTC_DRV_TPS65910 is not set
# CONFIG_RTC_DRV_RC5T583 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_DS3234 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
# CONFIG_RTC_DRV_RX4581 is not set
#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DA9052 is not set
# CONFIG_RTC_DRV_DA9055 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_WM831X is not set
# CONFIG_RTC_DRV_WM8350 is not set
# CONFIG_RTC_DRV_AB3100 is not set
#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_PCAP is not set
#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set
#
# DMA Devices
#
# CONFIG_INTEL_MID_DMAC is not set
# CONFIG_INTEL_IOATDMA is not set
# CONFIG_DW_DMAC_CORE is not set
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_TIMB_DMA is not set
# CONFIG_PCH_DMA is not set
CONFIG_DMA_ENGINE=y
CONFIG_DMA_ACPI=y
#
# DMA Clients
#
CONFIG_NET_DMA=y
# CONFIG_ASYNC_TX_DMA is not set
# CONFIG_DMATEST is not set
CONFIG_AUXDISPLAY=y
# CONFIG_KS0108 is not set
# CONFIG_UIO is not set
# CONFIG_VFIO is not set
CONFIG_VIRT_DRIVERS=y
CONFIG_VIRTIO=y
#
# Virtio drivers
#
CONFIG_VIRTIO_PCI=y
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_MMIO is not set
#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
#
# Xen driver support
#
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SELFBALLOONING=y
CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
CONFIG_XEN_SCRUB_PAGES=y
# CONFIG_XEN_DEV_EVTCHN is not set
CONFIG_XEN_BACKEND=y
# CONFIG_XENFS is not set
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
# CONFIG_XEN_GNTDEV is not set
# CONFIG_XEN_GRANT_DEV_ALLOC is not set
CONFIG_SWIOTLB_XEN=y
CONFIG_XEN_TMEM=m
# CONFIG_XEN_PCIDEV_BACKEND is not set
CONFIG_XEN_PRIVCMD=m
CONFIG_XEN_ACPI_PROCESSOR=y
CONFIG_XEN_MCE_LOG=y
CONFIG_XEN_HAVE_PVMMU=y
CONFIG_STAGING=y
# CONFIG_ET131X is not set
# CONFIG_SLICOSS is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_W35UND is not set
# CONFIG_PRISM2_USB is not set
# CONFIG_ECHO is not set
# CONFIG_COMEDI is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_PANEL is not set
# CONFIG_R8187SE is not set
# CONFIG_RTL8192U is not set
# CONFIG_RTLLIB is not set
# CONFIG_R8712U is not set
# CONFIG_RTS5139 is not set
# CONFIG_TRANZPORT is not set
# CONFIG_IDE_PHISON is not set
# CONFIG_LINE6_USB is not set
# CONFIG_VT6655 is not set
# CONFIG_VT6656 is not set
# CONFIG_DX_SEP is not set
CONFIG_ZSMALLOC=y
# CONFIG_ZRAM is not set
# CONFIG_FB_SM7XX is not set
# CONFIG_CRYSTALHD is not set
# CONFIG_FB_XGI is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_USB_ENESTORAGE is not set
# CONFIG_BCM_WIMAX is not set
# CONFIG_FT1000 is not set
#
# Speakup console speech
#
# CONFIG_SPEAKUP is not set
# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set
CONFIG_STAGING_MEDIA=y
# CONFIG_DVB_AS102 is not set
# CONFIG_DVB_CXD2099 is not set
# CONFIG_VIDEO_DT3155 is not set
# CONFIG_VIDEO_GO7007 is not set
# CONFIG_SOLO6X10 is not set
#
# Android
#
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ASHMEM=y
# CONFIG_ANDROID_LOGGER is not set
CONFIG_ANDROID_TIMED_OUTPUT=y
# CONFIG_ANDROID_TIMED_GPIO is not set
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
CONFIG_ANDROID_INTF_ALARM_DEV=y
# CONFIG_SYNC is not set
# CONFIG_USB_WPAN_HCD is not set
# CONFIG_WIMAX_GDM72XX is not set
# CONFIG_CSR_WIFI is not set
CONFIG_NET_VENDOR_SILICOM=y
# CONFIG_SBYPASS is not set
# CONFIG_BPCTL is not set
# CONFIG_CED1401 is not set
# CONFIG_DGRP is not set
# CONFIG_ZCACHE is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_BTMTK is not set
CONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ACER_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_CHROMEOS_LAPTOP is not set
# CONFIG_DELL_WMI is not set
# CONFIG_DELL_WMI_AIO is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_HP_ACCEL is not set
# CONFIG_HP_WMI is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not set
# CONFIG_ASUS_WMI is not set
CONFIG_ACPI_WMI=m
# CONFIG_MSI_WMI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_INTEL_IPS is not set
# CONFIG_IBM_RTL is not set
# CONFIG_XO15_EBOOK is not set
CONFIG_SAMSUNG_LAPTOP=m
# CONFIG_MXM_WMI is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_PVPANIC is not set
#
# Hardware Spinlock drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# CONFIG_MAILBOX is not set
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_STATS=y
# CONFIG_AMD_IOMMU_V2 is not set
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_IRQ_REMAP=y
#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set
#
# Rpmsg drivers
#
CONFIG_PM_DEVFREQ=y
#
# DEVFREQ Governors
#
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
CONFIG_DEVFREQ_GOV_PERFORMANCE=y
CONFIG_DEVFREQ_GOV_POWERSAVE=y
CONFIG_DEVFREQ_GOV_USERSPACE=y
#
# DEVFREQ Drivers
#
CONFIG_EXTCON=y
#
# Extcon Device Drivers
#
# CONFIG_EXTCON_GPIO is not set
# CONFIG_EXTCON_MAX77693 is not set
# CONFIG_EXTCON_MAX8997 is not set
# CONFIG_EXTCON_PALMAS is not set
CONFIG_MEMORY=y
# CONFIG_IIO is not set
# CONFIG_NTB is not set
# CONFIG_VME_BUS is not set
CONFIG_PWM=y
CONFIG_PWM_SYSFS=y
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set
#
# Firmware Drivers
#
CONFIG_EDD=y
CONFIG_EDD_OFF=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_ISCSI_IBFT_FIND=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_GOOGLE_FIRMWARE is not set
#
# EFI (Extensible Firmware Interface) Support
#
CONFIG_EFI_VARS=y
CONFIG_EFI_VARS_PSTORE=y
# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set
#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_EXT4_DEBUG=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
CONFIG_JBD2_DEBUG=y
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_GFS2_FS is not set
CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
# CONFIG_QUOTA_DEBUG is not set
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not set
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
# CONFIG_AUTOFS4_FS is not set
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
CONFIG_GENERIC_ACL=y
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=y
# CONFIG_ECRYPT_FS_MESSAGING is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_PSTORE=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_FTRACE is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_EFIVAR_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set
#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
CONFIG_UNUSED_SYMBOLS=y
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
CONFIG_DEBUG_OBJECTS=y
# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
# CONFIG_DEBUG_OBJECTS_FREE is not set
# CONFIG_DEBUG_OBJECTS_TIMERS is not set
# CONFIG_DEBUG_OBJECTS_WORK is not set
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
# CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER is not set
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
CONFIG_DEBUG_SLAB=y
# CONFIG_DEBUG_SLAB_LEAK is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not set
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
CONFIG_BOOT_PRINTK_DELAY=y
#
# RCU Debugging
#
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_LKDTM is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
CONFIG_LATENCYTOP=y
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_IRQSOFF_TRACER is not set
CONFIG_SCHED_TRACER=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_TRACER_SNAPSHOT=y
# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
CONFIG_STACK_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_KPROBE_EVENT=y
CONFIG_UPROBE_EVENT=y
CONFIG_PROBE_EVENTS=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_FUNCTION_PROFILER=y
CONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not set
CONFIG_MMIOTRACE=y
# CONFIG_MMIOTRACE_TEST is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_KGDB=y
CONFIG_KGDB_SERIAL_CONSOLE=y
# CONFIG_KGDB_TESTS is not set
CONFIG_KGDB_LOW_LEVEL_TRAP=y
CONFIG_KGDB_KDB=y
CONFIG_KDB_KEYBOARD=y
CONFIG_KDB_CONTINUE_CATASTROPHIC=0
CONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
CONFIG_STRICT_DEVMEM=y
# CONFIG_X86_VERBOSE_BOOTUP is not set
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_X86_PTDUMP is not set
CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_DEBUG_SET_MODULE_RONX=y
# CONFIG_DEBUG_NX_TEST is not set
CONFIG_DOUBLEFAULT=y
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
CONFIG_IO_DELAY_0XED=y
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=1
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
CONFIG_OPTIMIZE_INLINING=y
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_STATIC_CPU_HAS is not set
#
# Security options
#
CONFIG_KEYS=y
CONFIG_TRUSTED_KEYS=y
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_PATH=y
CONFIG_INTEL_TXT=y
CONFIG_LSM_MMAP_MIN_ADDR=0
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set
CONFIG_SECURITY_SMACK=y
CONFIG_SECURITY_TOMOYO=y
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024
# CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set
CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/tomoyo-init"
CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init"
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_YAMA_STACKED=y
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_AUDIT=y
# CONFIG_INTEGRITY_ASYMMETRIC_KEYS is not set
# CONFIG_IMA is not set
CONFIG_EVM=y
CONFIG_EVM_HMAC_VERSION=2
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
CONFIG_DEFAULT_SECURITY_APPARMOR=y
# CONFIG_DEFAULT_SECURITY_YAMA is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_DEFAULT_SECURITY="apparmor"
CONFIG_XOR_BLOCKS=m
CONFIG_CRYPTO=y
#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_GF128MUL=m
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
CONFIG_CRYPTO_CRYPTD=m
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set
CONFIG_CRYPTO_ABLK_HELPER_X86=m
CONFIG_CRYPTO_GLUE_HELPER_X86=m
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_LRW=m
# CONFIG_CRYPTO_PCBC is not set
CONFIG_CRYPTO_XTS=m
#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not set
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
CONFIG_CRYPTO_CRC32C_INTEL=y
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRC32_PCLMUL is not set
CONFIG_CRYPTO_CRCT10DIF=y
# CONFIG_CRYPTO_CRCT10DIF_PCLMUL is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA1_SSSE3 is not set
# CONFIG_CRYPTO_SHA256_SSSE3 is not set
# CONFIG_CRYPTO_SHA512_SSSE3 is not set
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set
CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m
#
# Ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=m
CONFIG_CRYPTO_AES_NI_INTEL=m
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_BLOWFISH_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAMELLIA_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_X86_64 is not set
# CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not set
# CONFIG_CRYPTO_SERPENT_AVX2_X86_64 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
# CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set
# CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set
#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
CONFIG_CRYPTO_LZO=y
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set
#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_PADLOCK=y
# CONFIG_CRYPTO_DEV_PADLOCK_AES is not set
# CONFIG_CRYPTO_DEV_PADLOCK_SHA is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_PUBLIC_KEY_ALGO_RSA=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
# CONFIG_KVM_AMD is not set
# CONFIG_KVM_MMU_AUDIT is not set
CONFIG_KVM_DEVICE_ASSIGNMENT=y
CONFIG_BINARY_PRINTF=y
#
# Library routines
#
CONFIG_RAID6_PQ=m
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_PERCPU_RWSEM=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=m
# CONFIG_CRC8 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_AVERAGE=y
CONFIG_CLZ_TAB=y
# CONFIG_CORDIC is not set
CONFIG_DDR=y
CONFIG_MPILIB=y
CONFIG_SIGNATURE=y
CONFIG_OID_REGISTRY=y
CONFIG_UCS2_STRING=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
[-- Attachment #4: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]
2013-07-01 8:49 linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ] Sedat Dilek
@ 2013-07-01 8:52 ` Daniel Vetter
2013-07-01 9:03 ` Sedat Dilek
0 siblings, 1 reply; 35+ messages in thread
From: Daniel Vetter @ 2013-07-01 8:52 UTC (permalink / raw)
To: Sedat Dilek, Barnes, Jesse
Cc: Stephen Rothwell, linux-next, Linux Kernel Mailing List,
intel-gfx, DRI, Dave Airlie
On Mon, Jul 1, 2013 at 10:49 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On Mon, Jul 1, 2013 at 9:59 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>> Hi all,
>>
>> Changes since 20130628:
>>
>> The regulator tree gained a build failure so I used the version from
>> next-20130628.
>>
>> The trivial tree gained a conflict against the fbdev tree.
>>
>> The arm-soc tree gained a conflict against the net-next tree.
>>
>> The akpm tree lost a few patches that turned up elsewhere and I removed 2
>> that were causing run time problems.
>>
>
> [ CC drm and drm-intel folks ]
>
> [ Did not check any relevant MLs ]
>
> Please, see attached dmesg output.
Clock mismatch, one for Jesse to figure out. Note that this patch is
for 3.12, I simply haven't yet gotten around to properly split my
patch queue so a few spilled into -next. I'll do that now.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]
2013-07-01 8:52 ` Daniel Vetter
@ 2013-07-01 9:03 ` Sedat Dilek
2013-07-02 5:31 ` Sedat Dilek
0 siblings, 1 reply; 35+ messages in thread
From: Sedat Dilek @ 2013-07-01 9:03 UTC (permalink / raw)
To: Daniel Vetter
Cc: Barnes, Jesse, Stephen Rothwell, linux-next,
Linux Kernel Mailing List, intel-gfx, DRI, Dave Airlie
On Mon, Jul 1, 2013 at 10:52 AM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> On Mon, Jul 1, 2013 at 10:49 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>> On Mon, Jul 1, 2013 at 9:59 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>> Hi all,
>>>
>>> Changes since 20130628:
>>>
>>> The regulator tree gained a build failure so I used the version from
>>> next-20130628.
>>>
>>> The trivial tree gained a conflict against the fbdev tree.
>>>
>>> The arm-soc tree gained a conflict against the net-next tree.
>>>
>>> The akpm tree lost a few patches that turned up elsewhere and I removed 2
>>> that were causing run time problems.
>>>
>>
>> [ CC drm and drm-intel folks ]
>>
>> [ Did not check any relevant MLs ]
>>
>> Please, see attached dmesg output.
>
> Clock mismatch, one for Jesse to figure out. Note that this patch is
> for 3.12, I simply haven't yet gotten around to properly split my
> patch queue so a few spilled into -next. I'll do that now.
I like lightspeed-fast replies :-).
Guess "drm/i915: get mode clock when reading the pipe config v9" [1]
is the cause.
- Sedat -
[1] http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-next-queued&id=d325d8b4f351f9d45e7c8baabf581fd21f343133
> -Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]
2013-07-01 9:03 ` Sedat Dilek
@ 2013-07-02 5:31 ` Sedat Dilek
[not found] ` <CA+icZUW3K7RyUcfdos7aOkrEOd3To0kSns+G3GSfkPqqwo7z=w@mail.gmail.com>
0 siblings, 1 reply; 35+ messages in thread
From: Sedat Dilek @ 2013-07-02 5:31 UTC (permalink / raw)
To: Daniel Vetter
Cc: Barnes, Jesse, Stephen Rothwell, linux-next,
Linux Kernel Mailing List, intel-gfx, DRI, Dave Airlie
On Mon, Jul 1, 2013 at 11:03 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On Mon, Jul 1, 2013 at 10:52 AM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>> On Mon, Jul 1, 2013 at 10:49 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>>> On Mon, Jul 1, 2013 at 9:59 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20130628:
>>>>
>>>> The regulator tree gained a build failure so I used the version from
>>>> next-20130628.
>>>>
>>>> The trivial tree gained a conflict against the fbdev tree.
>>>>
>>>> The arm-soc tree gained a conflict against the net-next tree.
>>>>
>>>> The akpm tree lost a few patches that turned up elsewhere and I removed 2
>>>> that were causing run time problems.
>>>>
>>>
>>> [ CC drm and drm-intel folks ]
>>>
>>> [ Did not check any relevant MLs ]
>>>
>>> Please, see attached dmesg output.
>>
>> Clock mismatch, one for Jesse to figure out. Note that this patch is
>> for 3.12, I simply haven't yet gotten around to properly split my
>> patch queue so a few spilled into -next. I'll do that now.
>
> I like lightspeed-fast replies :-).
>
> Guess "drm/i915: get mode clock when reading the pipe config v9" [1]
> is the cause.
>
Problem solved by applying these patches to next-20130701 from
intel-gfx patchwork-service [0]:
[1/2] drm/i915: fixup messages in pipe_config_compare
[2/2] drm/i915: get clock config when checking CRTC state too
AFAICS 2/2 was folded into updated "drm/i915: get mode clock when
reading the pipe config v9" [3].
It would be kind to be CCed on the patches and get also some credits.
Also a CC to the report in linux-next should IMHO be done.
- Sedat -
[0] https://patchwork.kernel.org/project/intel-gfx/list/
[1] https://patchwork.kernel.org/patch/2809031/
[2] https://patchwork.kernel.org/patch/2809021/
[3] http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-nightly&id=f1f644dc66cbaf5a4c7dcde683361536b41885b9
> - Sedat -
>
> [1] http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-next-queued&id=d325d8b4f351f9d45e7c8baabf581fd21f343133
>
>> -Daniel
>> --
>> Daniel Vetter
>> Software Engineer, Intel Corporation
>> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2012-10-05 7:15 Robert Schwebel
0 siblings, 0 replies; 35+ messages in thread
From: Robert Schwebel @ 2012-10-05 7:15 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: Steffen Trumtrar, devicetree-discuss, Rob Herring, linux-fbdev,
dri-devel, Laurent Pinchart, linux-media, TomiValkeinen
<tomi.valkeinen@ti.com>, pza
Bcc:
Subject: Re: [PATCH 1/2 v6] of: add helper to parse display timings
Reply-To:
In-Reply-To: <Pine.LNX.4.64.1210042307300.3744@axis700.grange>
X-Sent-From: Pengutronix Hildesheim
X-URL: http://www.pengutronix.de/
X-IRC: #ptxdist @freenode
X-Accept-Language: de,en
X-Accept-Content-Type: text/plain
X-Uptime: 09:13:09 up 103 days, 22:24, 36 users, load average: 0,57, 0,60,
0,61
On Thu, Oct 04, 2012 at 11:35:35PM +0200, Guennadi Liakhovetski wrote:
> > +optional properties:
> > + - hsync-active-high (bool): Hsync pulse is active high
> > + - vsync-active-high (bool): Vsync pulse is active high
>
> For the above two we also considered using bool properties but eventually
> settled down with integer ones:
>
> - hsync-active = <1>
>
> for active-high and 0 for active low. This has the added advantage of
> being able to omit this property in the .dts, which then doesn't mean,
> that the polarity is active low, but rather, that the hsync line is not
> used on this hardware. So, maybe it would be good to use the same binding
> here too?
Philipp, this is the same argumentation as we discussed yesterday for
the dual-link LVDS option, so that one could be modelled in a similar
way.
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown),
@ 2012-04-12 0:54 Rodrigo Vivi
0 siblings, 0 replies; 35+ messages in thread
From: Rodrigo Vivi @ 2012-04-12 0:54 UTC (permalink / raw)
To: DRI Development; +Cc: Intel Graphics Development, Rodrigo Vivi
There are many bugs open on fd.o regarding missing modes that are supported on Windows and other closed source drivers.
>From EDID spec we can (might?) infer modes using GTF and CVT when monitor allows it trough range limited flag... obviously limiting by the range.
>From our code:
* EDID spec says modes should be preferred in this order:
* - preferred detailed mode
* - other detailed modes from base block
* - detailed modes from extension blocks
* - CVT 3-byte code modes
* - standard timing codes
* - established timing codes
* - modes inferred from GTF or CVT range information
*
* We get this pretty much right.
Not actually so right... We were inferring just using GTF... not CVT or even GTF2.
This patch not just add some common cvt modes but also allows some modes been inferred when using gtf2 as well.
Cheers,
Rodrigo.
>From 4b7a88d0d812583d850ca691d1ac491355230d11 Mon Sep 17 00:00:00 2001
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date: Wed, 11 Apr 2012 15:36:31 -0300
Subject: [PATCH] drm/edid: Adding common CVT inferred modes when monitor
allows range limited ones trough EDID.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
drivers/gpu/drm/drm_edid.c | 37 +++++++++++++-
drivers/gpu/drm/drm_edid_modes.h | 101 ++++++++++++++++++++++++++++++++++++++
2 files changed, 136 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 7ee7be1..3179572 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1020,17 +1020,50 @@ drm_gtf_modes_for_range(struct drm_connector *connector, struct edid *edid,
return modes;
}
+static int
+drm_cvt_modes_for_range(struct drm_connector *connector, struct edid *edid,
+ struct detailed_timing *timing)
+{
+ int i, modes = 0;
+ struct drm_display_mode *newmode;
+ struct drm_device *dev = connector->dev;
+
+ for (i = 0; i < drm_num_cvt_inferred_modes; i++) {
+ if (mode_in_range(drm_cvt_inferred_modes + i, edid, timing)) {
+ newmode = drm_mode_duplicate(dev, &drm_cvt_inferred_modes[i]);
+ if (newmode) {
+ drm_mode_probed_add(connector, newmode);
+ modes++;
+ }
+ }
+ }
+
+ return modes;
+}
+
static void
do_inferred_modes(struct detailed_timing *timing, void *c)
{
struct detailed_mode_closure *closure = c;
struct detailed_non_pixel *data = &timing->data.other_data;
- int gtf = (closure->edid->features & DRM_EDID_FEATURE_DEFAULT_GTF);
+ int timing_level = standard_timing_level(closure->edid);
- if (gtf && data->type == EDID_DETAIL_MONITOR_RANGE)
+ if (data->type == EDID_DETAIL_MONITOR_RANGE)
+ switch (timing_level) {
+ case LEVEL_DMT:
+ break;
+ case LEVEL_GTF:
+ case LEVEL_GTF2:
closure->modes += drm_gtf_modes_for_range(closure->connector,
closure->edid,
timing);
+ break;
+ case LEVEL_CVT:
+ closure->modes += drm_cvt_modes_for_range(closure->connector,
+ closure->edid,
+ timing);
+ break;
+ }
}
static int
diff --git a/drivers/gpu/drm/drm_edid_modes.h b/drivers/gpu/drm/drm_edid_modes.h
index a91ffb1..7e14a32 100644
--- a/drivers/gpu/drm/drm_edid_modes.h
+++ b/drivers/gpu/drm/drm_edid_modes.h
@@ -266,6 +266,107 @@ static const struct drm_display_mode drm_dmt_modes[] = {
static const int drm_num_dmt_modes =
sizeof(drm_dmt_modes) / sizeof(struct drm_display_mode);
+static const struct drm_display_mode drm_cvt_inferred_modes[] = {
+ /* 640x480@60Hz */
+ { DRM_MODE("640x480", DRM_MODE_TYPE_DRIVER, 23750 640, 664,
+ 720, 800, 0, 480, 483, 487, 500, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 800x600@60Hz */
+ { DRM_MODE("800x600", DRM_MODE_TYPE_DRIVER, 38250, 800, 832,
+ 912, 1024, 0, 600, 603, 607, 624, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 900x600@60Hz */
+ { DRM_MODE("900x600", DRM_MODE_TYPE_DRIVER, 45250, 960, 992,
+ 1088, 1216, 0, 600, 603, 609, 624, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1024x576@60Hz */
+ { DRM_MODE("1024x576", DRM_MODE_TYPE_DRIVER, 46500, 1024, 1064,
+ 1160, 1296, 0, 576, 579, 584, 599, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1024x768@60Hz */
+ { DRM_MODE("1024x768", DRM_MODE_TYPE_DRIVER, 63500, 1024, 1072,
+ 1176, 1328, 0, 768, 771, 775, 798, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1152x864@60Hz */
+ { DRM_MODE("1152x864", DRM_MODE_TYPE_DRIVER, 81750, 1152, 1216,
+ 1336, 1520, 0, 864, 867, 871, 897, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1280x720@60Hz */
+ { DRM_MODE("1280x720", DRM_MODE_TYPE_DRIVER, 74500, 1280, 1344,
+ 1472, 1664, 0, 720, 723, 728, 748, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1280x768@60Hz */
+ { DRM_MODE("1280x768", DRM_MODE_TYPE_DRIVER, 79500, 1280, 1344,
+ 1472, 1664, 0, 768, 771, 781, 798, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1280x800@60Hz */
+ { DRM_MODE("1280x800", DRM_MODE_TYPE_DRIVER, 83500, 1280, 1352,
+ 1480, 1680, 0, 800, 803, 809, 831, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1280x1024@60Hz */
+ { DRM_MODE("1280x1024", DRM_MODE_TYPE_DRIVER, 109000, 1280, 1368,
+ 1496, 1712, 0, 1024, 1027, 1034, 1063, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1360x768@60Hz */
+ { DRM_MODE("1360x768", DRM_MODE_TYPE_DRIVER, 84750, 1360, 1432,
+ 1568, 1776, 0, 768, 771, 781, 798, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1366x768@60Hz */
+ { DRM_MODE("1366x768", DRM_MODE_TYPE_DRIVER, 85250, 1368, 1440,
+ 1576, 1784, 0, 768, 771, 781, 798, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1440x900@60Hz */
+ { DRM_MODE("1440x900", DRM_MODE_TYPE_DRIVER, 106500, 1440, 1528,
+ 1672, 1904, 0, 900, 903, 909, 934, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1400x1050@60Hz */
+ { DRM_MODE("1400x1050", DRM_MODE_TYPE_DRIVER, 121750, 1400, 1488,
+ 1632, 1864, 0, 1050, 1053, 1057, 1089, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1600x900@60Hz */
+ { DRM_MODE("1600x900", DRM_MODE_TYPE_DRIVER, 118250, 1600, 1696,
+ 1856, 2112, 0, 900, 903, 908, 934, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1600x1200@60Hz */
+ { DRM_MODE("1600x1200", DRM_MODE_TYPE_DRIVER, 161000, 1600, 1712,
+ 1880, 2160, 0, 1200, 1203, 1207, 1245, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1680x945@60Hz */
+ { DRM_MODE("1680x945", DRM_MODE_TYPE_DRIVER, 130750, 1680, 1776,
+ 1952, 2224, 0, 945, 948, 953, 981, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1680x1050@60Hz */
+ { DRM_MODE("1680x1050", DRM_MODE_TYPE_DRIVER, 146250, 1680, 1784,
+ 1960, 2240, 0, 1050, 1053, 1059, 1089, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1920x1080@60Hz */
+ { DRM_MODE("1920x1080", DRM_MODE_TYPE_DRIVER, 73000, 1920, 2048,
+ 2248, 2576, 0, 1080, 1083, 1088, 1120, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1920x1200@60Hz */
+ { DRM_MODE("1920x1200", DRM_MODE_TYPE_DRIVER, 193250, 1920, 2056,
+ 2256, 2592, 0, 1200, 1203, 1209, 1245, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 1920x1440@60Hz */
+ { DRM_MODE("1920x1440", DRM_MODE_TYPE_DRIVER, 233500, 1920, 2064,
+ 2264, 2608, 0, 1440, 1443, 1447, 1493, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 2048x1152@60Hz */
+ { DRM_MODE("2048x1152", DRM_MODE_TYPE_DRIVER, 197000, 2048, 2184,
+ 2400, 2752, 0, 1152, 1155, 1160, 1195, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 2048x1536@60Hz */
+ { DRM_MODE("2048x1536", DRM_MODE_TYPE_DRIVER, 272000, 2048, 2208,
+ 2424, 2800, 0, 1563, 1566, 1576, 1620, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+ /* 2560x1600@60Hz */
+ { DRM_MODE("2560x1600", DRM_MODE_TYPE_DRIVER, 348500, 2560, 2760,
+ 3032, 3504, 0, 1600, 1603, 1609, 1658, 0,
+ DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC) },
+};
+static const int drm_num_cvt_inferred_modes =
+ sizeof(drm_cvt_inferred_modes) / sizeof(struct drm_display_mode);
+
static const struct drm_display_mode edid_est_modes[] = {
{ DRM_MODE("800x600", DRM_MODE_TYPE_DRIVER, 40000, 800, 840,
968, 1056, 0, 600, 601, 605, 628, 0,
--
1.7.7.6
^ permalink raw reply related [flat|nested] 35+ messages in thread
* (unknown),
@ 2011-09-30 9:39 Inki Dae
0 siblings, 0 replies; 35+ messages in thread
From: Inki Dae @ 2011-09-30 9:39 UTC (permalink / raw)
To: airlied, 'Dave Airlie'; +Cc: kyungmin.park, dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 910 bytes --]
Hi, Dave.
I am sending a mail I wonder where are we on this. I had sent DRM Driver
patch v5 for Samsung SoC Exynos4210 a week ago but I didn't received any
comments from you.
You can refer to these patches I sent from links below.
v1: < https://lwn.net/Articles/454380/ >
v2: < http://www.spinics.net/lists/kernel/msg1224275.html >
v3: < http://www.spinics.net/lists/dri-devel/msg13755.html >
v4: < http://permalink.gmane.org/gmane.comp.video.dri.devel/60439 >
v5: < http://comments.gmane.org/gmane.comp.video.dri.devel/60802 >
and also you can refer to our working repository below.
< http://git.infradead.org/users/kmpark/linux-2.6-samsung >
Branch name : dev/samsung-drm
If there are any problems regarding our driver then please give me your
comments or advices so that we are going to prepare next patch; otherwise we
wish our driver be applied to mainline.
Thanks,
Inki Dae.
[-- Attachment #1.2: Type: text/html, Size: 4205 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 35+ messages in thread
* (unknown)
@ 2010-10-27 1:26 Dave Airlie
0 siblings, 0 replies; 35+ messages in thread
From: Dave Airlie @ 2010-10-27 1:26 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, DRI mailing list
[-- Attachment #1: Type: TEXT/PLAIN, Size: 45956 bytes --]
Hi Linus,
sorry this is a bit later than I expected got sidetracked into a real-life
gastro bug for a couple of days just after merge window opened,
Main features amongst it all:
new stub driver for poulsbo backlight support
drm core: kdb lut support, lots of cleanups, edid enhancement for audio
capability
ttm: optimised eviction process (saves a lot of unnecessary object
movement) + allow an alternate underlying memory manager to be plugged in
vmware: bring in line with upstream changes + use alternate memory manager
nouveau: iniital power management support, hardware inter-channel sync,
better handling of gpu errors and non-mappable VRAM, tiling corruption
fixes, nvaf support
radeon: new fences on r6xx+, spread spectrum improvements on r5xx+ (DP
support and LVDS fixes), evergreen blit support, ppl fixes, lots of tiling
fixes
intel: rework of AGP/DRM driver interfaces to be a lot cleaner, support
for using the whole GTT range instead of just the CPU mappable region
lots of eDP fixes, unload fixes, DP audio support, also a lot of output
from the Chris Wilson bugfixing machine.
Dave.
The following changes since commit 2b666ca4a68cbc22483b0f2e1ba3c0e59b01ae9e:
Merge branch 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 (2010-10-17 09:38:08 -0700)
are available in the git repository at:
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-core-next
Alex Deucher (18):
drm/radeon/kms: clean up r6xx/r7xx blit init (v2)
drm/radeon/kms: enable writeback (v2)
drm/radeon/kms/r6xx+: use new style fencing (v3)
drm/radeon/kms: properly handle 40 bit MC addresses in the cursor code
drm/radeon/kms: prefer high post dividers in legacy pll algo
drm/radeon/kms: remove some pll algo flags
drm/radeon/kms: remove new pll algo
drm/radeon/kms: rework spread spectrum handling
drm/radeon/kms: add drm blit support for evergreen
drm/radeon/kms: make sure blit addr masks are 64 bit
drm/radeon/kms: avivo cursor workaround applies to evergreen as well
drm/radeon/kms/evergreen: add some additional safe regs v2
drm/radeon/kms: implement display watermark support for evergreen
drm/radeon/kms: MC vram map needs to be >= pci aperture size
drm/radeon/kms/evergreen: set the clear state to the blit state
drm/radeon/kms: fix 2D tile height alignment in the r600 CS checker
drm/radeon/kms: properly compute group_size on 6xx/7xx
drm/radeon/kms: fix r6xx/7xx 1D tiling CS checker v2
Andrea Gelmini (1):
drivers: gpu: drm: i915: Fix a typo.
Ben Skeggs (56):
drm/nv50: add new accelerated bo move funtion
drm/nouveau: move check for no-op bo move before memcpy fallback
drm/nouveau: remove second map of notifier bo
drm/nouveau: require explicit unmap of kmapped bos
drm/nouveau: have nv_mask return original register value
drm/nouveau: move ramht code out of nouveau_object.c, nothing to see here
drm/nouveau: modify object accessors, offset in bytes rather than dwords
drm/nouveau: rebase per-channel pramin heap offsets to 0
drm/nouveau: remove nouveau_gpuobj_ref completely, replace with sanity
drm/nouveau: simplify fake gpu objects
drm/nv50: allow gpuobjs that aren't mapped into aperture
drm/nv50: calculate vram reordering block size
drm/nouveau: rework init ordering so nv50_instmem.c can be less bad
drm/nouveau: tidy ram{ht,fc,ro} a bit
drm/nouveau: add spinlock around ramht modifications
drm/nouveau: fix gpuobj refcount to use atomics
drm/nouveau: protect gpuobj list + global instmem heap with spinlock
drm/nouveau: remove nouveau_gpuobj_late_takedown
drm/nouveau: protect ramht_find() from oopsing if on channel without ramht
drm/nv50: move vm trap to nv50_fb.c
drm/nv50: report BAR access faults
drm/nv50: fix SOR count for early chipsets
drm/nouveau: better handling of unmappable vram
drm/nouveau: handle fifo pusher errors better
drm/nouveau: we can't free ACPI EDID, so make a copy that we can
drm/nv50: mark PCIEGART pages non-present rather than using dummy page
drm/nouveau: zero dummy page
drm/nv50: fix 100c90 write on nva3
drm/nouveau: make the behaviour of get_pll_limits() consistent
drm/nouveau: make bios code easier to use externally
drm/nouveau: import initial work on vbios performance table parsing
drm/nv50: import initial clock get/set routines + hook up pm engine
drm/nv04-nv40: import initial pm backend
drm/nouveau: allow static performance level setting
drm/nouveau: restore perflvl on resume, and restore boot perflvl on unload
drm/nouveau: fix potential accuracy loss when parsing perf 0x1c tables
drm/nouveau: implement parsing of DCB 2.2 GPIO table
drm/nouveau: fix thinko in volt 0x1x parsing
drm/nv50: flush bar1 vm / dma object setup before poking 0x1708
drm/nouveau: correct INIT_DP_CONDITION subcondition 5
drm/nouveau: add debugfs file to forcibly evict everything from vram
drm/nv50: assume smaller tiles for bo moves
drm/nouveau: fix chipset vs card_type thinko
drm/nouveau: fix panels using straps-based mode detection
drm/nouveau: v3.0 pll limits tables have type<->register mapping too
drm/nv50: use pll type rather than register for CRTC PLL
drm/nouveau: enable enhanced framing only if DP display supports it
drm/nouveau: pass perflvl struct to clock_pre()
drm/nouveau: run perflvl and M table scripts on mem clock change
drm/nva3: split pm backend out from nv50
drm/nouveau: fix typo in c2aa91afea5f7e7ae4530fabd37414a79c03328c
drm/nouveau: fix required mode bandwidth calculation for DP
drm/nv50: prevent (IB_PUT == IB_GET) for occurring unless idle
drm/nouveau: parse voltage from perf 0x40 entires
drm/ttm: introduce utility function to free an allocated memory node
drm/ttm: restructure to allow driver to plug in alternate memory manager
Bryan Freed (1):
drm/i915: Initialize panel timing registers if VBIOS did not
Chia-I Wu (1):
drm/i915: Fix current fb blocking for page flip
Chris Ball (3):
drm/radeon/kms: Implement KDB debug hooks for radeon KMS.
drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.
drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.
Chris Wilson (190):
Merge remote branch 'airlied/drm-core-next' into HEAD
drm/i915: Drop the msleep parameter to wait_for()
drm/i915: Avoid using msleep under kdb and wait_for()
drm/i915/crt: Flush register prior to waiting for vblank.
drm/i915: Rename i915_opregion.c to intel_opregion.c
drm/i915: Use the VBT from OpRegion when available (v3)
drm/i915: Addin-offset is an unreliable indicator of LVDS presence (v2)
drm/i915: Ironlake page-flipping is per-plane not per-pipe
drm/i915/tv: Preserve reserved DAC bits during mode-setting
drm/i915/tv: Poll for DAC state change
drm/i915/tv: Mark the format names as constant and so avoid the memleak
drm/i915: Sanity check user framebuffer parameters on creation
drm/i915/sdvo: Preserve pixel-multiplier
drm/i915/overlay: Whitespace
drm/i915/overlay: Missing breaks between case statements for color depth
drm/i915/overlay: Ensure that the reg_bo is in the GTT prior to writing.
drm/i915/overlay: Move capabilities bits to common info block.
drm/i915/overlay: Use non-atomic mappings for the common case.
drm/i915/overlay: Tidy attribute checking.
drm/i915/overlay: Use the recommended page alignment for physical regs
drm/i915/overlay: Destroy reg_bo on shutdown.
drm/i915/overlay: Remove duplicated definition of OFC_UPDATE
drm/i915/overlay: Tidy update_pfit_vscale_ratio()
drm/i915/overlay: Tidy check_overlay_dst()
drm/i915/overlay: Refactor do_wait_request()
drm/i915/overlay: Explicitly pass regs from map to unmap
drm/i915/overlay: Combine SWITCH_OFF into a single step
drm/i915/overlay: Tidy release_old_vid()
drm/i915: Preallocate requests
drm/i915/overlay: Make do_put_image() as static
drm/i915/overlay: Workaround i830 overlay activation bug.
drm/i915/overlay: Pass interruptible to switch_off()
drm/i915/overlay: Make the overlay control struct opaque.
drm/i915/overlay: Use a continuation hook to finish work after a flip.
drm/i915: Compile out error state without DEBUG_FS
drm/i915: Remove the random SyncFlush during initialisation
drm/i915: Kill the active list spinlock
drm/i915: Quieten sparse warnings for missing prototypes.
drm/i915: Remove redundant initialisation of fb_base
drm/i915: Refactor panel backlight controls
drm/i915/tv: After disabling the pipe, use wait_for_vblank_off()
drm/i915: Show device capabilities in debugfs
drm/i915: Show framebuffer info in debugfs
drm/i915: Clear scanline waits after disabling the pipe.
drm/i915: Add ringbuffer wait reset to hangcheck
drm/i915: Remove impossible error handling from bit17 swizzling
drm/i915/dp: Flush the PLL register write before sleeping
drm/i915: Rename intel_encoder->enc to base for consistency
drm/i915: Use the direct mapping of pipe->crtc
drm/i915: Make the connector->encoder relationship explicit
drm/i915/debug: Include Ironlake in self-refresh status
drm/i915: Adapt workqueue to new alloc_workqueue interface
drm/i915: Ensure all PLL registers are flushed before a udelay()
drm/i915: Only call udelay() when waiting for clocks to stabilise
drm/i915: Use the real FDI frequency for determining b/w
Merge branch 'drm-intel-fixes' into drm-intel-next
drm/i915: Fix updating FBC
drm/i915: Tidy Ironlake watermark computation
drm/i915: Use macros to switch between equivalent pipe registers
drm/i915/dp: Convert a udelay(17000) to a sleep during link-off
drm/i915/i2c: The bit-banging interface controls the delay, drop ours
drm/i915/lvds: Remove busy wait for powering down the panel
drm/i915/lvds: Remove busy wait for powering up the panel.
drm/i915: Use msleep instead of mdelay during wait_vblank_off
drm/i915/sdvo: Poll command status 5 times without delay on read
drm/i915/bios: Prevent NULL dereference after allocation failure
drm/i915/lvds: Ensure panel is unlocked for Ironlake or the panel fitter
drm/i915/lvds: Remove incorrect mode locking
drm/i915/lvds: Move private data to the connector from the device.
drm/i915: Share crtc setup and teardown between dpms and disable/enable
drm/i915: Fix an overlay regression from 7e7d76c
drm/i915: Initialize intel_crtc->active
drm/i915: Remove redundant initialisation of crtc->pipe
drm/i915: Reduce hangcheck frequency
drm/i915: Consolidate flushing the display plane
drm/i915: Fix regression in ba3d8d749b
agp/intel: Use macro to set the count of the size array
drm/i915: Push pipelining of display plane flushes to the caller
drm/i915: Allow get_fence_reg() to be uninterruptible
drm/i915/i2c: Track the parent encoder rather than just the dev
drm/i915: Remove unused intel_ringbuffer->ring_flag
drm/i915/sdvo: Tidy intel_sdvo_hdmi_sink_detect
drm/i915/sdvo: Propagate i2c error from switching DDC control bus.
agp/intel: Remove redundant setting of gtt_mappable_entries
agp/intel: Fix resume regression from 2d2430cf
drm/i915/sdvo: Only create the analog encoder as required
drm/i915/sdvo: Mark the status as unknown if attached with EDID
drm/i915: call drm_encoder_init first
drm/i915: use GMBUS to manage i2c links
Merge branch 'drm-intel-fixes' into HEAD
drm/i915: Cache LVDS EDID
drm/i915: INTEL_INFO->gen supercedes i8xx, i9xx, i965g
drm/i915: After a reset perform a forced modeset
drm/i915/debug: Dump BSD ring buffers to debugfs
drm/i915: Inline i915_gem_ring_retire_request()
drm/i915: Only emit a flush request on the active ring.
drm/i915: Clear flushing lists on GPU reset
drm/i915: Clear GPU read domains on reset
drm/i915: Clean up bo lists on all hung gpus
drm/i915/ringbuffer: Implement advance using set_tail
drm/i915/ringbuffer: Mark the initialisation structs as constant.
drm/i915: Use ring->flush() instead of MI_FLUSH
drm/i915/ringbuffer: whitespace cleanup
drm/i915: Track gpu fence usage
drm/i915: Merge ring flushing and lazy requests
drm/i915: Drain any pending flips on the fb prior to unpinning
drm/i915: Track pinned objects
drm/i915: Disable output polling across suspend & resume
drm/i915: Drop crtc->fb pin on disable.
drm/i915: Use the correct DPB GMBUS port for GPIOE
drm/i915/lvds: Unlock the PP register when panel-fitting
drm/i915: Don't overwrite the returned error-code
drm/i915: Clear the gpu_write_list on resetting write_domain upon hang
drm/i915: Don't offset the pin used for crt_ddc
drm/i915: Drop ring->lazy_request
drm/i915: Disable "disabled FBC" message when a no-op
drm/i915/crt: Use a DDC probe on 0xA0 before load-detect
drm/i915: Remove the broken flush_ring from page-flip
drm/i915/tv: Sleep before checking for state changes.
drm/i915/lvds: Probe DDC on creation
drm/i915: Remove idle timer debugging messages
drm/i915/ringbuffer: Fix sign of ring space.
drm/i915: Remove unused dev_priv->panel_wants_dither
drm/i915: Use an uninterruptible wait for page-flips during modeset
drm/i915/lvds: Use the GMBUS pin if specified in VBT
drm/i915: Parse the eDP link configuration from the vBIOS
drm/i915: Only hold a process-local lock whilst throttling.
drm/i915: Adjust hangcheck EIO semantics
drm/i915: Make the mutex_lock interruptible on ioctl paths
drm/i915: Convert the file mutex into a spinlock
drm/i915: fix debugging compilation error from previous commit
drm/i915: Ensure that the mode change flushing is currently uninterruptible
Revert "drm/i915: Drop ring->lazy_request"
drm/i915/sdvo: Fix GMBUSification
drm/i915: Use i2c bit banging instead of GMBUS
MAINTAINERS: Add contact details for drm/i915
Merge branch 'drm-intel-fixes' into drm-intel-next
drm/i915: Disable LVDS i2c probing when using GPIO bit banging
drm/i915: Tidy dvo_ch7017 and print out which chip we detect
drm/i915/dvo: Fix panel and DDC i2c pins
drm/i915/debug: Remove defunct WATCH_LRU
drm/i915/debug: Remove default WATCH_BUF
drm/i915: Avoid blocking the kworker thread on a stuck mutex
drm/i915/debug: Convert i915_verify_active() to scan all lists
drm/i915: Report the deferred free list in debugfs
drm/i915/debugfs: Include list totals
drm/i915: Make get/put pages static
drm/i915: Remove redundant deletion of obj->gpu_write_list
drm: Move the GTT accounting to i915
drm/i915: Force the domain to CPU on unbinding whilst wedged.
drm/i915: Clear fence registers on GPU reset
drm/i915: Try to reset gen2 devices.
drm/i915: Only print 'generating error event' if we actually are
drm/i915: If the GPU hangs twice within 5 seconds, declare it wedged.
drm/i915: Don't mask the return code whilst relocating.
Merge branch 'drm-intel-fixes' into drm-intel-next
Merge branch 'drm-intel-fixes' into drm-intel-next
drm/i915: Skip pread/pwrite if size to copy is 0.
drm/i915: Avoid circular locking from intel_fbdev_fini()
drm/i915: Wait for pending flips on the GPU
Merge remote branch 'airlied/drm-core-next' into tmp
Revert "drm/i915: Prevent module unload to avoid random memory corruption"
drm/i915: Remove duplicate set of ADPA definitions
drm/i915: restore fixed FDI link rate on Sandybridge
drm/i915: Sleep whilst waiting for the ring
drm/i915/dp: Add 'force_audio' property
drm/i915/sdvo: Add 'force_audio' property
drm/i915/hdmi: Add 'force_audio' property
drm/i915: Avoid vmallocing a buffer for the relocations
drm/i915: Perform relocations in CPU domain [if in CPU domain]
drm/i915: Avoid taking the mutex for dropping the refcnt upon creation
drm/i915: Attempt to prefault user pages for pread/pwrite
drm/i915: Rearrange acquisition of mutex during pwrite
drm/i915: rearrange mutex acquisition for pread
agp/intel: Also add B43.1 to list of supported devices
drm/i915: Do interrupible mutex lock first to avoid locking for unreference
drm/i915: cache the last object lookup during pin_and_relocate()
drm/i915: Simplify most HAS_BSD() checks
drm/i915: Track objects in global active list (as well as per-ring)
drm/i915: Copy the updated reloc->presumed_offset back to the user
drm/i915/ringbuffer: Fix emit batch buffer regression from 8187a2b
drm/i915/ringbuffer: Remove broken intel_fill_struct()
drm/i915: Enable SandyBridge blitter ring
drm/i915: IS_IRONLAKE is synonymous with gen == 5
drm/i915/sdvo: Remove unused encoding member
drm/i915: Fix flushing regression from 9af90d19f
agp/intel: Restore valid PTE bit for Sandybridge after bdd3072
drm/i915/ringbuffer: Write the value passed in to the tail register
drm/i915: Invalidate the to-ring, flush the old-ring when updating domains
drm/i915: Move gpu_write_list to per-ring
Dan Carpenter (1):
i915: snprintf returns large values
Daniel Vetter (85):
drm: don't export drm_sg_alloc
drm: kill kernel_context_switch callbacks
drm: kill procfs callbacks
drm: kill dma_ready callbacks
drm: kill gem_free_object_unlocked driver callback
drm: kill context_ctor callback
drm: don't export drm_get_drawable_info
drm: drop return value of drm_free_agp
drm: kill drm_map_ofs callbacks
drm: don't export dri1 locking functions
drm: replace drawable ioctl by noops
drm: kill agp indirection mess
drm: kill dev->timer
drm: kill get_reg_ofs callback
drm/i915: unload: fix intel dp encoder cleanup
drm/i915: unload: fix error_work races
drm/i915: unload: fix hotplug_work races
drm/i915: unload: don't leak error state
drm/i915: unload: fix idle_timer/idle_work races
drm/i915: unload: fix unpin_work related races
drm/i915: unload: ensure that gem is idle
drm/i915: unload: fix retire_work races
drm/i915: allow lazy emitting of requests
drm/i915: move flushing list processing to i915_gem_flush
drm/i915: only one interrupt per batchbuffer is not enough!
drm/i915: move flushing list processing to i915_retire_commands
drm/i915: kill a no longer necessary BUG_ON
drm/i915: drop seqno argument from i915_gem_object_move_to_active
drm/i915: move the wait_rendering call into flush_gpu_write_domain
drm/i915: drop i915_add_request right in front of i915_wait_request
agp/intel: split out gmch/gtt probe, part 2
agp/intel: make intel-gtt.c into a real source file
intel-gtt: introduce drm/intel-gtt.h
intel-gtt: store a local pointer to the bridge pci dev
intel-gtt: s/intel_i830_init_gtt_entries/intel_gtt_stolen_entries
intel-gtt: new function intel_gtt_mappable_entries
intel-gtt: generic intel_fake_agp_fetch_size
intel-gtt: sane variable names for intel_gtt_stolen_entries
intel-gtt: drop unnecessary conditions in intel_gtt_stolen_entries
intel-gtt: adjust overhead entries in intel_gtt_stolen_entries
intel-gtt: s/i8[13]0/fake_agp for generic functions
intel-gtt: fix gtt_total_entries detection
intel-gtt: introduce intel_gtt_driver
intel-gtt: i915: use detected gtt size for mapping
intel-gtt: i965: use detected gtt size for mapping
intel-gtt: i830: adjust ioremap of regs and gtt to i9xx
intel-gtt: consolidate the gtt ioremap calls
intel-gtt: consolidate i830 setup
intel-gtt: consolidate i9xx setup
intel-gtt: call init_gtt_init in probe function
intel-gtt: use chipset generation number some more
drm/i915: drop prealloc_start from i915_dma gtt init
drm/i915: die, i915_probe_agp, die
drm/i915: kill duplicated/unneeded register defines
drm/i915: add relative ring register macros
drm/i915: use new macros to access the ring tail register
drm/i915: use new macros to access the ring start register
drm/i915: use new macros to access the ring head register
drm/i915: use new macros to access the ring ctl register
drm/i915: don't explicitly initialize ringbuffer members to zero
drm/i915: drop alignment ringbuffer parameter
intel-gtt: initialize our own scratch page
intel-gtt: introduce pte write function for i8xx/i915/i945
intel-gtt: introduce pte write function for g33/i965/gm45
intel-gtt: introduce pte write function for gen6
intel-gtt: drop agp scratch page support stuff
agp: kill agp_(map|unmap)_page
intel-gtt: generic (insert|remove)_entries for i830
intel-gtt: generic (insert|remove)_entries for i915
intel-gtt: generic (insert|remove)_entries for g33/i965
intel-gtt: generic (insert|remove)_entries for sandybridge
intel-gtt: kill mask_memory functions
intel-gtt: move chipset flush to the gtt driver struct
intel-gtt: consolidate fake_agp driver structs
agp: kill agp_(unmap|map)_memory
intel-gtt: clean up gtt size reporting
intel-gtt: store the dma mask size in intel_gtt_driver
intel-gtt add a cleanup function for chipset specific stuff
drm/i915: kill now unnecessary gtt defines from i915_reg.h
drm/i915: fix ACTHD for gen <= 3
drm/i915: kill per-ring macros
drm/i915: kill ring->get_active_head
drm/i915: kill ring->setup_status_page
drm: readd drm_lock_free in drm_unlock
drm/i915: Fix oops on HWS unload
Dave Airlie (13):
Merge remote branch 'origin/master' of /home/airlied/kernel//linux-2.6 into drm-core-next
Merge remote branch 'intel/drm-intel-next' of ../drm-next into drm-core-next
Merge remote branch 'korg/drm-fixes' into drm-vmware-next
Merge branch 'drm-vmware-next' into drm-core-next
Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-core-next
Merge branch 'drm-kdb-next' into drm-core-next
Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next
Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next
drm/ttm: add unlocked variant of new manager put node.
Revert "drm/radeon/kms: remove some pll algo flags"
Merge remote branch 'intel/drm-intel-next' of ../drm-next into drm-core-next
drm/radeon/r600: fix tiling issues in CS checker.
drm/radeon/kms: don't poll dac load detect.
David Härdeman (1):
i915: enable AVI infoframe for intel_hdmi.c [v4]
Emil Velikov (1):
drm/nouveau: don't use the default pll limits in table v2.1 on nv50+ cards
Francesco Marella (1):
drm/nv40: fix reading temp value
Francisco Jerez (30):
drm/nouveau: Fix suspend on some nv4x AGP cards.
drm/nv20: Use the nv30 CRTC bandwidth calculation code.
drm/nv17-nv4x: Fix analog load detection false positive on rare occasions.
drm/nv40: Try to set up CRE_LCD even if it has unknown bits set.
drm/nouveau: Break some long lines in the TV-out code.
drm/nouveau: Don't remove ramht entries from the neighboring channels.
drm/nouveau: Don't enable AGP FW on nv18.
drm/nouveau: Add module parameter to override the default AGP rate.
drm/nouveau: PRAMIN is available from the start on pre-nv50.
drm/nouveau: Remove implicit argument from nv_wait().
drm/nouveau: Simplify tile region handling.
drm/nouveau: Try to fetch an EDID from OF if DDC fails.
drm/nouveau: Parse old style perf tables.
drm/nv10: Don't oops if the card wants to switch to a channel with no grctx.
drm/nouveau: Don't try to parse a GPIO table on early DCBv2.2 BIOSes.
drm/nouveau: Add sane sensor correction defaults for nv4a.
drm/nouveau: Fix parsing of the temperature constant correction.
drm/nouveau: Double the perf table memory clocks on pre-G71 cards.
drm/nouveau: Refactor nouveau_temp_get() into engine pointers.
drm/nouveau: Add support for I2C hardware monitoring devices.
drm/nouveau: Misc cleanup of the PM code.
drm/nouveau: Fix perf table parsing on BMP v5.25.
drm/nv30-nv40: Fix postdivider mask when writing engine/memory PLLs.
drm/nv0x-nv4x: Leave the 0x40 bit untouched when changing CRE_LCD.
drm/nouveau: Minor refactoring/cleanup of the fence code.
drm/nouveau: Provide a means to have arbitrary work run on fence completion.
drm/nouveau: Use semaphores to handle inter-channel sync in hardware.
drm/nouveau: Synchronize buffer object moves in hardware.
drm/nv50: Fix large 3D performance regression caused by the interchannel sync patches.
agp/amd-k7: Allow binding user memory to the AGP GART.
Hette Visser (1):
drm/i915/dp: Wait for PP_CONTROL to take effect.
Jan Beulich (1):
some clean up to intel-gtt.c
Jason Wessel (5):
drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API
radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit
Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit"
kdb, kms: Save and restore the LUT on atomic KMS enter/exit
drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum
Jean Delvare (1):
drm/ttm: Simplify ttm_bo_wait_unreserved
Jesse Barnes (40):
drm/i915: add MMIO debug output
drm/i915: fix pipeconf dither bit definitions
drm/i915: set dither bits on eDP panels too
drm/i915: fix eDP detection
drm/i915: use 125MHz reference clock for PCH attached eDP
drm/i915: use VDD AUX for panel power around detection and in prepare
drm/i915: split DP link training across panel power sequencing
drm/i915: don't change VDD AUX status in panel power functions
drm/i915: make sure VDD AUX power has time to settle
drm/i915: make sure panel is sequenced off when starting a mode set
drm/i915: split Ironlake CRTC enable/disable code
drm/i915: split i9xx CRTC enable/disable code
drm/i915: don't unlock panel regs
drm/i915: use i915 and Ironlake CRTC enable/disable functions in prepare/commit
drm/i915: enable PCH PLL, FDI training and transcoder even for eDP
drm/i915: split Ironlake FDI enable function
drm/i915: don't write TU size to N1 reg
drm/i915: set FDI RX TU size to match transmit size
drm/i915: enable thermal reporting for IPS
drm/i915/dp: convert eDP checks to functions and document
drm/i915/dp: remove redundant is_pch_edp checks
drm/i915/dp: correct eDP lane count and bpp
drm/i915: add eDP checking functions for the display code
drm/i915: remove broken intel_pch_has_edp function
drm/i915: fix CPU vs PCH eDP confusion
drm/i915/dp: eDP power sequencing fixes
drm/i915: add _DSM support
drm/i915: fetch eDP configuration data from the VBT
drm/i915: add Ironlake clock gating workaround for FDI link training
drm/i915: fix PCH eDP SSC support
drm/i915: use 120MHz refclk in PCH eDP case too
drm/i915: use DPLL_DVO_HIGH_SPEED for PCH eDP
drm/i915: fix ironlake CRTC enable/disable
drm/i915: don't program FDI RX/TX in mode_set
drm/i915/dp: cache eDP DPCD data
drm/i915/dp: use VBT provided eDP params if available
drm/i915/dp: don't bother with DP PLL for PCH attached eDP
drm/i915/dp: make eDP PLL functions work as advertised
drm/i915: diasable clock gating for the panel power sequencer
drm/i915/dp: down the DP link even if the reg indicates it's already down
Keith Packard (3):
drm/i915: avoid struct mutex output_poll mutex lock loop on unload
drm/i915: mark display port DPMS state as 'ON' when enabling output
drm/i915: Free hardware status page on unload when physically mapped
Kenneth Graunke (3):
drm/i915: Actually set the reset bit in i965_reset.
drm/i915: Rename graphics reset registers.
drm/i915: Add support for GPU soft reset on Ironlake.
Lee, Chun-Yi (1):
gpu: Add Intel GMA500(Poulsbo) Stub Driver
Marcin Kościelnicki (2):
drm/nv50: demagic grctx, and add NVAF support
drm/nouveau: Add a module option to force card POST.
Mario Kleiner (2):
drm/radeon: Add function for display scanout position query.
drm/radeon: Modify radeon_pm_in_vbl to use radeon_get_crtc_scanoutpos()
Marius Gröger (1):
drm/radeon: add properties to configure the width of the underscan borders
Martin Peres (1):
drm/nouveau: Add temperature support (vbios parsing, readings, hwmon)
Matthew Garrett (1):
drm/i915: Don't disable panel for modesetting if pfit hasn't changed
Phil Turmel (1):
drm/nouveau: Fix build regression, undefined reference to `acpi_video_get_edid'
Roy Spliet (2):
drm/nouveau: Import initial memory timing work
drm/nouveau: fix thinkos in mem timing table recordlen check
Simon Que (1):
i915: Added function to initialize VBT settings
Sitsofe Wheeler (1):
drm/i915: Revert extra intel_wait_for_vblank to prevent stalls.
Thomas Hellstrom (14):
drm/vmwgfx: Really support other depths than 32
drm/vmwgfx: Fix ACPI S3 & S4 functionality.
drm/vmwgfx: Add new-style PM hooks to improve hibernation behavior
drm: vmwgfx: Add a struct drm_file parameter to the dirty framebuffer callback
drm/vmwgfx: Take the ttm lock around the dirty ioctl
drm/vmwgfx: Prune modes based on available VRAM size
drm/vmwgfx: Don't flush fb if we're in the suspended state.
drm/vmwgfx: Add a parameter to get the max fb size
drm/vmwgfx: Add modinfo version
drm/vmwgfx: Save at least one screen layout
drm/vmwgfx: Bump minor and driver date
drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function
drm/ttm: Optimize delayed buffer destruction
vmwgfx: Implement a proper GMR eviction mechanism
Xiang, Haihao (4):
drm/i915: fix HAS_BSD with a device info flag
drm/i915: do not export the instances of struct intel_ring_buffer
drm/i915: add set_tail hook in struct intel_ring_buffer
drm/i915: add a new BSD ring buffer for Sandybridge
Yuanhan Liu (2):
drm/i915/crt: Make sure the hotplug interrupt is enabled
drm/i915: Update hotplug interrupts register definitions for Sandybridge
Zhenyu Wang (4):
drm/i915: Fix GPIO pin to register mapping
drm/edid: add helper function to detect monitor audio capability
drm/i915: Enable DisplayPort audio
drm/i915: Enable HDMI audio for monitor with audio support
MAINTAINERS | 9 +
drivers/char/agp/Makefile | 1 +
drivers/char/agp/agp.h | 5 -
drivers/char/agp/amd-k7-agp.c | 6 +-
drivers/char/agp/backend.c | 22 +-
drivers/char/agp/generic.c | 8 -
drivers/char/agp/intel-agp.c | 201 +--
drivers/char/agp/intel-agp.h | 43 +-
drivers/char/agp/intel-gtt.c | 1612 +++++-----
drivers/gpu/Makefile | 2 +-
drivers/gpu/drm/Makefile | 2 +-
drivers/gpu/drm/drm_agpsupport.c | 40 +-
drivers/gpu/drm/drm_context.c | 8 -
drivers/gpu/drm/drm_crtc.c | 3 +-
drivers/gpu/drm/drm_debugfs.c | 1 -
drivers/gpu/drm/drm_drawable.c | 198 --
drivers/gpu/drm/drm_drv.c | 10 +-
drivers/gpu/drm/drm_edid.c | 93 +-
drivers/gpu/drm/drm_fb_helper.c | 32 +-
drivers/gpu/drm/drm_gem.c | 14 -
drivers/gpu/drm/drm_info.c | 14 -
drivers/gpu/drm/drm_lock.c | 30 +-
drivers/gpu/drm/drm_memory.c | 14 +-
drivers/gpu/drm/drm_proc.c | 14 -
drivers/gpu/drm/drm_scatter.c | 2 -
drivers/gpu/drm/drm_stub.c | 4 -
drivers/gpu/drm/drm_vm.c | 13 +-
drivers/gpu/drm/i810/i810_drv.c | 2 -
drivers/gpu/drm/i830/i830_drv.c | 2 -
drivers/gpu/drm/i915/Makefile | 4 +-
drivers/gpu/drm/i915/dvo_ch7017.c | 66 +-
drivers/gpu/drm/i915/dvo_ch7xxx.c | 10 +-
drivers/gpu/drm/i915/dvo_ivch.c | 10 +-
drivers/gpu/drm/i915/dvo_sil164.c | 10 +-
drivers/gpu/drm/i915/dvo_tfp410.c | 10 +-
drivers/gpu/drm/i915/i915_debugfs.c | 336 ++-
drivers/gpu/drm/i915/i915_dma.c | 360 +--
drivers/gpu/drm/i915/i915_drv.c | 214 +-
drivers/gpu/drm/i915/i915_drv.h | 271 ++-
drivers/gpu/drm/i915/i915_gem.c | 2211 +++++++-------
drivers/gpu/drm/i915/i915_gem_debug.c | 148 +-
drivers/gpu/drm/i915/i915_gem_evict.c | 72 +-
drivers/gpu/drm/i915/i915_gem_tiling.c | 54 +-
drivers/gpu/drm/i915/i915_irq.c | 259 +-
drivers/gpu/drm/i915/i915_reg.h | 335 ++-
drivers/gpu/drm/i915/i915_suspend.c | 28 +-
drivers/gpu/drm/i915/intel_acpi.c | 286 ++
drivers/gpu/drm/i915/intel_bios.c | 234 +-
drivers/gpu/drm/i915/intel_bios.h | 6 +-
drivers/gpu/drm/i915/intel_crt.c | 127 +-
drivers/gpu/drm/i915/intel_display.c | 2357 ++++++++-------
drivers/gpu/drm/i915/intel_dp.c | 658 +++--
drivers/gpu/drm/i915/intel_drv.h | 160 +-
drivers/gpu/drm/i915/intel_dvo.c | 69 +-
drivers/gpu/drm/i915/intel_fb.c | 29 +-
drivers/gpu/drm/i915/intel_hdmi.c | 193 +-
drivers/gpu/drm/i915/intel_i2c.c | 484 +++-
drivers/gpu/drm/i915/intel_lvds.c | 435 ++--
drivers/gpu/drm/i915/intel_modes.c | 16 +-
.../drm/i915/{i915_opregion.c => intel_opregion.c} | 181 +-
drivers/gpu/drm/i915/intel_overlay.c | 1006 ++++---
drivers/gpu/drm/i915/intel_panel.c | 109 +
drivers/gpu/drm/i915/intel_ringbuffer.c | 457 ++--
drivers/gpu/drm/i915/intel_ringbuffer.h | 81 +-
drivers/gpu/drm/i915/intel_sdvo.c | 1076 +++----
drivers/gpu/drm/i915/intel_tv.c | 165 +-
drivers/gpu/drm/mga/mga_drv.c | 2 -
drivers/gpu/drm/nouveau/Kconfig | 1 +
drivers/gpu/drm/nouveau/Makefile | 6 +-
drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_bios.c | 366 ++-
drivers/gpu/drm/nouveau/nouveau_bios.h | 43 +-
drivers/gpu/drm/nouveau/nouveau_bo.c | 290 ++-
drivers/gpu/drm/nouveau/nouveau_calc.c | 10 +-
drivers/gpu/drm/nouveau/nouveau_channel.c | 23 +-
drivers/gpu/drm/nouveau/nouveau_connector.c | 54 +-
drivers/gpu/drm/nouveau/nouveau_connector.h | 3 +
drivers/gpu/drm/nouveau/nouveau_debugfs.c | 16 +
drivers/gpu/drm/nouveau/nouveau_dma.c | 32 +-
drivers/gpu/drm/nouveau/nouveau_dma.h | 1 +
drivers/gpu/drm/nouveau/nouveau_dp.c | 10 +-
drivers/gpu/drm/nouveau/nouveau_drv.c | 23 +-
drivers/gpu/drm/nouveau/nouveau_drv.h | 253 +-
drivers/gpu/drm/nouveau/nouveau_encoder.h | 1 +
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 6 +
drivers/gpu/drm/nouveau/nouveau_fence.c | 318 ++-
drivers/gpu/drm/nouveau/nouveau_gem.c | 4 +-
drivers/gpu/drm/nouveau/nouveau_grctx.h | 2 +-
drivers/gpu/drm/nouveau/nouveau_hw.c | 45 +-
drivers/gpu/drm/nouveau/nouveau_i2c.c | 8 +-
drivers/gpu/drm/nouveau/nouveau_i2c.h | 5 +-
drivers/gpu/drm/nouveau/nouveau_irq.c | 123 +-
drivers/gpu/drm/nouveau/nouveau_mem.c | 363 ++-
drivers/gpu/drm/nouveau/nouveau_notifier.c | 9 +-
drivers/gpu/drm/nouveau/nouveau_object.c | 776 ++----
drivers/gpu/drm/nouveau/nouveau_perf.c | 205 ++
drivers/gpu/drm/nouveau/nouveau_pm.c | 518 +++
drivers/gpu/drm/nouveau/nouveau_pm.h | 74 +
drivers/gpu/drm/nouveau/nouveau_ramht.c | 289 ++
drivers/gpu/drm/nouveau/nouveau_ramht.h | 55 +
drivers/gpu/drm/nouveau/nouveau_reg.h | 9 +-
drivers/gpu/drm/nouveau/nouveau_sgdma.c | 68 +-
drivers/gpu/drm/nouveau/nouveau_state.c | 123 +-
drivers/gpu/drm/nouveau/nouveau_temp.c | 309 ++
drivers/gpu/drm/nouveau/nouveau_volt.c | 212 ++
drivers/gpu/drm/nouveau/nv04_crtc.c | 60 +-
drivers/gpu/drm/nouveau/nv04_dac.c | 11 +-
drivers/gpu/drm/nouveau/nv04_dfp.c | 39 +-
drivers/gpu/drm/nouveau/nv04_fbcon.c | 9 +-
drivers/gpu/drm/nouveau/nv04_fifo.c | 68 +-
drivers/gpu/drm/nouveau/nv04_instmem.c | 140 +-
drivers/gpu/drm/nouveau/nv04_pm.c | 81 +
drivers/gpu/drm/nouveau/nv04_tv.c | 10 +-
drivers/gpu/drm/nouveau/nv10_fifo.c | 19 +-
drivers/gpu/drm/nouveau/nv10_graph.c | 2 +-
drivers/gpu/drm/nouveau/nv17_tv.c | 110 +-
drivers/gpu/drm/nouveau/nv17_tv.h | 15 +-
drivers/gpu/drm/nouveau/nv17_tv_modes.c | 48 +-
drivers/gpu/drm/nouveau/nv20_graph.c | 506 ++--
drivers/gpu/drm/nouveau/nv40_fifo.c | 20 +-
drivers/gpu/drm/nouveau/nv40_graph.c | 16 +-
drivers/gpu/drm/nouveau/nv40_grctx.c | 6 +-
drivers/gpu/drm/nouveau/nv50_crtc.c | 87 +-
drivers/gpu/drm/nouveau/nv50_cursor.c | 2 +-
drivers/gpu/drm/nouveau/nv50_dac.c | 4 +-
drivers/gpu/drm/nouveau/nv50_display.c | 92 +-
drivers/gpu/drm/nouveau/nv50_fb.c | 40 +
drivers/gpu/drm/nouveau/nv50_fbcon.c | 4 +-
drivers/gpu/drm/nouveau/nv50_fifo.c | 286 +-
drivers/gpu/drm/nouveau/nv50_graph.c | 51 +-
drivers/gpu/drm/nouveau/nv50_grctx.c | 3305 +++++++++++++-------
drivers/gpu/drm/nouveau/nv50_instmem.c | 418 ++--
drivers/gpu/drm/nouveau/nv50_pm.c | 131 +
drivers/gpu/drm/nouveau/nv50_sor.c | 4 +-
drivers/gpu/drm/nouveau/nva3_pm.c | 95 +
drivers/gpu/drm/nouveau/nvc0_fifo.c | 6 -
drivers/gpu/drm/nouveau/nvc0_instmem.c | 13 +-
drivers/gpu/drm/nouveau/nvreg.h | 1 +
drivers/gpu/drm/r128/r128_drv.c | 2 -
drivers/gpu/drm/radeon/Makefile | 2 +-
drivers/gpu/drm/radeon/atombios_crtc.c | 406 ++-
drivers/gpu/drm/radeon/evergreen.c | 564 ++++-
drivers/gpu/drm/radeon/evergreen_blit_kms.c | 772 +++++
drivers/gpu/drm/radeon/evergreen_blit_shaders.c | 348 ++
drivers/gpu/drm/radeon/evergreen_blit_shaders.h | 35 +
drivers/gpu/drm/radeon/evergreend.h | 20 +
drivers/gpu/drm/radeon/r100.c | 100 +-
drivers/gpu/drm/radeon/r300.c | 15 +-
drivers/gpu/drm/radeon/r420.c | 16 +-
drivers/gpu/drm/radeon/r520.c | 11 +-
drivers/gpu/drm/radeon/r600.c | 179 +-
drivers/gpu/drm/radeon/r600_blit_kms.c | 51 +-
drivers/gpu/drm/radeon/r600_cs.c | 36 +-
drivers/gpu/drm/radeon/r600d.h | 21 +
drivers/gpu/drm/radeon/radeon.h | 23 +-
drivers/gpu/drm/radeon/radeon_asic.c | 6 +-
drivers/gpu/drm/radeon/radeon_asic.h | 11 +-
drivers/gpu/drm/radeon/radeon_atombios.c | 129 +-
drivers/gpu/drm/radeon/radeon_connectors.c | 65 +-
drivers/gpu/drm/radeon/radeon_cursor.c | 43 +-
drivers/gpu/drm/radeon/radeon_device.c | 83 +-
drivers/gpu/drm/radeon/radeon_display.c | 405 ++--
drivers/gpu/drm/radeon/radeon_drv.c | 11 +-
drivers/gpu/drm/radeon/radeon_encoders.c | 16 +-
drivers/gpu/drm/radeon/radeon_fb.c | 2 +
drivers/gpu/drm/radeon/radeon_fence.c | 10 +-
drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 49 +-
drivers/gpu/drm/radeon/radeon_mode.h | 53 +-
drivers/gpu/drm/radeon/radeon_object.c | 6 +-
drivers/gpu/drm/radeon/radeon_pm.c | 70 +-
drivers/gpu/drm/radeon/radeon_ring.c | 12 +-
drivers/gpu/drm/radeon/radeon_ttm.c | 34 +-
drivers/gpu/drm/radeon/reg_srcs/evergreen | 8 +
drivers/gpu/drm/radeon/rs400.c | 15 +-
drivers/gpu/drm/radeon/rs600.c | 15 +-
drivers/gpu/drm/radeon/rs690.c | 15 +-
drivers/gpu/drm/radeon/rv515.c | 15 +-
drivers/gpu/drm/radeon/rv770.c | 38 +-
drivers/gpu/drm/savage/savage_drv.c | 2 -
drivers/gpu/drm/sis/sis_drv.c | 3 -
drivers/gpu/drm/tdfx/tdfx_drv.c | 2 -
drivers/gpu/drm/ttm/Makefile | 3 +-
drivers/gpu/drm/ttm/ttm_agp_backend.c | 3 +-
drivers/gpu/drm/ttm/ttm_bo.c | 305 +-
drivers/gpu/drm/ttm/ttm_bo_manager.c | 148 +
drivers/gpu/drm/ttm/ttm_bo_util.c | 12 +-
drivers/gpu/drm/via/via_drv.c | 2 -
drivers/gpu/drm/vmwgfx/Makefile | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | 84 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 130 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 40 +-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 29 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 13 +-
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c | 38 +-
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 137 +
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 3 +
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 200 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 28 +-
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 75 -
drivers/gpu/stub/Kconfig | 13 +
drivers/gpu/stub/Makefile | 1 +
drivers/gpu/stub/poulsbo.c | 64 +
drivers/video/Kconfig | 2 +
include/drm/drmP.h | 45 +-
include/drm/drm_crtc.h | 4 +-
include/drm/drm_crtc_helper.h | 8 +-
include/drm/drm_dp_helper.h | 3 +
include/drm/i915_drm.h | 6 +-
include/drm/intel-gtt.h | 18 +
include/drm/ttm/ttm_bo_api.h | 3 +-
include/drm/ttm/ttm_bo_driver.h | 27 +-
include/drm/vmwgfx_drm.h | 1 +
212 files changed, 18764 insertions(+), 11690 deletions(-)
delete mode 100644 drivers/gpu/drm/drm_drawable.c
create mode 100644 drivers/gpu/drm/i915/intel_acpi.c
rename drivers/gpu/drm/i915/{i915_opregion.c => intel_opregion.c} (81%)
create mode 100644 drivers/gpu/drm/nouveau/nouveau_perf.c
create mode 100644 drivers/gpu/drm/nouveau/nouveau_pm.c
create mode 100644 drivers/gpu/drm/nouveau/nouveau_pm.h
create mode 100644 drivers/gpu/drm/nouveau/nouveau_ramht.c
create mode 100644 drivers/gpu/drm/nouveau/nouveau_ramht.h
create mode 100644 drivers/gpu/drm/nouveau/nouveau_temp.c
create mode 100644 drivers/gpu/drm/nouveau/nouveau_volt.c
create mode 100644 drivers/gpu/drm/nouveau/nv04_pm.c
create mode 100644 drivers/gpu/drm/nouveau/nv50_pm.c
create mode 100644 drivers/gpu/drm/nouveau/nva3_pm.c
create mode 100644 drivers/gpu/drm/radeon/evergreen_blit_kms.c
create mode 100644 drivers/gpu/drm/radeon/evergreen_blit_shaders.c
create mode 100644 drivers/gpu/drm/radeon/evergreen_blit_shaders.h
create mode 100644 drivers/gpu/drm/ttm/ttm_bo_manager.c
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
create mode 100644 drivers/gpu/stub/Kconfig
create mode 100644 drivers/gpu/stub/Makefile
create mode 100644 drivers/gpu/stub/poulsbo.c
create mode 100644 include/drm/intel-gtt.h
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2019-08-23 2:12 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 12:27 (unknown), Sascha Hauer
2012-05-18 12:27 ` [PATCH 1/2] DRM: add Freescale i.MX LCDC driver Sascha Hauer
2012-05-22 21:28 ` Rob Clark
2012-05-23 7:47 ` Sascha Hauer
2012-05-23 8:37 ` Lars-Peter Clausen
2012-05-23 9:09 ` Daniel Vetter
2012-05-18 12:27 ` [PATCH 2/2] pcm038 lcdc support Sascha Hauer
2012-05-18 14:03 ` Adam Jackson
2012-05-18 15:13 ` Sascha Hauer
2012-05-22 10:02 ` Dave Airlie
2012-05-22 14:06 ` Lars-Peter Clausen
2012-05-23 8:12 ` Re: Sascha Hauer
2012-05-24 6:31 ` Re: Sascha Hauer
-- strict thread matches above, loose matches on Subject: below --
2019-08-23 2:12 (unknown) Rob Herring
2019-06-07 0:54 (unknown) Dave Airlie
2019-05-26 11:51 (unknown) Thomas Meyer
2018-10-21 16:25 (unknown), Michael Tirado
2018-08-24 4:59 (unknown), Dave Airlie
2018-07-06 1:26 (unknown), Dave Airlie
2018-07-05 10:36 (unknown), rosdi ablatiff
2018-03-05 17:06 (unknown) Meghana Madhyastha
2017-06-01 2:26 (unknown), Dave Airlie
2017-05-11 1:02 (unknown), info
2017-01-13 10:46 [PATCH v3 1/8] arm: put types.h in uapi Nicolas Dichtel
2017-01-09 11:33 ` [PATCH v2 0/7] uapi: export all headers under uapi directories Arnd Bergmann
2017-01-13 10:46 ` [PATCH v3 0/8] " Nicolas Dichtel
2017-01-13 15:36 ` (unknown) David Howells
2016-10-28 20:45 (unknown), Heliogabalo Santos Jugon
2016-09-30 14:37 (unknown), Maxime Ripard
2016-02-10 15:17 (unknown), Carlos Palminha
[not found] <UVD support for older ASICs>
2014-08-24 13:14 ` (unknown), Christian König
2014-03-13 10:57 (unknown), Thomas Hellstrom
2013-08-13 9:56 (unknown), Christian König
2013-07-01 8:49 linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ] Sedat Dilek
2013-07-01 8:52 ` Daniel Vetter
2013-07-01 9:03 ` Sedat Dilek
2013-07-02 5:31 ` Sedat Dilek
[not found] ` <CA+icZUW3K7RyUcfdos7aOkrEOd3To0kSns+G3GSfkPqqwo7z=w@mail.gmail.com>
2013-08-26 13:05 ` Fwd: " Michael S. Tsirkin
2013-08-26 17:28 ` (unknown) Michael S. Tsirkin
2012-10-05 7:15 (unknown) Robert Schwebel
2012-04-12 0:54 (unknown), Rodrigo Vivi
2011-09-30 9:39 (unknown), Inki Dae
2010-10-27 1:26 (unknown) Dave Airlie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).