1. 12 Oct, 2016 1 commit
    • Grazvydas Ignotas's avatar
      drm/amdgpu: use .early_unregister hook to remove DP AUX i2c · 40492f60
      Grazvydas Ignotas authored
      When DisplayPort AUX channel i2c adapter is registered, drm_connector's
      kdev member is used as a parent, so we get sysfs structure like:
        /drm/card1/card1-DP-2/i2c-12
      Because of that, there is a problem when drm core (and not the driver)
      calls drm_connector_unregister(), it removes parent sysfs entries
      ('card1-DP-2' in our example) while the i2c adapter is still registered.
      Later we get a WARN when we try to unregister the i2c adapter:
      
        WARNING: CPU: 3 PID: 1374 at fs/sysfs/group.c:243 sysfs_remove_group+0x14c/0x150
        sysfs group ffffffff82911e40 not found for kobject 'i2c-12'
      
      To fix it, we can use the .early_unregister hook to unregister the i2c
      adapter before drm_connector's sysfs is torn down.
      Signed-off-by: default avatarGrazvydas Ignotas <notasas@gmail.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      40492f60
  2. 11 Oct, 2016 2 commits
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-10-11' of git://anongit.freedesktop.org/drm-intel into drm-next · 69405d3d
      Dave Airlie authored
      Just flushing out my -misc queue. Slightly important are the prime
      refcount/unload fixes from Chris.
      
      There's also the reservation stuff from Chris still pending, and Sumits
      hasn't landed that yet. Might get another pull for that, but pls don't
      hold up the main pull for it ;-)
      
      * tag 'topic/drm-misc-2016-10-11' of git://anongit.freedesktop.org/drm-intel:
        drm/crtc: constify drm_crtc_index parameter
        drm: use the right function name in documentation
        drm: Release resources with a safer function
        drm: Fix up kerneldoc for new drm_gem_dmabuf_export()
        drm/bridge: Drop drm_connector_unregister and call drm_connector_cleanup directly
        drm/fb-helper: fix sphinx markup for DRM_FB_HELPER_DEFAULT_OPS
        drm/bridge: Add RGB to VGA bridge support
        drm/prime: Take a ref on the drm_dev when exporting a dma_buf
        drm/prime: Pass the right module owner through to dma_buf_export()
        drm/bridge: Call drm_connector_cleanup directly
        drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks
        drm: Release resources with a safer function
      69405d3d
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2016-10-11' of... · 28da9ed6
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2016-10-11' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      A big bunch of i915 fixes for drm-next / v4.9 merge window, with more
      than half of them also cc: stable. We also continue to have more Fixes:
      annotations for our fixes, which should help the backporters and
      archeologists.
      
      * tag 'drm-intel-next-fixes-2016-10-11' of git://anongit.freedesktop.org/drm-intel: (27 commits)
        drm/i915: Fix conflict resolution from backmerge of v4.8-rc8 to drm-next
        drm/i915/guc: Unwind GuC workqueue reservation if request construction fails
        drm/i915: Reset the breadcrumbs IRQ more carefully
        drm/i915: Force relocations via cpu if we run out of idle aperture
        drm/i915: Distinguish last emitted request from last submitted request
        drm/i915: Allow DP to work w/o EDID
        drm/i915: Move long hpd handling into the hotplug work
        drm/i915/execlists: Reinitialise context image after GPU hang
        drm/i915: Use correct index for backtracking HUNG semaphores
        drm/i915: Unalias obj->phys_handle and obj->userptr
        drm/i915: Just clear the mmiodebug before a register access
        drm/i915/gen9: only add the planes actually affected by ddb changes
        drm/i915: Allow PCH DPLL sharing regardless of DPLL_SDVO_HIGH_SPEED
        drm/i915/bxt: Fix HDMI DPLL configuration
        drm/i915/gen9: fix the watermark res_blocks value
        drm/i915/gen9: fix plane_blocks_per_line on watermarks calculations
        drm/i915/gen9: minimum scanlines for Y tile is not always 4
        drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
        drm/i915/kbl: KBL also needs to run the SAGV code
        drm/i915: introduce intel_has_sagv()
        ...
      28da9ed6
  3. 10 Oct, 2016 37 commits