Re: [PATCH] drm/amdgpu: remove unsafe optimization to drop preamble ib

2021-05-13 Thread Christian König
Am 13.05.21 um 05:21 schrieb Jiansong Chen: 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. NAK, it is the whole purpose of the preamble IB

RE: [PATCH] drm/amdgpu: remove unsafe optimization to drop preamble ib

2021-05-12 Thread Zhang, Hawking
[AMD Public Use] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: Jiansong Chen Sent: Thursday, May 13, 2021 11:22 To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Koenig, Christian ; Chen, Jiansong (Simon) Subject: [PATCH] drm/amdgpu: remove unsafe

[PATCH] drm/amdgpu: remove unsafe optimization to drop preamble ib

2021-05-12 Thread Jiansong Chen
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 Change-Id: I962946557108bb0575f8b2afc25b18a6dcf0d838 --- drivers