diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-02 22:40:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-02 22:40:34 -0400 |
commit | 20a2078ce7705a6e0722ef5184336eb8657a58d8 (patch) | |
tree | 5b927c96516380aa0ecd68d8a609f7cd72120ad5 /drivers/gpu/drm/tilcdc | |
parent | 0279b3c0ada1d78882f24acf94ac4595bd657a89 (diff) | |
parent | 307b9c022720f9de90d58e51743e01e9a42aec59 (diff) |
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie:
"This is the main drm pull request for 3.10.
Wierd bits:
- OMAP drm changes required OMAP dss changes, in drivers/video, so I
took them in here.
- one more fbcon fix for font handover
- VT switch avoidance in pm code
- scatterlist helpers for gpu drivers - have acks from akpm
Highlights:
- qxl kms driver - driver for the spice qxl virtual GPU
Nouveau:
- fermi/kepler VRAM compression
- GK110/nvf0 modesetting support.
Tegra:
- host1x core merged with 2D engine support
i915:
- vt switchless resume
- more valleyview support
- vblank fixes
- modesetting pipe config rework
radeon:
- UVD engine support
- SI chip tiling support
- GPU registers initialisation from golden values.
exynos:
- device tree changes
- fimc block support
Otherwise:
- bunches of fixes all over the place."
* 'drm-next' of git://people.freedesktop.org/~airlied/linux: (513 commits)
qxl: update to new idr interfaces.
drm/nouveau: fix build with nv50->nvc0
drm/radeon: fix handling of v6 power tables
drm/radeon: clarify family checks in pm table parsing
drm/radeon: consolidate UVD clock programming
drm/radeon: fix UPLL_REF_DIV_MASK definition
radeon: add bo tracking debugfs
drm/radeon: add new richland pci ids
drm/radeon: add some new SI PCI ids
drm/radeon: fix scratch reg handling for UVD fence
drm/radeon: allocate SA bo in the requested domain
drm/radeon: fix possible segfault when parsing pm tables
drm/radeon: fix endian bugs in atom_allocate_fb_scratch()
OMAPDSS: TFP410: return EPROBE_DEFER if the i2c adapter not found
OMAPDSS: VENC: Add error handling for venc_probe_pdata
OMAPDSS: HDMI: Add error handling for hdmi_probe_pdata
OMAPDSS: RFBI: Add error handling for rfbi_probe_pdata
OMAPDSS: DSI: Add error handling for dsi_probe_pdata
OMAPDSS: SDI: Add error handling for sdi_probe_pdata
OMAPDSS: DPI: Add error handling for dpi_probe_pdata
...
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r-- | drivers/gpu/drm/tilcdc/Makefile | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.c | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_panel.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_slave.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 |
5 files changed, 9 insertions, 10 deletions
diff --git a/drivers/gpu/drm/tilcdc/Makefile b/drivers/gpu/drm/tilcdc/Makefile index deda656b10e7..7d2eefe94bf7 100644 --- a/drivers/gpu/drm/tilcdc/Makefile +++ b/drivers/gpu/drm/tilcdc/Makefile | |||
@@ -1,4 +1,7 @@ | |||
1 | ccflags-y := -Iinclude/drm -Werror | 1 | ccflags-y := -Iinclude/drm |
2 | ifeq (, $(findstring -W,$(EXTRA_CFLAGS))) | ||
3 | ccflags-y += -Werror | ||
4 | endif | ||
2 | 5 | ||
3 | tilcdc-y := \ | 6 | tilcdc-y := \ |
4 | tilcdc_crtc.o \ | 7 | tilcdc_crtc.o \ |
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index c5b592dc1970..2b5461bcd9fb 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c | |||
@@ -75,7 +75,7 @@ static int modeset_init(struct drm_device *dev) | |||
75 | mod->funcs->modeset_init(mod, dev); | 75 | mod->funcs->modeset_init(mod, dev); |
76 | } | 76 | } |
77 | 77 | ||
78 | if ((priv->num_encoders = 0) || (priv->num_connectors == 0)) { | 78 | if ((priv->num_encoders == 0) || (priv->num_connectors == 0)) { |
79 | /* oh nos! */ | 79 | /* oh nos! */ |
80 | dev_err(dev->dev, "no encoders/connectors found\n"); | 80 | dev_err(dev->dev, "no encoders/connectors found\n"); |
81 | return -ENXIO; | 81 | return -ENXIO; |
@@ -299,11 +299,10 @@ static int tilcdc_irq_postinstall(struct drm_device *dev) | |||
299 | struct tilcdc_drm_private *priv = dev->dev_private; | 299 | struct tilcdc_drm_private *priv = dev->dev_private; |
300 | 300 | ||
301 | /* enable FIFO underflow irq: */ | 301 | /* enable FIFO underflow irq: */ |
302 | if (priv->rev == 1) { | 302 | if (priv->rev == 1) |
303 | tilcdc_set(dev, LCDC_RASTER_CTRL_REG, LCDC_V1_UNDERFLOW_INT_ENA); | 303 | tilcdc_set(dev, LCDC_RASTER_CTRL_REG, LCDC_V1_UNDERFLOW_INT_ENA); |
304 | } else { | 304 | else |
305 | tilcdc_set(dev, LCDC_INT_ENABLE_SET_REG, LCDC_V2_UNDERFLOW_INT_ENA); | 305 | tilcdc_set(dev, LCDC_INT_ENABLE_SET_REG, LCDC_V2_UNDERFLOW_INT_ENA); |
306 | } | ||
307 | 306 | ||
308 | return 0; | 307 | return 0; |
309 | } | 308 | } |
@@ -363,7 +362,7 @@ static const struct { | |||
363 | uint8_t rev; | 362 | uint8_t rev; |
364 | uint8_t save; | 363 | uint8_t save; |
365 | uint32_t reg; | 364 | uint32_t reg; |
366 | } registers[] = { | 365 | } registers[] = { |
367 | #define REG(rev, save, reg) { #reg, rev, save, reg } | 366 | #define REG(rev, save, reg) { #reg, rev, save, reg } |
368 | /* exists in revision 1: */ | 367 | /* exists in revision 1: */ |
369 | REG(1, false, LCDC_PID_REG), | 368 | REG(1, false, LCDC_PID_REG), |
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 90ee49786372..09176654fddb 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c | |||
@@ -305,7 +305,7 @@ static const struct tilcdc_module_ops panel_module_ops = { | |||
305 | */ | 305 | */ |
306 | 306 | ||
307 | /* maybe move this somewhere common if it is needed by other outputs? */ | 307 | /* maybe move this somewhere common if it is needed by other outputs? */ |
308 | static struct tilcdc_panel_info * of_get_panel_info(struct device_node *np) | 308 | static struct tilcdc_panel_info *of_get_panel_info(struct device_node *np) |
309 | { | 309 | { |
310 | struct device_node *info_np; | 310 | struct device_node *info_np; |
311 | struct tilcdc_panel_info *info; | 311 | struct tilcdc_panel_info *info; |
@@ -413,7 +413,6 @@ static struct of_device_id panel_of_match[] = { | |||
413 | { .compatible = "ti,tilcdc,panel", }, | 413 | { .compatible = "ti,tilcdc,panel", }, |
414 | { }, | 414 | { }, |
415 | }; | 415 | }; |
416 | MODULE_DEVICE_TABLE(of, panel_of_match); | ||
417 | 416 | ||
418 | struct platform_driver panel_driver = { | 417 | struct platform_driver panel_driver = { |
419 | .probe = panel_probe, | 418 | .probe = panel_probe, |
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave.c b/drivers/gpu/drm/tilcdc/tilcdc_slave.c index 568dc1c08e6c..db1d2fc9dfb5 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_slave.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave.c | |||
@@ -353,7 +353,6 @@ static struct of_device_id slave_of_match[] = { | |||
353 | { .compatible = "ti,tilcdc,slave", }, | 353 | { .compatible = "ti,tilcdc,slave", }, |
354 | { }, | 354 | { }, |
355 | }; | 355 | }; |
356 | MODULE_DEVICE_TABLE(of, slave_of_match); | ||
357 | 356 | ||
358 | struct platform_driver slave_driver = { | 357 | struct platform_driver slave_driver = { |
359 | .probe = slave_probe, | 358 | .probe = slave_probe, |
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c index 58d487ba2414..a36788fbcd98 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | |||
@@ -396,7 +396,6 @@ static struct of_device_id tfp410_of_match[] = { | |||
396 | { .compatible = "ti,tilcdc,tfp410", }, | 396 | { .compatible = "ti,tilcdc,tfp410", }, |
397 | { }, | 397 | { }, |
398 | }; | 398 | }; |
399 | MODULE_DEVICE_TABLE(of, tfp410_of_match); | ||
400 | 399 | ||
401 | struct platform_driver tfp410_driver = { | 400 | struct platform_driver tfp410_driver = { |
402 | .probe = tfp410_probe, | 401 | .probe = tfp410_probe, |