]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove unsafe optimization to drop preamble ib
authorJiansong Chen <Jiansong.Chen@amd.com>
Thu, 13 May 2021 02:56:50 +0000 (10:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jun 2021 02:55:39 +0000 (22:55 -0400)
commit37336776d16ea065d292235f7609ead26ea7b5d1
tree62dfccb03d9080ab898f8aa183a09de1c94dfb4e
parent7d9544e82646b627860acf173a3b2e7e54281858
drm/amdgpu: remove unsafe optimization to drop preamble ib

Take the situation with gfxoff, the optimization may cause
corrupt CE ram contents. In addition emit_cntxcntl callback
has similar optimization which firmware can handle properly
even for power feature.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c