Re: [Bug 216373] New: Uncorrected errors reported for AMD GPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 2022-08-24 um 01:10 schrieb Lazar, Lijo:


On 8/23/2022 10:34 PM, Tom Seewald wrote:
On Sat, Aug 20, 2022 at 2:53 AM Lazar, Lijo <lijo.lazar@xxxxxxx> wrote:

Missed the remap part, the offset is here -

https://elixir.bootlin.com/linux/v6.0-rc1/source/drivers/gpu/drm/amd/amdgpu/nv.c#L680


The trace is coming from *_flush_hdp.

You may also check if *_remap_hdp_registers() is getting called. It is
done in nbio_vx_y files, most likely this one for your device -
https://elixir.bootlin.com/linux/v6.0-rc1/source/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c#L68

Thanks,
Lijo

Hi Lijo,

I would be happy to test any patches that you think would shed some
light on this.

Unfortunately, I don't have any NV platforms to test. Attached is an 'untested-patch' based on your trace logs.
Hi Lijo,

I like that the patch also removes some code duplication. Can you check that this doesn't break GFXv8 GPUs? You may need to add a NULL-check for adev->nbio.funcs to the if-condition.

Regards,
  Felix



Thanks,
Lijo



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux