Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry (v2)

2022-01-27 Thread Christian König
Am 25.01.22 um 19:18 schrieb Tom St Denis: Newer hardware has a discovery table in hardware that the kernel will rely on instead of header files for things like IP offsets. This sysfs entry adds a simple to parse table of IP instances and segment offsets. Produces output that looks like: $

Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry (v2)

2022-01-25 Thread Luben Tuikov
Inlined: On 2022-01-25 13:18, Tom St Denis wrote: > Newer hardware has a discovery table in hardware that the kernel will > rely on instead of header files for things like IP offsets. This > sysfs entry adds a simple to parse table of IP instances and segment > offsets. > > Produces output that

[PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry (v2)

2022-01-25 Thread Tom St Denis
Newer hardware has a discovery table in hardware that the kernel will rely on instead of header files for things like IP offsets. This sysfs entry adds a simple to parse table of IP instances and segment offsets. Produces output that looks like: $ cat ip_discovery_text ATHUB{0} v2.0.0: 0c00

Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry

2022-01-25 Thread Alex Deucher
nis, Tom > Cc: amd-gfx list > Subject: Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry > > On Mon, Jan 24, 2022 at 1:07 PM Tom St Denis wrote: > > > > Newer hardware has a discovery table in hardware that the kernel will > > rely on instead of header fil

Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry

2022-01-25 Thread StDenis, Tom
-gfx list Subject: Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry On Mon, Jan 24, 2022 at 1:07 PM Tom St Denis wrote: > > Newer hardware has a discovery table in hardware that the kernel will > rely on instead of header files for things like IP offsets. This > sysf

Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry

2022-01-25 Thread Alex Deucher
On Mon, Jan 24, 2022 at 1:07 PM Tom St Denis wrote: > > Newer hardware has a discovery table in hardware that the kernel will > rely on instead of header files for things like IP offsets. This > sysfs entry adds a simple to parse table of IP instances and segment > offsets. > > Produces output

Re: [PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry

2022-01-25 Thread Luben Tuikov
Patch is fine, if it does what you want. A few comments inline. On 2022-01-24 13:07, Tom St Denis wrote: > Newer hardware has a discovery table in hardware that the kernel will > rely on instead of header files for things like IP offsets. This > sysfs entry adds a simple to parse table of IP

[PATCH] drm/amd/amdgpu: Add ip_discovery_text sysfs entry

2022-01-24 Thread Tom St Denis
Newer hardware has a discovery table in hardware that the kernel will rely on instead of header files for things like IP offsets. This sysfs entry adds a simple to parse table of IP instances and segment offsets. Produces output that looks like: $ cat ip_discovery_text ATHUB{0} v2.0.0: 0c00