Skip to content

Conversation

@hlaccabu
Copy link
Contributor

No description provided.

@hlaccabu hlaccabu requested review from Copilot and xdavidz January 30, 2026 22:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Quality of Service (QoS) and hardware context configuration support for the AIE4 platform by introducing new IOCTL parameters for scheduling, DPM (Dynamic Power Management), and priority band configuration.

Changes:

  • Added new structures for scheduling and DPM configuration parameters in the UAPI header
  • Extended the hardware context configuration IOCTL to support priority band, scheduling, and DPM parameter types
  • Implemented AIE4-specific handlers for the new configuration types

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/include/uapi/drm_local/amdxdna_accel.h Defines new structures for scheduling and DPM configuration and adds three new config type constants
src/driver/amdxdna/amdxdna_ctx.c Updates IOCTL handler to route new parameter types appropriately based on whether they use pointer or value semantics
src/driver/amdxdna/aie4_hwctx.c Implements three new configuration functions for priority band, scheduling, and DPM settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Hayden Laccabue <hlaccabu@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant