1. 21 Apr, 2016 5 commits
    • Dave Airlie's avatar
      Merge tag 'v4.6-rc3' into drm-next · 49047962
      Dave Airlie authored
      Backmerge 4.6-rc3 for i915.
      
      Linux 4.6-rc3
      49047962
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-04-21' of git://anongit.freedesktop.org/drm-intel into drm-next · d57d4773
      Dave Airlie authored
      misc pull req all over. Biggest thing is the
      drm_connector_(un)register_all cleanup from Alexey for drivers without the
      load/unload midlayer hooks. I.e. all the new ones, and a bunch of the
      pending new atomic drivers depend upon this. Or at least I asked them to
      rebase ;-)
      
      * tag 'topic/drm-misc-2016-04-21' of git://anongit.freedesktop.org/drm-intel:
        drm: Make drm.debug parameter description more helpful
        drm: Remove warning from drm_connector_unregister_all()
        drm: probe_helper: Hide ugly ifdef
        drm: rcar-du: Use generic drm_connector_register_all() helper
        drm: atmel_hldc: Use generic drm_connector_register_all() helper
        drm: Introduce drm_connector_register_all() helper
        drm: fix lut value extraction function
        drm/atomic-helper: Print an error if vblank wait times out
        drm/dp/mst: Restore primary hub guid on resume
        drm: Release driver references to handle before making it available again
        drm/i915/dp/mst: Add source port info to debugfs output
        drm/dp/mst: Enhance DP MST debugfs output
        drm/edid: Add drm_edid_get_monitor_name()
        include/drm: Reword debug categories comment.
        drm/crtc_helper: Reset empty plane state in drm_helper_crtc_mode_set_base()
        drm/virtio: Drop dummy gamma table support
        drm/bochs: Drop fake gamma support
        drm/core: Fix ordering in drm_mode_config_cleanup.
      d57d4773
    • Dave Airlie's avatar
      Merge tag 'topic/struct_mutex-2016-04-21' of git://anongit.freedesktop.org/drm-intel into drm-next · f230ffa1
      Dave Airlie authored
      struct_mutex cleanups and error paths fixes. Unfortunately I didn't manage
      to get acks from everyone, but this stuff has been hanging out for months
      now and imo simple enough to just land the remaining few patches. But
      separate pull request so that you can take a look yourself.
      
      * tag 'topic/struct_mutex-2016-04-21' of git://anongit.freedesktop.org/drm-intel:
        drm/vma_manage: Drop has_offset
        drm/vgem: Drop dev->struct_mutex
        drm/vgem: Move get_pages to gem_create
        drm/vgem: Simplify dumb_map
        drm/exynos: drop struct_mutex from fbdev setup
        drm/exynos: drop struct_mutex from exynos_drm_gem_get_ioctl
        drm/exynos: drop struct_mutex from exynos_gem_map_sgt_with_dma
        drm/exynos: Drop dev->struct_mutex from mmap offset function
        drm/nouveau: Drop dev->struct_mutex from fbdev init
        drm/qxl: Use unlocked gem unreferencing
        drm/omapdrm: Use unlocked gem unreferencing
        drm/nouveau: Use unlocked gem unreferencing
      f230ffa1
    • Ezequiel Garcia's avatar
      drm: Make drm.debug parameter description more helpful · 6dc3e22e
      Ezequiel Garcia authored
      Let's be user-friendly and print an actually helpful parameter
      description.
      
      This makes modinfo output the debug parameter like this:
      
      parm:           debug:Enable debug output, where each bit enables a debug category.
      		Bit 0 (0x01) will enable CORE messages (drm core code)
      		Bit 1 (0x02) will enable DRIVER messages (drm controller code)
      		Bit 2 (0x04) will enable KMS messages (modesetting code)
      		Bit 3 (0x08) will enable PRIME messages (prime code)
      		Bit 4 (0x10) will enable ATOMIC messages (atomic code)
      		Bit 5 (0x20) will enable VBL messages (vblank code) (int)
      
      Changes from v1:
      
        * Fixed s/PRMIE/PRIME typo.
        * Add ATOMIC and VBL debug parameter documentation.
        * Prefix the continuation lines with two tabs and
          removed the last new line.
        * Remove spurious whitespace.
      Signed-off-by: default avatarEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461170703-11216-1-git-send-email-ezequiel@vanguardiasur.com.ar
      6dc3e22e
    • Laurent Pinchart's avatar
      drm: Remove warning from drm_connector_unregister_all() · 14ba0031
      Laurent Pinchart authored
      Commit 6c87e5c3 ("drm: Rename drm_connector_unplug_all() to
      drm_connector_unregister_all()") replaced a manual connectors list walk
      in drm_connector_unregister_all() with drm_for_each_connector(). The
      list was walked without the mode config mutex locked as that ends up in
      a clash with sysfs, but drm_connector_unregister_all() warns when the
      mutex isn't locked.
      
      The problem is known and doesn't require a large warning every time
      drm_connector_unregister_all() is called. Fix it by reverting to manual
      list walk.
      
      Fixes: 6c87e5c3 ("drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()")
      Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1461190874-32674-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com
      14ba0031
  2. 20 Apr, 2016 17 commits
  3. 18 Apr, 2016 1 commit
  4. 15 Apr, 2016 5 commits
  5. 14 Apr, 2016 3 commits
  6. 12 Apr, 2016 3 commits
  7. 11 Apr, 2016 4 commits
  8. 10 Apr, 2016 1 commit
    • Linus Torvalds's avatar
      Revert "ext4: allow readdir()'s of large empty directories to be interrupted" · 9f2394c9
      Linus Torvalds authored
      This reverts commit 1028b55b.
      
      It's broken: it makes ext4 return an error at an invalid point, causing
      the readdir wrappers to write the the position of the last successful
      directory entry into the position field, which means that the next
      readdir will now return that last successful entry _again_.
      
      You can only return fatal errors (that terminate the readdir directory
      walk) from within the filesystem readdir functions, the "normal" errors
      (that happen when the readdir buffer fills up, for example) happen in
      the iterorator where we know the position of the actual failing entry.
      
      I do have a very different patch that does the "signal_pending()"
      handling inside the iterator function where it is allowable, but while
      that one passes all the sanity checks, I screwed up something like four
      times while emailing it out, so I'm not going to commit it today.
      
      So my track record is not good enough, and the stars will have to align
      better before that one gets committed.  And it would be good to get some
      review too, of course, since celestial alignments are always an iffy
      debugging model.
      
      IOW, let's just revert the commit that caused the problem for now.
      Reported-by: default avatarGreg Thelen <gthelen@google.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9f2394c9
  9. 09 Apr, 2016 1 commit
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 5b5b7fd1
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
       "Since commit 0de79858 ("parisc: Use generic extable search and
        sort routines") module loading is boken on parisc, because the parisc
        module loader wasn't prepared for the new R_PARISC_PCREL32 relocations.
      
        In addition, due to that breakage, Mikulas Patocka noticed that
        handling exceptions from modules probably never worked on parisc.  It
        was just masked by the fact that exceptions from modules don't happen
        during normal use.
      
        This patch series fixes those issues and survives the tests of the
        lib/test_user_copy kernel module test.  Some patches are tagged for
        stable"
      
      * 'parisc-4.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Update comment regarding relative extable support
        parisc: Unbreak handling exceptions from kernel modules
        parisc: Fix kernel crash with reversed copy_from_user()
        parisc: Avoid function pointers for kernel exception routines
        parisc: Handle R_PARISC_PCREL32 relocations in kernel modules
      5b5b7fd1