Skip to content
  1. Feb 24, 2017
    • Noralf Trønnes's avatar
      drm/tinydrm: mipi-dbi: Fix field width specifier warning · ce8c0137
      Noralf Trønnes authored
      
      
      This warning is seen on 64-bit builds in functions:
         'mipi_dbi_typec1_command':
         'mipi_dbi_typec3_command_read':
         'mipi_dbi_typec3_command':
      
      >> drivers/gpu/drm/tinydrm/mipi-dbi.c:65:20: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
            DRM_DEBUG_DRIVER("cmd=%02x, par=%*ph\n", cmd, len, data); \
                             ^
         include/drm/drmP.h:228:40: note: in definition of macro 'DRM_DEBUG_DRIVER'
           drm_printk(KERN_DEBUG, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
                                                 ^~~
      >> drivers/gpu/drm/tinydrm/mipi-dbi.c:671:2: note: in expansion of macro 'MIPI_DBI_DEBUG_COMMAND'
           MIPI_DBI_DEBUG_COMMAND(cmd, parameters, num);
           ^~~~~~~~~~~~~~~~~~~~~~
      
      Fix by casting 'len' to int in the macro MIPI_DBI_DEBUG_COMMAND().
      There is no chance of overflow.
      
      Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      ce8c0137
    • Noralf Trønnes's avatar
      drm/tinydrm: mipi-dbi: Silence: ‘cmd’ may be used uninitialized · b401f343
      Noralf Trønnes authored
      
      
      Fix this warning:
      drivers/gpu/drm/tinydrm/mipi-dbi.c: In function ‘mipi_dbi_debugfs_command_write’:
      drivers/gpu/drm/tinydrm/mipi-dbi.c:905:8: warning: ‘cmd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        ret = mipi_dbi_command_buf(mipi, cmd, parameters, i);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      cmd can't be used uninitialized, but to satisfy the compiler,
      initialize it to zero.
      
      Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      b401f343
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux into drm-next · 1e8ad3d8
      Dave Airlie authored
      Some ttm/amd fixes.
      
      * 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux:
        drm/amd/powerplay: fix PSI feature on Polars12.
        drm/amdgpu: refuse to reserve io mem for split VRAM buffers
        drm/ttm: fix use-after-free races in vm fault handling
        drm/amd/amdgpu: post card if there is real hw resetting performed
      1e8ad3d8
    • Dave Airlie's avatar
      Merge tag 'drm/panel/for-4.11-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 894ebc41
      Dave Airlie authored
      drm/panel: Changes for v4.11-rc1
      
      This set contains a couple of cleanups as well as support for a few more
      simple panels.
      
      * tag 'drm/panel/for-4.11-rc1' of git://anongit.freedesktop.org/tegra/linux:
        drm/panel: simple: Specify bus width and flags for EDT displays
        drm/panel: simple: Add Netron DY E231732
        of: Add vendor prefix for Netron DY
        drm/panel: simple: Add support for Tianma TM070JDHG30
        of: Add vendor prefix for Tianma Micro-electronics
        drm/panel: simple: Add support BOE NV101WXMN51
        dt-bindings: display: Add BOE NV101WXMN51 panel binding
        drm/panel: Constify device node argument to of_drm_find_panel()
      894ebc41
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-4.11-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next · 84f7174b
      Dave Airlie authored
      drm/tegra: Changes for v4.11-rc1
      
      Just a single change that hooks up the Tegra DRM parent device to the
      correct device tree node.
      
      * tag 'drm/tegra/for-4.11-rc1' of git://anongit.freedesktop.org/tegra/linux:
        gpu: host1x: Set OF node for new host1x devices
      84f7174b
  2. Feb 23, 2017
  3. Feb 22, 2017
  4. Feb 19, 2017
  5. Feb 18, 2017
    • Jim Qu's avatar
      drm/amd/amdgpu: post card if there is real hw resetting performed · c836fec5
      Jim Qu authored
      
      
      Check whether we need to post rather than whether the asic is
      posted.  There are some cases (e.g., GPU reset or resume from
      hibernate) where we need to force post even if the asic has
      been posted.
      
      Signed-off-by: default avatarJim Qu <Jim.Qu@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      c836fec5
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2017-02-17' of... · 601109c5
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2017-02-17' of git://anongit.freedesktop.org/git/drm-intel into drm-next
      
      i915 and GVT fixes for v4.11 merge window
      
      * tag 'drm-intel-next-fixes-2017-02-17' of git://anongit.freedesktop.org/git/drm-intel: (32 commits)
        drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
        drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()
        drm/i915/gvt: Disable access to stolen memory as a guest
        drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
        drm/i915: Check for timeout completion when waiting for the rq to submitted
        drm/i915: A hotfix for making aliasing PPGTT work for GVT-g
        drm/i915: Restore context and pd for ringbuffer submission after reset
        drm/i915: Let execlist_update_context() cover !FULL_PPGTT mode.
        drm/i915/lspcon: Fix resume time initialization due to unasserted HPD
        drm/i915/gen9+: Enable hotplug detection early
        drm/i915: Reject set-tiling-ioctl with stride==0 and a tiling mode
        drm/i915: Recreate internal objects with single page segments if dmar fails
        drm/i915/gvt: return error code if dma map iova failed
        drm/i915/gvt: optimize the inhibit context mmio load
        drm/i915/gvt: add sprite plane flip done support.
        drm/i915/gvt: add missing display part reset for vGPU reset
        drm/i915/gvt: Fix shadow context descriptor
        drm/i915/gvt: Fix alignment for GTT allocation
        drm/i915/gvt: fix crash at function release_shadow_wa_ctx
        drm/i915/gvt: enable IOMMU for gvt
        ...
      601109c5
  6. Feb 17, 2017