drm/amdgpu: remove program of lbpw for renoir
authorAaron Liu <aaron.liu@amd.com>
Mon, 16 Sep 2019 01:26:28 +0000 (09:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 20:28:57 +0000 (15:28 -0500)
These is no LBPW on Renoir. So removing program of lbpw for renoir.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index 71fab29..f4e19b2 100644 (file)
@@ -1650,7 +1650,6 @@ static int gfx_v9_0_rlc_init(struct amdgpu_device *adev)
 
        switch (adev->asic_type) {
        case CHIP_RAVEN:
-       case CHIP_RENOIR:
                gfx_v9_0_init_lbpw(adev);
                break;
        case CHIP_VEGA20:
@@ -3026,7 +3025,6 @@ static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev)
 
        switch (adev->asic_type) {
        case CHIP_RAVEN:
-       case CHIP_RENOIR:
                if (amdgpu_lbpw == 0)
                        gfx_v9_0_enable_lbpw(adev, false);
                else