Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • gpu
  • drm
  • i915
  • intel_ringbuffer.h
Find file BlameHistoryPermalink
  • Tvrtko Ursulin's avatar
    drm/i915: Consolidate checks for engine stats availability · cf669b4e
    Tvrtko Ursulin authored Nov 29, 2017
    
    
    Sagar noticed the check can be consolidated between the engine stats
    implementation and the PMU.
    
    My first choice was a static inline helper but that got into include
    ordering mess quickly fast so I went with a macro instead. At some point
    we should perhaps looking into taking out the non-ringubffer bits from
    intel_ringbuffer.h into a new intel_engine.h or something.
    
    v2: Use engine->flags. (Chris Wilson)
    v3: Rebase and mark GuC as not yet supported. (Chris Wilson)
    v4: Move flag setting to intel_engines_reset_default_submission.
        (Chris Wilson)
    v5: Move flag setting to logical_ring_setup.
    v6: intel_engines_reset_default_submission is the wrong place to set the
        flag - it needs to be in execlists_set_default_submission. (Sagar)
    v7: Flag setting in logical_ring_setup is not required. (Chris)
    
    Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
    Suggested-by: default avatarSagar Arun Kamble <sagar.a.kamble@intel.com>
    Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
    Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com> (v6)
    Link: https://patchwork.freedesktop.org/patch/msgid/20171129102805.22690-1-tvrtko.ursulin@linux.intel.com
    cf669b4e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7