1. 29 Feb, 2016 4 commits
    • Archit Taneja's avatar
      drm/msm/hdmi: Manage HDMI PLL through PHY driver · ea184891
      Archit Taneja authored
      Add a helper to initialize PLL in the PHY driver. HDMI PLLs are going to
      have their own mmio base different from that of PHY.
      
      For the clock code in hdmi_phy_8960.c, some changes were needed for it to
      work with the updated register offsets. Create a copy of the updated clock
      code in hdmi_pll_8960.c, instead of rewriting it in hdmi_phy_8960.c
      itself. This removes the need to place CONFIG_COMMON_CLOCK checks all
      around, makes the code more legible, and also removes some old checkpatch
      warnings with the original code.
      
      The older hdmi pll clock ops in hdmi_phy_8960.c will be removed later. The
      driver will use these until the HDMI PHY/PLL register offsets aren't
      considered as separate domains (i.e. their offsets start from 0).
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      ea184891
    • Archit Taneja's avatar
      drm/msm/hdmi: Create a separate HDMI PHY driver · 15b4a452
      Archit Taneja authored
      Create a PHY device that represents the TX PHY and PLL parts of the HDMI
      block.
      
      This makes management of PHY specific resources (regulators and clocks)
      much easier, and makes the PHY and PLL usable independently. It also
      simplifies the core HDMI driver, which currently assigns phy ops among
      many other things.
      
      The PHY driver implementation done here is very similar to the PHY driver
      we already have for DSI.
      
      Keep the old hdmi_phy_funcs ops for now. The driver will use these until
      the HDMI PHY/PLL register offsets aren't considered as separate
      domains (i.e. their offsets start from 0).
      
      The driver doesn't use the common PHY framework for now. This is because
      it's hard to map our ops with the ops provided by the framework. The
      bindings used for this is the generic phy bindings. So, this can be
      adapted to the PHY framework in the future, if possible.
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      15b4a452
    • Archit Taneja's avatar
      drm/msm/hdmi: Fix connector detect when there is no HPD gpio · c95ea162
      Archit Taneja authored
      Some platforms may not have a HPD gpio line to detect Hot Plug signal from
      the connector. They need to rely only on reading REG_HDMI_HPD_INT_STATUS
      for HPD.
      
      Modify hdmi_connector_detect logic such that it checks for HPD only using
      the status register if there is no HPD gpio.
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      c95ea162
    • Archit Taneja's avatar
      drm/msm/hdmi: Clean up connector gpio usage · dc50f782
      Archit Taneja authored
      Make gpio allocation and usage iterative by parsing the gpios on a given
      platform from a list. This gives us flexibility over what all gpios exist
      for a platform, whether they are input or output, and what value they
      should be set to.
      
      In particular, this will make HDMI on 8x96 platforms easier to integrate
      with the driver, as it doesn't have a HPD gpio input to them. Also, it
      cleans things up a bit.
      
      We still use the legacy gpio api here, as we might need to backport this
      driver to downstream kernels.
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      dc50f782
  2. 19 Feb, 2016 4 commits
    • Dave Airlie's avatar
      Merge branch 'drm-rockchip-next-2016-02-18' of... · d2eaa590
      Dave Airlie authored
      Merge branch 'drm-rockchip-next-2016-02-18' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
      
      add Innosilicon HDMI support.
      
      * 'drm-rockchip-next-2016-02-18' of https://github.com/markyzq/kernel-drm-rockchip:
        dt-bindings: add document for Innosilicon HDMI on Rockchip platform
        drm/rockchip: hdmi: add Innosilicon HDMI support
      d2eaa590
    • Dave Airlie's avatar
      Merge tag 'drm-vc4-next-2016-02-17' of github.com:anholt/linux into drm-next · 9864fd76
      Dave Airlie authored
      This pull request brings in overlay plane support for vc4.
      
      * tag 'drm-vc4-next-2016-02-17' of github.com:anholt/linux:
        drm/vc4: Add support for YUV planes.
        drm/vc4: Add support a few more RGB display plane formats.
        drm/vc4: Add support for scaling of display planes.
        drm/vc4: Fix which value is being used for source image size.
        drm/vc4: Add more display planes to each CRTC.
        drm/vc4: Make the CRTCs cooperate on allocating display lists.
        drm/vc4: Add a proper short-circut path for legacy cursor updates.
        drm/vc4: Move the plane clipping/scaling setup to a separate function.
        drm/vc4: Add missing __iomem annotation to hw_dlist.
        drm/vc4: Improve comments on vc4_plane_state members.
      9864fd76
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-next · 5263925c
      Dave Airlie authored
      First radeon and amdgpu pull request for 4.6.  Highlights:
      - ACP support for APUs with i2s audio
      - CS ioctl optimizations
      - GPU scheduler optimizations
      - GPUVM optimizations
      - Initial GPU reset support (not enabled yet)
      - New powerplay sysfs interface for manually selecting clocks
      - Powerplay fixes
      - Virtualization fixes
      - Removal of hw semaphore support
      - Lots of other misc fixes and cleanups
      
      * 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux: (118 commits)
        drm/amdgpu: Don't call interval_tree_remove in amdgpu_mn_destroy
        drm/amdgpu: Fix race condition in amdgpu_mn_unregister
        drm/amdgpu: cleanup gem init/finit
        drm/amdgpu: rework GEM info printing
        drm/amdgpu: print the GPU offset as well in gem_info
        drm/amdgpu: optionally print the pin count in gem_info as well
        drm/amdgpu: print the BO size only once in amdgpu_gem_info
        drm/amdgpu: print pid as integer
        drm/amdgpu: remove page flip work queue v3
        drm/amdgpu: stop blocking for page filp fences
        drm/amdgpu: stop calling amdgpu_gpu_reset from the flip code
        drm/amdgpu: remove fence reset detection leftovers
        drm/amdgpu: Fix race condition in MMU notifier release
        drm/radeon: Fix WARN_ON if DRM_DP_AUX_CHARDEV is enabled
        drm/amdgpu/vi: move uvd tiling config setup into uvd code
        drm/amdgpu/vi: move sdma tiling config setup into sdma code
        drm/amdgpu/cik: move uvd tiling config setup into uvd code
        drm/amdgpu/cik: move sdma tiling config setup into sdma code
        drm/amdgpu/gfx7: rework gpu_init()
        drm/amdgpu/gfx: clean up harvest configuration (v2)
        ...
      5263925c
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-02-18' of git://anongit.freedesktop.org/drm-intel into drm-next · 08244c00
      Dave Airlie authored
      Misc stuff all over:
      - more mode_fixup removal from Carlos, there's another final pile still
        left.
      - final bits of vgaswitcheroo from Lukas for apple gmux, we're still
        discussing an api cleanup patch to make it a bit more abuse-safe as a
        follow-up
      - dp aux interface for userspace for tools&tests from Rafael Antognolli
      - actual interface parts for dma-buf flushing for userspace mmap
      - few small bits all over
      
      - vgaswitcheroo support for apple gmux from Lukas Wunner
      - checks for ->mode_fixup in non-atomic helpers from Carlos Palminha, plus
        removing dummy funcs from drivers. Carlos promised to follow up with
        more, since there's lots more silly dummy functions around.
      - dma-buf patches from Tiago, except the ioctl itself (that needed a
        respin to address review from David Herrmann)
      - encoder mask for atomic from Maarten
      - bunch of random things all over.
      
      * tag 'topic/drm-misc-2016-02-18' of git://anongit.freedesktop.org/drm-intel: (57 commits)
        drm/udl: Use module_usb_driver
        drm: fixes crct set_mode when crtc mode_fixup is null.
        drm/tilcdc: removed optional dummy encoder mode_fixup function.
        drm/sti: removed optional dummy encoder mode_fixup function.
        drm/rockchip: removed optional dummy encoder mode_fixup function.
        drm/qxl: removed optional dummy encoder mode_fixup function.
        drm/mgag200: removed optional dummy encoder mode_fixup function.
        drm/msm/mdp: removed optional dummy encoder mode_fixup function.
        drm/imx: removed optional dummy encoder mode_fixup function.
        drm/gma500: removed optional dummy encoder mode_fixup function.
        drm/radeon: removed optional dummy encoder mode_fixup function.
        drm/cirrus: removed optional dummy encoder mode_fixup function.
        drm/bochs: removed optional dummy encoder mode_fixup function.
        drm/ast: removed optional dummy encoder mode_fixup function.
        drm/amdgpu: removed optional dummy encoder mode_fixup function.
        drm/exynos: removed optional dummy encoder mode_fixup function.
        drm/udl: removed optional dummy encoder mode_fixup function.
        drm/virtio: removed optional dummy encoder mode_fixup function.
        drm/fb_helper: Use add_one_connector in add_all_connectors.
        drm/fb_helper: Use correct allocation count for arrays.
        ...
      08244c00
  3. 18 Feb, 2016 2 commits
  4. 17 Feb, 2016 4 commits
  5. 16 Feb, 2016 26 commits