--- zzzz-none-000/linux-2.6.39.4/drivers/gpu/drm/radeon/evergreen.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/gpu/drm/radeon/evergreen.c 2021-11-10 13:38:14.000000000 +0000 @@ -1601,7 +1601,7 @@ u32 sq_stack_resource_mgmt_2; u32 sq_stack_resource_mgmt_3; u32 vgt_cache_invalidation; - u32 hdp_host_path_cntl, tmp; + u32 hdp_host_path_cntl; int i, j, num_shader_engines, ps_thread_count; switch (rdev->family) { @@ -2164,10 +2164,6 @@ for (i = SQ_ALU_CONST_BUFFER_SIZE_HS_0; i < 0x29000; i += 4) WREG32(i, 0); - tmp = RREG32(HDP_MISC_CNTL); - tmp |= HDP_FLUSH_INVALIDATE_CACHE; - WREG32(HDP_MISC_CNTL, tmp); - hdp_host_path_cntl = RREG32(HDP_HOST_PATH_CNTL); WREG32(HDP_HOST_PATH_CNTL, hdp_host_path_cntl);