-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'exynos-drm-next' of git://git.infradead.org/users/kmpar…
…k/linux-samsung into drm-core-next these patch sets include the following features: - add Samsung SoC Exynos based HDMI support. - add pm feature for fimd driver. - add multi buffer plane pixel formats to drm/drm_fourcc.h. multi buffer plane pixel format has seperated memory spaces for each plane. for exampme, NV12M has Y plane and CbCr plane and these are in non-continuous memory region. compared with NV12, NV12M's memory shape is like following. NV12 : ______(Y)(CbCr)_______ NV12M : __(Y)_ ..... _(CbCr)__ - bug fix to vblank. - code clean to exynos gem framework. * 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung: drm/exynos: added hdmi display support drm/exynos: added mutex lock and code clean. drm/exynos: extend vblank off delay time. drm/exynos: change driver name. drm/exynos: Support multi buffers drm: Add multi buffer plane pixel formats drm/exynos: added pm support. drm/exynos: remove buffer creation of fbdev from drm framebuffer creation drm/exynos: Split creation of gem object and gem handle drm/exynos: Fix a fake mmap offset creation drm/exynos: gem code cleanup
- Loading branch information
Showing
26 changed files
with
3,854 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Copyright (C) 2011 Samsung Electronics Co.Ltd | ||
* Authors: | ||
* Seung-Woo Kim <sw0312.kim@samsung.com> | ||
* Inki Dae <inki.dae@samsung.com> | ||
* | ||
* 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. | ||
* | ||
*/ | ||
|
||
#include "drmP.h" | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/i2c.h> | ||
#include <linux/module.h> | ||
|
||
|
||
#include "exynos_drm_drv.h" | ||
#include "exynos_hdmi.h" | ||
|
||
static int s5p_ddc_probe(struct i2c_client *client, | ||
const struct i2c_device_id *dev_id) | ||
{ | ||
hdmi_attach_ddc_client(client); | ||
|
||
dev_info(&client->adapter->dev, "attached s5p_ddc " | ||
"into i2c adapter successfully\n"); | ||
|
||
return 0; | ||
} | ||
|
||
static int s5p_ddc_remove(struct i2c_client *client) | ||
{ | ||
dev_info(&client->adapter->dev, "detached s5p_ddc " | ||
"from i2c adapter successfully\n"); | ||
|
||
return 0; | ||
} | ||
|
||
static struct i2c_device_id ddc_idtable[] = { | ||
{"s5p_ddc", 0}, | ||
{ }, | ||
}; | ||
|
||
struct i2c_driver ddc_driver = { | ||
.driver = { | ||
.name = "s5p_ddc", | ||
.owner = THIS_MODULE, | ||
}, | ||
.id_table = ddc_idtable, | ||
.probe = s5p_ddc_probe, | ||
.remove = __devexit_p(s5p_ddc_remove), | ||
.command = NULL, | ||
}; | ||
EXPORT_SYMBOL(ddc_driver); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.