Quellcode durchsuchen

drm/amdgpu: move missed gfxoff entry into amdgpu_gfx header

Move missed gfxoff entry to amdgpu_gfx.h.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Huang Rui vor 7 Jahren
Ursprung
Commit
c2d358d724
2 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 0 1
      drivers/gpu/drm/amd/amdgpu/amdgpu.h
  2. 1 0
      drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h

+ 0 - 1
drivers/gpu/drm/amd/amdgpu/amdgpu.h

@@ -1247,7 +1247,6 @@ void amdgpu_device_program_register_sequence(struct amdgpu_device *adev,
 					     const u32 array_size);
 
 bool amdgpu_device_is_px(struct drm_device *dev);
-void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable);
 /* atpx handler */
 #if defined(CONFIG_VGA_SWITCHEROO)
 void amdgpu_register_atpx_handler(void);

+ 1 - 0
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h

@@ -356,5 +356,6 @@ void amdgpu_gfx_bit_to_queue(struct amdgpu_device *adev, int bit,
 			     int *mec, int *pipe, int *queue);
 bool amdgpu_gfx_is_mec_queue_enabled(struct amdgpu_device *adev, int mec,
 				     int pipe, int queue);
+void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable);
 
 #endif