diff options
| author | Ben Widawsky <[email protected]> | 2021-04-07 15:26:21 -0700 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2021-05-26 11:20:18 -0700 |
| commit | 1d5a4159074bde1b2d5e4a6f5ed34de70a83a39f (patch) | |
| tree | 771394c75ec187dd72e9dca4908979ffb6e6a3d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 1b0a1a2a193400d305931a40ac68e89bcfdad9c5 (diff) | |
cxl/mem: Move register locator logic into reg setup
Start moving code around to ultimately get rid of @cxlm.base. The
@cxlm.base member serves no purpose other than intermediate storage of
the offset found in cxl_mem_map_regblock() later used by
cxl_mem_setup_regs(). Aside from wanting to get rid of this useless
member, it will help later when adding new register block identifiers.
While @cxlm.base still exists, it will become trivial to remove it in a
future patch.
No functional change is meant to be introduced in this patch.
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions