1. 07 7月, 2021 1 次提交
  2. 07 6月, 2021 1 次提交
  3. 02 6月, 2021 1 次提交
  4. 01 6月, 2021 1 次提交
  5. 20 5月, 2021 2 次提交
  6. 04 5月, 2021 1 次提交
    • M
      drm/i915/uapi: introduce drm_i915_gem_create_ext · ebcb4029
      Matthew Auld 提交于
      Same old gem_create but with now with extensions support. This is needed
      to support various upcoming usecases.
      
      v2:(Chris)
          - Use separate ioctl number for gem_create_ext, instead of hijacking
            the existing gem_create ioctl, otherwise we run into the issue
            with being unable to detect if the kernel supports the new extension
            behaviour.
          - We now have gem_create_ext.flags, which should be zeroed.
          - I915_GEM_CREATE_EXT_SETPARAM value is now zero, since this is the
            index into our array of extensions.
          - Setup a "vanilla" object which we can directly apply our extensions
            to.
      v3:(Daniel & Jason)
          - drop I915_GEM_CREATE_EXT_SETPARAM. Instead just have each extension
            do one thing only, instead of generic setparam which can cover
            various use cases.
          - add some kernel-doc.
      Signed-off-by: NMatthew Auld <matthew.auld@intel.com>
      Signed-off-by: NCQ Tang <cq.tang@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
      Cc: Jordan Justen <jordan.l.justen@intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Kenneth Graunke <kenneth@whitecape.org>
      Cc: Jason Ekstrand <jason@jlekstrand.net>
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: mesa-dev@lists.freedesktop.org
      Reviewed-by: NKenneth Graunke <kenneth@whitecape.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210429103056.407067-5-matthew.auld@intel.com
      ebcb4029
  7. 30 4月, 2021 1 次提交
  8. 14 4月, 2021 3 次提交
  9. 10 4月, 2021 1 次提交
  10. 02 4月, 2021 1 次提交
  11. 29 3月, 2021 1 次提交
  12. 25 3月, 2021 2 次提交
  13. 18 3月, 2021 1 次提交
  14. 14 2月, 2021 4 次提交
  15. 09 2月, 2021 1 次提交
  16. 05 2月, 2021 1 次提交
  17. 02 2月, 2021 1 次提交
  18. 29 1月, 2021 2 次提交
  19. 21 1月, 2021 1 次提交
  20. 11 1月, 2021 1 次提交
  21. 09 1月, 2021 1 次提交
  22. 05 1月, 2021 2 次提交
  23. 31 12月, 2020 1 次提交
  24. 05 12月, 2020 1 次提交
  25. 10 11月, 2020 1 次提交
  26. 06 11月, 2020 1 次提交
    • D
      drm/<drivers>: Constify struct drm_driver · 70a59dd8
      Daniel Vetter 提交于
      Only the following drivers aren't converted:
      - amdgpu, because of the driver_feature mangling due to virt support.
        Subsequent patch will address this.
      - nouveau, because DRIVER_ATOMIC uapi is still not the default on the
        platforms where it's supported (i.e. again driver_feature mangling)
      - vc4, again because of driver_feature mangling
      - qxl, because the ioctl table is somewhere else and moving that is
        maybe a bit too much, hence the num_ioctls assignment prevents a
        const driver structure.
      - arcpgu, because that is stuck behind a pending tiny-fication series
        from me.
      - legacy drivers, because legacy requires non-const drm_driver.
      
      Note that for armada I also went ahead and made the ioctl array const.
      
      Only cc'ing the driver people who've not been converted (everyone else
      is way too much).
      
      v2: Fix one misplaced const static, should be static const (0day)
      
      v3:
      - Improve commit message (Sam)
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: kernel test robot <lkp@intel.com>
      Acked-by: NMaxime Ripard <mripard@kernel.org>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: virtualization@lists.linux-foundation.org
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: nouveau@lists.freedesktop.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-5-daniel.vetter@ffwll.ch
      70a59dd8
  27. 28 10月, 2020 1 次提交
  28. 21 10月, 2020 1 次提交
    • V
      drm/i915: Reorder hpd init vs. display resume · 4c8d4651
      Ville Syrjälä 提交于
      Currently we call .hpd_irq_setup() directly just before display
      resume, and follow it with another call via intel_hpd_init()
      just afterwards. Assuming the hpd pins are marked as enabled
      during the open-coded call these two things do exactly the
      same thing (ie. enable HPD interrupts). Which even makes sense
      since we definitely need working HPD interrupts for MST sideband
      during the display resume.
      
      So let's nuke the open-coded call and move the intel_hpd_init()
      call earlier. However we need to leave the poll_init_work stuff
      behind after the display resume as that will trigger display
      detection while we're resuming. We don't want that trampling over
      the display resume process. To make this a bit more symmetric
      we turn this into a intel_hpd_poll_{enable,disable}() pair.
      So we end up with the following transformation:
      intel_hpd_poll_init() -> intel_hpd_poll_enable()
      lone intel_hpd_init() -> intel_hpd_init()+intel_hpd_poll_disable()
      .hpd_irq_setup()+resume+intel_hpd_init() -> intel_hpd_init()+resume+intel_hpd_poll_disable()
      
      If we really would like to prevent all *long* HPD processing during
      display resume we'd need some kind of software mechanism to simply
      ignore all long HPDs. Currently we appear to have that just for
      fbdev via ifbdev->hpd_suspended. Since we aren't exploding left and
      right all the time I guess that's mostly sufficient.
      
      For a bit of history on this, we first got a mechanism to block
      hotplug processing during suspend in commit 15239099 ("drm/i915:
      enable irqs earlier when resuming") on account of moving the irq enable
      earlier. This then got removed in commit 50c3dc97 ("drm/fb-helper:
      Fix hpd vs. initial config races") because the fdev initial config
      got pushed to a later point. The second ad-hoc hpd_irq_setup() for
      resume was added in commit 0e32b39c ("drm/i915: add DP 1.2 MST
      support (v0.7)") to be able to do MST sideband during the resume.
      And finally we got a partial resurrection of the hpd blocking
      mechanism in commit e8a8fedd ("drm/i915: Block fbdev HPD
      processing during suspend"), but this time it only prevent fbdev
      from handling hpd while resuming.
      
      v2: Leave the poll_init_work behind
      v3: Remove the extra intel_hpd_poll_disable() from display reset (Lyude)
          Add the missing intel_hpd_poll_disable() to display init (Imre)
      
      Cc: Lyude Paul <lyude@redhat.com>
      Cc: Imre Deak <imre.deak@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201013181137.30560-1-ville.syrjala@linux.intel.comReviewed-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NLyude Paul <lyude@redhat.com>
      4c8d4651
  29. 10 10月, 2020 3 次提交