Skip to content
  1. Feb 16, 2018
  2. Feb 02, 2018
  3. Feb 01, 2018
    • Daniel Vetter's avatar
      drm/ast: Load lut in crtc_commit · 24b8ef69
      Daniel Vetter authored
      In the past the ast driver relied upon the fbdev emulation helpers to
      call ->load_lut at boot-up. But since
      
      commit b8e2b019
      Author: Peter Rosin <peda@axentia.se>
      Date:   Tue Jul 4 12:36:57 2017 +0200
      
          drm/fb-helper: factor out pseudo-palette
      
      that's cleaned up and drivers are expected to boot into a consistent
      lut state. This patch fixes that.
      
      Fixes: b8e2b019
      
       ("drm/fb-helper: factor out pseudo-palette")
      Cc: Peter Rosin <peda@axenita.se>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: <stable@vger.kernel.org> # v4.14+
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=198123
      Cc: Bill Fraser <bill.fraser@gmail.com>
      Reported-and-Tested-by: default avatarBill Fraser <bill.fraser@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      24b8ef69
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2018-01-31' of... · 7ec3c095
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2018-01-31' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      This contains a fix to restrict what lessee can do with masters and
      another one when waiting for timeouts on reservation objects.
      
      * tag 'drm-misc-next-fixes-2018-01-31' of git://anongit.freedesktop.org/drm/drm-misc:
        drm: Check for lessee in DROP_MASTER ioctl
        dma-buf: fix reservation_object_wait_timeout_rcu once more v2
      7ec3c095
  4. Jan 31, 2018
    • Keith Packard's avatar
      drm: Check for lessee in DROP_MASTER ioctl · 761e05a7
      Keith Packard authored
      
      
      Don't let a lessee control what the current DRM master is set to;
      that's the job of the "real" master. Otherwise, the lessee would
      disable all access to master operations for the owner and all lessees
      under it.
      
      This matches the same check made in the SET_MASTER ioctl.
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Fixes: 2ed077e4
      
       ("drm: Add drm_object lease infrastructure [v5]")
      Cc: <stable@vger.kernel.org> # v4.15+
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180119015159.1606-1-keithp@keithp.com
      761e05a7
  5. Jan 25, 2018
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2018-01-18' of... · 559f17be
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2018-01-18' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      Fixes for 4.16:
      
      Fixes one Kconfig issue and a enable some panels to work properly.
      There is also a fix of error code return in sun4i.
      
      * tag 'drm-misc-next-fixes-2018-01-18' of git://anongit.freedesktop.org/drm/drm-misc:
        drm: Fix PANEL_ORIENTATION_QUIRKS breaking the Kconfig DRM menuconfig
        drm/panel: lvds: Handle the optional regulator case properly
        drm/sun4i: Fix error code in sun4i_tcon_bind()
      559f17be
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-next · 22bc72c8
      Dave Airlie authored
       A few more fixes for 4.16, nothing major.
      
      A few more fixes for 4.16.  This is on top of the pull request from
      last week.  Most notable change here is a fix to the link order for
      the now separate from amdgpu GPU scheduler to fix crashes when the
      modules are build into the kernel rather than as modules.
      
      * 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux:
        drm: fix gpu scheduler link order
        drm/amd/display: Demote error print to debug print when ATOM impl missing
        drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
        drm/amd/amdgpu: Add Polaris version check
        drm/amdgpu: Reenable manual GPU reset from sysfs
        drm/amdgpu: disable MMHUB power gating on raven
        drm/ttm: Don't unreserve swapped BOs that were previously reserved
        drm/ttm: Don't add swapped BOs to swap-LRU list
        drm/amdgpu: only check for ECC on Vega10
        drm/amd/powerplay: Fix smu_table_entry.handle type
        drm/ttm: add VADDR_FLAG_UPDATED_COUNT to correctly update dma_page global count
        drm/radeon: fill in rb backend map on evergreen/ni.
        drm/amdgpu/gfx9: fix ngg enablement to clear gds reserved memory (v2)
        drm/ttm: only free pages rather than update global memory count together
        drm/amdgpu: fix CPU based VM updates
        drm/amdgpu: fix typo in amdgpu_vce_validate_bo
        drm/amdgpu: fix amdgpu_vm_pasid_fault_credit
        drm/ttm: check the return value of register_shrinker
        drm/radeon: fix sparse warning: Should it be static?
      22bc72c8
    • Christian König's avatar
      drm: fix gpu scheduler link order · 87440329
      Christian König authored
      
      
      It should initialize before the drivers using it.
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104736
      Reviewed-by: default avatarMike Lothian <mike@fireburn.co.uk>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      87440329
    • Harry Wentland's avatar
      drm/amd/display: Demote error print to debug print when ATOM impl missing · 30305f58
      Harry Wentland authored
      
      
      I assumed wrongfully that all relevant functions should be implemented.
      Apparently this isn't the case. Demote the print to debug level for now.
      
      Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
      Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
      Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      30305f58
  6. Jan 23, 2018
  7. Jan 20, 2018
  8. Jan 19, 2018
  9. Jan 18, 2018
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-fixes-2018-01-15' of... · 92eb5f0c
      Dave Airlie authored
      Merge tag 'drm-amdkfd-next-fixes-2018-01-15' of git://people.freedesktop.org/~gabbayo/linux into drm-next
      
      - fix NULL pointer dereference
      - fix compiler warning on large define values
      - remove unnecessary call to execute_queues_cpsch
      
      * tag 'drm-amdkfd-next-fixes-2018-01-15' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: Fix potential NULL pointer dereferences
        drm/amdkfd: add ull suffix to 64bit defines
        drm/amdkfd: don't always call execute_queues_cpsch()
        drm/amdkfd: Fix return value 0 when execute_queues_cpsch fails
      92eb5f0c
    • Dave Airlie's avatar
      BackMerge tag 'v4.15-rc8' into drm-next · 4a6cc7a4
      Dave Airlie authored
      Linux 4.15-rc8
      
      Daniel requested this for so the intel CI won't fall over on drm-next
      so often.
      4a6cc7a4
  10. Jan 17, 2018
    • Hans de Goede's avatar
      drm: Fix PANEL_ORIENTATION_QUIRKS breaking the Kconfig DRM menuconfig · 341a0ffc
      Hans de Goede authored
      All Kconfig menu menu entries should have a depends on MENU_OPTION, the
      menu stops after the first Kconfig entry without this depends on.
      
      Since the PANEL_ORIENTATION_QUIRKS option is also used outside of DRM,
      it deliberately does not have a depends on DRM, but this causes all
      items after it to show as separate items rather then under the DRM
      menuconfig.
      
      This commit moves PANEL_ORIENTATION_QUIRKS to the end of the drm Kconfig
      file, grouping it with DRM_LIB_RANDOM which also does not depend on DRM,
      fixing the DRM menuconfig.
      
      Fixes: 404d1a3e
      
       ("drm: Add panel orientation quirks, v6.")
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reported-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180117081032.6411-1-hdegoede@redhat.com
      341a0ffc