diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
commit | 5f76945a9c978b8b8bf8eb7fe3b17b9981240a97 (patch) | |
tree | df61aca168df657bc71ce8b578bcb0c81b0622ee /drivers/video/sunxvr500.c | |
parent | 940e3a8dd6683a3787faf769b3df7a06f1c2fa31 (diff) | |
parent | cd9d6f10d07f26dd8a70e519c22b6b4f8a9e3e7a (diff) |
Merge tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6
Pull fbdev updates from Florian Tobias Schandinat:
"This includes:
- large updates for OMAP
- basic OMAP5 DSS support for DPI and DSI outputs
- large cleanups and restructuring
- some update to Exynos and da8xx-fb
- removal of the pnx4008 driver (arch removed)
- various other small patches"
Fix up some trivial conflicts (mostly just include line changes, but
also some due to the renaming of the deferred work functions by Tejun).
* tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6: (193 commits)
gbefb: fix compile error
video: mark nuc900fb_map_video_memory as __devinit
video/mx3fb: set .owner to prevent module unloading while being used
video: exynos_dp: use clk_prepare_enable and clk_disable_unprepare
drivers/video/exynos/exynos_mipi_dsi.c: fix error return code
drivers/video/savage/savagefb_driver.c: fix error return code
video: s3c-fb: use clk_prepare_enable and clk_disable_unprepare
da8xx-fb: save and restore LCDC context across suspend/resume cycle
da8xx-fb: add pm_runtime support
video/udlfb: fix line counting in fb_write
OMAPDSS: add missing include for string.h
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
OMAPDSS: DISPC: Add manager like functions for writeback
OMAPDSS: DISPC: Configure writeback FIFOs
OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
OMAPDSS: DISPC: Add function to set channel in for writeback
OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
OMAPDSS: DISPC: Downscale chroma if plane is writeback
OMAPDSS: DISPC: Configure input and output sizes for writeback
...
Diffstat (limited to 'drivers/video/sunxvr500.c')
-rw-r--r-- | drivers/video/sunxvr500.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/video/sunxvr500.c b/drivers/video/sunxvr500.c index eb931b8626fa..6c71b1b44477 100644 --- a/drivers/video/sunxvr500.c +++ b/drivers/video/sunxvr500.c | |||
@@ -298,8 +298,10 @@ static int __devinit e3d_pci_register(struct pci_dev *pdev, | |||
298 | goto err_release_fb; | 298 | goto err_release_fb; |
299 | } | 299 | } |
300 | ep->ramdac = ioremap(ep->regs_base_phys + 0x8000, 0x1000); | 300 | ep->ramdac = ioremap(ep->regs_base_phys + 0x8000, 0x1000); |
301 | if (!ep->ramdac) | 301 | if (!ep->ramdac) { |
302 | err = -ENOMEM; | ||
302 | goto err_release_pci1; | 303 | goto err_release_pci1; |
304 | } | ||
303 | 305 | ||
304 | ep->fb8_0_off = readl(ep->ramdac + RAMDAC_VID_8FB_0); | 306 | ep->fb8_0_off = readl(ep->ramdac + RAMDAC_VID_8FB_0); |
305 | ep->fb8_0_off -= ep->fb_base_reg; | 307 | ep->fb8_0_off -= ep->fb_base_reg; |
@@ -343,8 +345,10 @@ static int __devinit e3d_pci_register(struct pci_dev *pdev, | |||
343 | ep->fb_size = info->fix.line_length * ep->height; | 345 | ep->fb_size = info->fix.line_length * ep->height; |
344 | 346 | ||
345 | ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); | 347 | ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); |
346 | if (!ep->fb_base) | 348 | if (!ep->fb_base) { |
349 | err = -ENOMEM; | ||
347 | goto err_release_pci0; | 350 | goto err_release_pci0; |
351 | } | ||
348 | 352 | ||
349 | err = e3d_set_fbinfo(ep); | 353 | err = e3d_set_fbinfo(ep); |
350 | if (err) | 354 | if (err) |