1. 18 Jan, 2015 3 commits
    • Joonyoung Shim's avatar
      drm/exynos: fix warning of vblank reference count · 7c4c5584
      Joonyoung Shim authored
      Prevented re-enabling the vblank interrupt by drm_vblank_off and
      drm_vblank_get from mixer_wait_for_vblank returns error after
      drm_vblank_off. We get below warnings without this error handling
      because vblank reference count is mismatched by above sequence.
      
      setting mode 1920x1080-60Hz@XR24 on connectors 16, crtc 13
      [   19.900793] ------------[ cut here ]------------
      [   19.903959] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/drm_irq.c:1072 exynos_drm_crtc_finish_pageflip+0xac/0xdc()
      [   19.914076] Modules linked in:
      [   19.917116] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-rc4-00040-g3d729789-dirty #46
      [   19.925342] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
      [   19.931437] [<c0014430>] (unwind_backtrace) from [<c001158c>] (show_stack+0x10/0x14)
      [   19.939131] [<c001158c>] (show_stack) from [<c04cdd50>] (dump_stack+0x84/0xc4)
      [   19.946329] [<c04cdd50>] (dump_stack) from [<c00226f4>] (warn_slowpath_common+0x80/0xb0)
      [   19.954382] [<c00226f4>] (warn_slowpath_common) from [<c00227c0>] (warn_slowpath_null+0x1c/0x24)
      [   19.963132] [<c00227c0>] (warn_slowpath_null) from [<c02c20cc>] (exynos_drm_crtc_finish_pageflip+0xac/0xdc)
      [   19.972841] [<c02c20cc>] (exynos_drm_crtc_finish_pageflip) from [<c02cb7ec>] (mixer_irq_handler+0xdc/0x104)
      [   19.982546] [<c02cb7ec>] (mixer_irq_handler) from [<c005c904>] (handle_irq_event_percpu+0x78/0x134)
      [   19.991555] [<c005c904>] (handle_irq_event_percpu) from [<c005c9fc>] (handle_irq_event+0x3c/0x5c)
      [   20.000395] [<c005c9fc>] (handle_irq_event) from [<c005f384>] (handle_fasteoi_irq+0xe0/0x1ac)
      [   20.008885] [<c005f384>] (handle_fasteoi_irq) from [<c005bf88>] (generic_handle_irq+0x2c/0x3c)
      [   20.017463] [<c005bf88>] (generic_handle_irq) from [<c005c254>] (__handle_domain_irq+0x7c/0xec)
      [   20.026128] [<c005c254>] (__handle_domain_irq) from [<c0008698>] (gic_handle_irq+0x30/0x68)
      [   20.034449] [<c0008698>] (gic_handle_irq) from [<c00120c0>] (__irq_svc+0x40/0x74)
      [   20.041893] Exception stack(0xc06fff68 to 0xc06fffb0)
      [   20.046923] ff60:                   00000000 00000000 000052f6 c001b460 c06fe000 c07064e8
      [   20.055070] ff80: c04d743c c07392a2 c0739440 c06da340 ef7fca80 00000000 01000000 c06fffb0
      [   20.063212] ffa0: c000f24c c000f250 60000013 ffffffff
      [   20.068245] [<c00120c0>] (__irq_svc) from [<c000f250>] (arch_cpu_idle+0x38/0x3c)
      [   20.075611] [<c000f250>] (arch_cpu_idle) from [<c0050948>] (cpu_startup_entry+0x108/0x16c)
      [   20.083846] [<c0050948>] (cpu_startup_entry) from [<c06aec5c>] (start_kernel+0x3a0/0x3ac)
      [   20.091980] ---[ end trace 2c76ee0500489d1b ]---
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      7c4c5584
    • Joonyoung Shim's avatar
      drm/exynos: remove unnecessary runtime pm operations · bd508666
      Joonyoung Shim authored
      In booting, we can see a below message.
      
      [    3.241728] exynos-mixer 14450000.mixer: Unbalanced pm_runtime_enable!
      
      Already pm_runtime_enable is called by probe function. Remove
      pm_runtime_enable/disable from mixer_bind and mixer_unbind.
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      bd508666
    • Joonyoung Shim's avatar
      drm/exynos: fix reset codes for memory mapped hdmi phy · 265134a0
      Joonyoung Shim authored
      This fixes reset codes to support memory mapped hdmi phy as well as hdmi
      phy dedicated i2c lines.
      Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      265134a0
  2. 11 Jan, 2015 1 commit
  3. 08 Jan, 2015 3 commits
    • Dave Airlie's avatar
      Merge tag 'amdkfd-fixes-2015-01-06' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes · 79305ec6
      Dave Airlie authored
      - Complete overhaul to the main IOCTL function, kfd_ioctl(), according to
        drm_ioctl() example. This includes changing the IOCTL definitions, so it
        breaks compatibility with previous versions of the userspace. However,
        because the kernel was not officialy released yet, and this the first
        kernel that includes amdkfd, I assume I can still do that at this stage.
      
      - A couple of bug fixes for the non-HWS path (used for bring-ups and
        debugging purposes only).
      
      * tag 'amdkfd-fixes-2015-01-06' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()
        drm/amdkfd: reformat IOCTL definitions to drm-style
        drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()
        drm/amdkfd: unmap VMID<-->PASID when relesing VMID (non-HWS)
        drm/radeon: Assign VMID to PASID for IH in non-HWS mode
        drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy()
        drm/amdkfd: Load mqd to hqd in non-HWS mode
        drm/amd: Fixing typos in kfd<->kgd interface
      79305ec6
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-3.19' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · eaee8ec4
      Dave Airlie authored
      some minor radeon fixes.
      
      * 'drm-fixes-3.19' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: integer underflow in radeon_cp_dispatch_texture()
        drm/radeon: adjust default bapm settings for KV
        drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw
        drm/radeon: fix sad_count check for dce3
        drm/radeon: KV has three PPLLs (v2)
      eaee8ec4
    • Dave Airlie's avatar
      Merge branch 'linux-3.19' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes · f6624888
      Dave Airlie authored
          - Fix BUG() on !SMP builds
          - Fix for OOPS on pre-NV50 that snuck into -next
          - MCP7[789A] hang fix where firmware hasn't already setup NISO pollers
          - NV4x IGP MSI disable, it doesn't appear to work correctly
          - Add GK208B to recognised boards (no code change aside from adding
          chipset recognition)
      
      * 'linux-3.19' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
        drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP
        drm/nv4c/mc: disable msi
        drm/nouveau/fb/ram/mcp77: enable NISO poller
        drm/nouveau/fb/ram/mcp77: use carveout reg to determine size
        drm/nouveau/fb/ram/mcp77: subclass nouveau_ram
        drm/nouveau: wake up the card if necessary during gem callbacks
        drm/nouveau/device: Add support for GK208B, resolves bug 86935
        drm/nouveau: fix missing return statement in nouveau_ttm_tt_unpopulate
        drm/nouveau/bios: fix oops on pre-nv50 chipsets
      f6624888
  4. 06 Jan, 2015 3 commits
  5. 05 Jan, 2015 6 commits
  6. 04 Jan, 2015 2 commits
    • Dave Airlie's avatar
      Merge tag 'amdkfd-fixes-2014-12-30' of git://people.freedesktop.org/~gabbayo/linux into linus · 2f6bd4da
      Dave Airlie authored
      Highlights:
      
      - Link order changes in drm/Makefile and drivers/Makefile to fix issue
        when amdkfd, radeon and amd_iommu_v2 are compiled inside the kernel
        image.
      
      - Consider kernel configuration (using #IFDEFs) when radeon initializes
        amdkfd, due to a specific configuration that makes symbol_request()
        return a non-NULL value when a symbol doesn't exists. Rusty Russel
        is helping me to find the root cause, but it may take a while because
        of year-end so I'm sending this as a band-aid solution.
      
      * tag 'amdkfd-fixes-2014-12-30' of git://people.freedesktop.org/~gabbayo/linux:
        drm/radeon: Init amdkfd only if it was compiled
        amdkfd: actually allocate longs for the pasid bitmask
        drm: Put amdkfd before radeon in drm Makefile
        drivers: Move iommu/ before gpu/ in Makefile
        amdkfd: Remove duplicate include
        amdkfd: Fixing topology bug in building sysfs nodes
        amdkfd: Fix accounting of device queues
      2f6bd4da
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2014-12-30' of git://anongit.freedesktop.org/drm-intel into linus · 379a2d31
      Dave Airlie authored
      I've had these since before -rc1, but they missed my last pull
      request. Real bug fixes and mostly cc: stable material.
      
      * tag 'drm-intel-next-fixes-2014-12-30' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl
        Revert "drm/i915: Preserve VGACNTR bits from the BIOS"
        drm/i915: Don't call intel_prepare_page_flip() multiple times on gen2-4
        drm/i915: Kill check_power_well() calls
      379a2d31
  7. 02 Jan, 2015 3 commits
  8. 31 Dec, 2014 10 commits
  9. 30 Dec, 2014 9 commits