On 29.08.25 15:55, Srinivasan Shanmugam wrote: > Add bookkeeping for the remap page to struct amdgpu_device: > > * bo: kernel-owned singleton BO > > v2: > - Use existing amdgpu_mmio_remap container; remove per-field members > (Alex). > - Use AMD_GPU_PAGE_SIZE (always 4K) per Christian/Alex. > > Suggested-by: Alex Deucher <[email protected]> > Suggested-by: Christian König <[email protected]> > Signed-off-by: Srinivasan Shanmugam <[email protected]> > Reviewed-by: Alex Deucher <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > index ddd472e56f69..24501d3fbefe 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > @@ -752,6 +752,7 @@ typedef void (*amdgpu_block_wreg_t)(struct > amdgpu_device*, uint32_t, uint32_t, u > struct amdgpu_mmio_remap { > u32 reg_offset; > resource_size_t bus_addr; > + struct amdgpu_bo *bo;
Since this now adds only a single member I think you can squash the patch into the next one. Not a must have, but I think that makes more sense. Regards, Christian. > }; > > /* Define the HW IP blocks will be used in driver , add more if necessary */
