Skip to content

Commit

Permalink
drm/amd/display: Add new GPINT command definitions
Browse files Browse the repository at this point in the history
New commands for enabling copy of DC bounding box values from VBIOS DMUB

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Aurabindo Pillai authored and Alex Deucher committed May 29, 2024
1 parent 7920af2 commit c75bfd1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
Original file line number Diff line number Diff line change
@@ -952,6 +952,37 @@ enum dmub_gpint_command {
*/
DMUB_GPINT__REPLAY_RESIDENCY = 14,

/**
* DESC: Copy bounding box to the host.
* ARGS: Version of bounding box to copy
* RETURN: Result of copying bounding box
*/
DMUB_GPINT__BB_COPY = 96,

/**
* DESC: Updates the host addresses bit48~bit63 for bounding box.
* ARGS: The word3 for the 64 bit address
*/
DMUB_GPINT__SET_BB_ADDR_WORD3 = 97,

/**
* DESC: Updates the host addresses bit32~bit47 for bounding box.
* ARGS: The word2 for the 64 bit address
*/
DMUB_GPINT__SET_BB_ADDR_WORD2 = 98,

/**
* DESC: Updates the host addresses bit16~bit31 for bounding box.
* ARGS: The word1 for the 64 bit address
*/
DMUB_GPINT__SET_BB_ADDR_WORD1 = 99,

/**
* DESC: Updates the host addresses bit0~bit15 for bounding box.
* ARGS: The word0 for the 64 bit address
*/
DMUB_GPINT__SET_BB_ADDR_WORD0 = 100,

/**
* DESC: Updates the trace buffer lower 32-bit mask.
* ARGS: The new mask

0 comments on commit c75bfd1

Please sign in to comment.