diff options
| author | 2017-06-02 16:30:46 -0400 | |
|---|---|---|
| committer | 2017-06-06 17:01:47 -0400 | |
| commit | 6653ebd48f493efe3f3598ff3fe7b3d5451665df (patch) | |
| tree | 5ba6c2dad6a508641d73331709d79965994ee52c /drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | |
| parent | drm/amdgpu/gfx9: new queue policy, take first 2 queues of each pipe (diff) | |
| download | wireguard-linux-6653ebd48f493efe3f3598ff3fe7b3d5451665df.tar.xz wireguard-linux-6653ebd48f493efe3f3598ff3fe7b3d5451665df.zip | |
drm/amdgpu/gfx6: properly cache mc_arb_ramcfg
This was missing for gfx6.
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 1351f9230fcd..c2b4e9fbc616 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c @@ -1475,7 +1475,8 @@ static void gfx_v6_0_gpu_init(struct amdgpu_device *adev) WREG32(mmBIF_FB_EN, BIF_FB_EN__FB_READ_EN_MASK | BIF_FB_EN__FB_WRITE_EN_MASK); mc_shared_chmap = RREG32(mmMC_SHARED_CHMAP); - mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); + adev->gfx.config.mc_arb_ramcfg = RREG32(mmMC_ARB_RAMCFG); + mc_arb_ramcfg = adev->gfx.config.mc_arb_ramcfg; adev->gfx.config.num_tile_pipes = adev->gfx.config.max_tile_pipes; adev->gfx.config.mem_max_burst_length_bytes = 256; |
