mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'drm-next-3.12' of git://people.freedesktop.org/~agd5f/linux into drm-next
Alex writes: This is the radeon drm-next request. Big changes include: - support for dpm on CIK parts - support for ASPM on CIK parts - support for berlin GPUs - major ring handling cleanup - remove the old 3D blit code for bo moves in favor of CP DMA or sDMA - lots of bug fixes [airlied: fix up a bunch of conflicts from drm_order removal] * 'drm-next-3.12' of git://people.freedesktop.org/~agd5f/linux: (898 commits) drm/radeon/dpm: make sure dc performance level limits are valid (CI) drm/radeon/dpm: make sure dc performance level limits are valid (BTC-SI) (v2) drm/radeon: gcc fixes for extended dpm tables drm/radeon: gcc fixes for kb/kv dpm drm/radeon: gcc fixes for ci dpm drm/radeon: gcc fixes for si dpm drm/radeon: gcc fixes for ni dpm drm/radeon: gcc fixes for trinity dpm drm/radeon: gcc fixes for sumo dpm drm/radeonn: gcc fixes for rv7xx/eg/btc dpm drm/radeon: gcc fixes for rv6xx dpm drm/radeon: gcc fixes for radeon_atombios.c drm/radeon: enable UVD interrupts on CIK drm/radeon: fix init ordering for r600+ drm/radeon/dpm: only need to reprogram uvd if uvd pg is enabled drm/radeon: check the return value of uvd_v1_0_start in uvd_v1_0_init drm/radeon: split out radeon_uvd_resume from uvd_v4_2_resume radeon kms: fix uninitialised hotplug work usage in r100_irq_process() drm/radeon/audio: set up the sads on DCE3.2 asics drm/radeon: fix handling of variable sized arrays for router objects ... Conflicts: drivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_gem_dmabuf.c drivers/gpu/drm/i915/intel_pm.c drivers/gpu/drm/radeon/cik.c drivers/gpu/drm/radeon/ni.c drivers/gpu/drm/radeon/r600.c
This commit is contained in:
commit
9c725e5bcd
882 changed files with 29080 additions and 11491 deletions
|
|
@ -435,8 +435,8 @@ static int correct_chipset(struct atyfb_par *par)
|
|||
const char *name;
|
||||
int i;
|
||||
|
||||
for (i = ARRAY_SIZE(aty_chips); i > 0; i--)
|
||||
if (par->pci_id == aty_chips[i - 1].pci_id)
|
||||
for (i = (int)ARRAY_SIZE(aty_chips) - 1; i >= 0; i--)
|
||||
if (par->pci_id == aty_chips[i].pci_id)
|
||||
break;
|
||||
|
||||
if (i < 0)
|
||||
|
|
|
|||
|
|
@ -239,24 +239,6 @@ static const struct fb_bitfield def_rgb565[] = {
|
|||
}
|
||||
};
|
||||
|
||||
static const struct fb_bitfield def_rgb666[] = {
|
||||
[RED] = {
|
||||
.offset = 16,
|
||||
.length = 6,
|
||||
},
|
||||
[GREEN] = {
|
||||
.offset = 8,
|
||||
.length = 6,
|
||||
},
|
||||
[BLUE] = {
|
||||
.offset = 0,
|
||||
.length = 6,
|
||||
},
|
||||
[TRANSP] = { /* no support for transparency */
|
||||
.length = 0,
|
||||
}
|
||||
};
|
||||
|
||||
static const struct fb_bitfield def_rgb888[] = {
|
||||
[RED] = {
|
||||
.offset = 16,
|
||||
|
|
@ -309,9 +291,6 @@ static int mxsfb_check_var(struct fb_var_screeninfo *var,
|
|||
break;
|
||||
case STMLCDIF_16BIT:
|
||||
case STMLCDIF_18BIT:
|
||||
/* 24 bit to 18 bit mapping */
|
||||
rgb = def_rgb666;
|
||||
break;
|
||||
case STMLCDIF_24BIT:
|
||||
/* real 24 bit */
|
||||
rgb = def_rgb888;
|
||||
|
|
@ -453,11 +432,6 @@ static int mxsfb_set_par(struct fb_info *fb_info)
|
|||
return -EINVAL;
|
||||
case STMLCDIF_16BIT:
|
||||
case STMLCDIF_18BIT:
|
||||
/* 24 bit to 18 bit mapping */
|
||||
ctrl |= CTRL_DF24; /* ignore the upper 2 bits in
|
||||
* each colour component
|
||||
*/
|
||||
break;
|
||||
case STMLCDIF_24BIT:
|
||||
/* real 24 bit */
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -587,8 +587,7 @@ static int nuc900fb_probe(struct platform_device *pdev)
|
|||
fbinfo->flags = FBINFO_FLAG_DEFAULT;
|
||||
fbinfo->pseudo_palette = &fbi->pseudo_pal;
|
||||
|
||||
ret = request_irq(irq, nuc900fb_irqhandler, 0,
|
||||
pdev->name, fbinfo);
|
||||
ret = request_irq(irq, nuc900fb_irqhandler, 0, pdev->name, fbi);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "cannot register irq handler %d -err %d\n",
|
||||
irq, ret);
|
||||
|
|
|
|||
|
|
@ -28,6 +28,20 @@ struct panel_drv_data {
|
|||
bool invert_polarity;
|
||||
};
|
||||
|
||||
static const struct omap_video_timings tvc_pal_timings = {
|
||||
.x_res = 720,
|
||||
.y_res = 574,
|
||||
.pixel_clock = 13500,
|
||||
.hsw = 64,
|
||||
.hfp = 12,
|
||||
.hbp = 68,
|
||||
.vsw = 5,
|
||||
.vfp = 5,
|
||||
.vbp = 41,
|
||||
|
||||
.interlace = true,
|
||||
};
|
||||
|
||||
#define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
|
||||
|
||||
static int tvc_connect(struct omap_dss_device *dssdev)
|
||||
|
|
@ -212,14 +226,14 @@ static int tvc_probe(struct platform_device *pdev)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
ddata->timings = omap_dss_pal_timings;
|
||||
ddata->timings = tvc_pal_timings;
|
||||
|
||||
dssdev = &ddata->dssdev;
|
||||
dssdev->driver = &tvc_driver;
|
||||
dssdev->dev = &pdev->dev;
|
||||
dssdev->type = OMAP_DISPLAY_TYPE_VENC;
|
||||
dssdev->owner = THIS_MODULE;
|
||||
dssdev->panel.timings = omap_dss_pal_timings;
|
||||
dssdev->panel.timings = tvc_pal_timings;
|
||||
|
||||
r = omapdss_register_display(dssdev);
|
||||
if (r) {
|
||||
|
|
|
|||
|
|
@ -713,7 +713,7 @@ static int sgivwfb_mmap(struct fb_info *info,
|
|||
r = vm_iomap_memory(vma, sgivwfb_mem_phys, sgivwfb_mem_size);
|
||||
|
||||
printk(KERN_DEBUG "sgivwfb: mmap framebuffer P(%lx)->V(%lx)\n",
|
||||
offset, vma->vm_start);
|
||||
sgivwfb_mem_phys + (vma->vm_pgoff << PAGE_SHIFT), vma->vm_start);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -567,7 +567,7 @@ static int sh7760fb_remove(struct platform_device *dev)
|
|||
fb_dealloc_cmap(&info->cmap);
|
||||
sh7760fb_free_mem(info);
|
||||
if (par->irq >= 0)
|
||||
free_irq(par->irq, par);
|
||||
free_irq(par->irq, &par->vsync);
|
||||
iounmap(par->base);
|
||||
release_mem_region(par->ioarea->start, resource_size(par->ioarea));
|
||||
framebuffer_release(info);
|
||||
|
|
|
|||
|
|
@ -1265,7 +1265,6 @@ static void vga16fb_imageblit(struct fb_info *info, const struct fb_image *image
|
|||
|
||||
static void vga16fb_destroy(struct fb_info *info)
|
||||
{
|
||||
struct platform_device *dev = container_of(info->device, struct platform_device, dev);
|
||||
iounmap(info->screen_base);
|
||||
fb_dealloc_cmap(&info->cmap);
|
||||
/* XXX unshare VGA regions */
|
||||
|
|
|
|||
|
|
@ -341,8 +341,8 @@ static int xilinxfb_assign(struct platform_device *pdev,
|
|||
|
||||
if (drvdata->flags & BUS_ACCESS_FLAG) {
|
||||
/* Put a banner in the log (for DEBUG) */
|
||||
dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys,
|
||||
drvdata->regs);
|
||||
dev_dbg(dev, "regs: phys=%pa, virt=%p\n",
|
||||
&drvdata->regs_phys, drvdata->regs);
|
||||
}
|
||||
/* Put a banner in the log (for DEBUG) */
|
||||
dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue