Commit a021e2aa authored by André Almeida's avatar André Almeida Committed by Alex Deucher
Browse files

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: default avatarAndré Almeida <andrealmeid@igalia.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e7611596
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -333,11 +333,11 @@ struct amdgpu_gfx {

	/* gfx off */
	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 */
	struct delayed_work             gfx_off_delay_work;
	uint32_t                        gfx_off_residency;
	uint64_t                        gfx_off_entrycount;
	struct delayed_work             gfx_off_delay_work; /* async work to set gfx block off */
	uint32_t                        gfx_off_residency;  /* last logged residency */
	uint64_t                        gfx_off_entrycount; /* count of times GPU has get into GFXOFF state */

	/* pipe reservation */
	struct mutex			pipe_reserve_mutex;