1. 08 4月, 2015 1 次提交
  2. 03 4月, 2015 16 次提交
  3. 24 3月, 2015 1 次提交
  4. 03 3月, 2015 3 次提交
  5. 26 2月, 2015 1 次提交
    • H
      [media] media.h: mark alsa struct in media_entity_desc as TODO · 7e182f78
      Hans Verkuil 提交于
      The alsa struct in struct media_entity_desc is now marked as deprecated.
      However, the alsa struct should remain as it is since it cannot be replaced
      by a simple major/minor device node description. The alsa struct was designed
      to be used as an alsa card description so V4L2 drivers could use this to expose
      the alsa card that they create to carry the captured audio. Such a card is not
      just a PCM device, but also needs to contain the alsa subdevice information,
      and it may map to multiple devices, e.g. a PCM and a mixer device, such as the
      au0828 usb stick creates.
      
      This is exactly as intended and this cannot and should not be replaced by a
      simple major/minor.
      
      However, whether this information is in the right form for an ALSA device such
      that it can handle udev renaming rules as well is another matter. So mark this
      alsa struct as TODO and document the problems involved.
      
      Updated the documentation as well to reflect this and to add the 'major'
      and 'minor' field documentation.
      
      Updated the documentation to clearly state that struct dev is to be used for
      (sub-)devices that create a single device node. Other devices need their own
      structure here.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7e182f78
  6. 20 2月, 2015 1 次提交
  7. 17 2月, 2015 1 次提交
  8. 14 2月, 2015 3 次提交
  9. 05 2月, 2015 2 次提交
  10. 04 2月, 2015 1 次提交
  11. 02 2月, 2015 1 次提交
  12. 30 1月, 2015 1 次提交
  13. 29 1月, 2015 1 次提交
  14. 28 1月, 2015 1 次提交
  15. 14 1月, 2015 1 次提交
  16. 13 1月, 2015 1 次提交
    • M
      drm/i915: Move to atomic plane helpers (v9) · ea2c67bb
      Matt Roper 提交于
      Switch plane handling to use the atomic plane helpers.  This means that
      rather than provide our own implementations of .update_plane() and
      .disable_plane(), we expose the lower-level check/prepare/commit/cleanup
      entrypoints and let the DRM core implement update/disable for us using
      those entrypoints.
      
      The other main change that falls out of this patch is that our
      drm_plane's will now always have a valid plane->state that contains the
      relevant plane state (initial state is allocated at plane creation).
      The base drm_plane_state pointed to holds the requested source/dest
      coordinates, and the subclassed intel_plane_state holds the adjusted
      values that our driver actually uses.
      
      v2:
       - Renamed file from intel_atomic.c to intel_atomic_plane.c (Daniel)
       - Fix a copy/paste comment mistake (Bob)
      
      v3:
       - Use prepare/cleanup functions that we've already factored out
       - Use newly refactored pre_commit/commit/post_commit to avoid sleeping
         during vblank evasion
      
      v4:
       - Rebase to latest di-nightly requires adding an 'old_state' parameter
         to atomic_update;
      
      v5:
       - Must have botched a rebase somewhere and lost some work.  Restore
         state 'dirty' flag to let begin/end code know which planes to
         run the pre_commit/post_commit hooks for.  This would have actually
         shown up as broken in the next commit rather than this one.
      
      v6:
       - Squash kerneldoc patch into this one.
       - Previous patches have now already taken care of most of the
         infrastructure that used to be in this patch.  All we're adding here
         now is some thin wrappers.
      
      v7:
       - Check return of intel_plane_duplicate_state() for allocation
         failures.
      
      v8:
       - Drop unused drm_plane_state -> intel_plane_state cast.  (Ander)
       - Squash in actual transition to plane helpers.  Significant
         refactoring earlier in the patchset has made the combined
         prep+transition much easier to swallow than it was in earlier
         iterations. (Ander)
      
      v9:
       - s/track_fbs/disabled_planes/ in the atomic crtc flags.  The only fb's
         we need to update frontbuffer tracking for are those on a plane about
         to be disabled (since the atomic helpers never call prepare_fb() when
         disabling a plane), so the new name more accurately describes what
         we're actually tracking.
      
      Testcase: igt/kms_plane
      Testcase: igt/kms_universal_plane
      Testcase: igt/kms_cursor_crc
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NAnder Conselvan de Oliveira <conselvan2@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      ea2c67bb
  17. 06 1月, 2015 1 次提交
  18. 05 1月, 2015 3 次提交