提交 a021e2aa 编写于 作者: A André Almeida 提交者: Alex Deucher

drm/amdgpu: Document gfx_off members of struct amdgpu_gfx

Add comments to document gfx_off related members of struct amdgpu_gfx.
Signed-off-by: NAndré Almeida <andrealmeid@igalia.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 e7611596
...@@ -332,12 +332,12 @@ struct amdgpu_gfx { ...@@ -332,12 +332,12 @@ struct amdgpu_gfx {
uint32_t srbm_soft_reset; uint32_t srbm_soft_reset;
/* gfx off */ /* gfx off */
bool gfx_off_state; /* true: enabled, false: disabled */ bool gfx_off_state; /* true: enabled, false: disabled */
struct mutex gfx_off_mutex; struct mutex gfx_off_mutex; /* mutex to change gfxoff state */
uint32_t gfx_off_req_count; /* default 1, enable gfx off: dec 1, disable gfx off: add 1 */ uint32_t gfx_off_req_count; /* default 1, enable gfx off: dec 1, disable gfx off: add 1 */
struct delayed_work gfx_off_delay_work; struct delayed_work gfx_off_delay_work; /* async work to set gfx block off */
uint32_t gfx_off_residency; uint32_t gfx_off_residency; /* last logged residency */
uint64_t gfx_off_entrycount; uint64_t gfx_off_entrycount; /* count of times GPU has get into GFXOFF state */
/* pipe reservation */ /* pipe reservation */
struct mutex pipe_reserve_mutex; struct mutex pipe_reserve_mutex;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册