drm/amdgpu: set max df perfmon to 4
Subsystems (2)
PATCH 1/1 drm/amdgpu: set max df perfmon to 4
fixed df permon to 4 and remove not needed ret
Change-Id: Ia9897612937e652e7f8a09c1d23bb1c0e6f3d8f7
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -1
@@ -732,7 +732,7 @@ struct amd_powerplay { };#define AMDGPU_RESET_MAGIC_NUM 64 -#define AMDGPU_MAX_DF_PERFMONS 16 +#define AMDGPU_MAX_DF_PERFMONS 4struct amdgpu_device {struct device *dev;struct drm_device *ddev;
drivers/gpu/drm/amd/amdgpu/soc15.c +0 -1
@@ -1067,7 +1067,6 @@ static void soc15_doorbell_range_init(struct amdgpu_device *adev)static int soc15_common_hw_init (void *handle) {struct amdgpu_device *adev = (struct amdgpu_device *)handle; -int ret;/* enable pcie gen2/3 link */ soc15_pcie_gen3_enable (adev);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190620051811.118880-1-jonathan.kim-5C7GfCeVMHo@public.gmane.org
Kuehling, Felix
Reviewed-by Felix KuehlingReviewed-by Felix Kuehling <[email protected]>
Quoted 26 lines · Jonathan
fixed df permon to 4 and remove not needed ret
Change-Id: Ia9897612937e652e7f8a09c1d23bb1c0e6f3d8f7
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-1@@ -732,7 +732,7 @@ struct amd_powerplay { };#define AMDGPU_RESET_MAGIC_NUM 64 -#define AMDGPU_MAX_DF_PERFMONS 16 +#define AMDGPU_MAX_DF_PERFMONS 4struct amdgpu_device {struct device *dev;struct drm_device *ddev;drivers/gpu/drm/amd/amdgpu/soc15.c +0
-0
drivers/gpu/drm/amd/amdgpu/soc15.c static void soc15_doorbell_range_init(struct amdgpu_device *adev) · line 1072
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/soc15.c +0
-1@@ -1067,7 +1067,6 @@ static void soc15_doorbell_range_init(struct amdgpu_device *adev)static int soc15_common_hw_init (void *handle) {struct amdgpu_device *adev = (struct amdgpu_device *)handle; -int ret;/* enable pcie gen2/3 link */ soc15_pcie_gen3_enable (adev);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx