diff options
| author | Dave Airlie <airlied@redhat.com> | 2019-07-03 21:17:23 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2019-07-03 21:17:23 -0400 |
| commit | 5ee5d30a814d1310276cc023df1cf503d4c8d10f (patch) | |
| tree | f9ecf9b8c33b315b40492ecdb84058443af1abec /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
| parent | c84c9029d782a3a0d2a7f0522ecb907314d43e2c (diff) | |
| parent | 25f09f858835b0e9a06213811031190a17d8ab78 (diff) | |
Merge tag 'drm-fixes-5.2-2019-07-02' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
drm-fixes-5.2-2019-07-02:
Fixes for stable
amdgpu:
- stability fix for gfx9
- regression fix for HG on some polaris boards
- crash fix for some new OEM boards
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Alex Deucher <alexdeucher@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703015705.3162-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index b610e3b30d95..2f18c64d531f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |||
| @@ -1959,25 +1959,6 @@ static void gfx_v9_0_constants_init(struct amdgpu_device *adev) | |||
| 1959 | mutex_unlock(&adev->srbm_mutex); | 1959 | mutex_unlock(&adev->srbm_mutex); |
| 1960 | 1960 | ||
| 1961 | gfx_v9_0_init_compute_vmid(adev); | 1961 | gfx_v9_0_init_compute_vmid(adev); |
| 1962 | |||
| 1963 | mutex_lock(&adev->grbm_idx_mutex); | ||
| 1964 | /* | ||
| 1965 | * making sure that the following register writes will be broadcasted | ||
| 1966 | * to all the shaders | ||
| 1967 | */ | ||
| 1968 | gfx_v9_0_select_se_sh(adev, 0xffffffff, 0xffffffff, 0xffffffff); | ||
| 1969 | |||
| 1970 | WREG32_SOC15(GC, 0, mmPA_SC_FIFO_SIZE, | ||
| 1971 | (adev->gfx.config.sc_prim_fifo_size_frontend << | ||
| 1972 | PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT) | | ||
| 1973 | (adev->gfx.config.sc_prim_fifo_size_backend << | ||
| 1974 | PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT) | | ||
| 1975 | (adev->gfx.config.sc_hiz_tile_fifo_size << | ||
| 1976 | PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT) | | ||
| 1977 | (adev->gfx.config.sc_earlyz_tile_fifo_size << | ||
| 1978 | PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT)); | ||
| 1979 | mutex_unlock(&adev->grbm_idx_mutex); | ||
| 1980 | |||
| 1981 | } | 1962 | } |
| 1982 | 1963 | ||
| 1983 | static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev) | 1964 | static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev) |
