aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2024-06-27 13:37:43 -0700
committerMatt Roper <matthew.d.roper@intel.com>2024-06-28 14:00:09 -0700
commit4279635e562953c08aa27d9737311a958ce9e753 (patch)
treebd6bcf88e47f240cb5ac2a722d1ae3a1f58f8184 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent25b1f6cbd8c55216e02bd1c116a5f62f10f4d535 (diff)
downloadlinux-4279635e562953c08aa27d9737311a958ce9e753.tar.gz
linux-4279635e562953c08aa27d9737311a958ce9e753.tar.bz2
linux-4279635e562953c08aa27d9737311a958ce9e753.zip
drm/xe/mocs: Clarify difference between hw and sw sizes
It's not very obvious what the difference is between the 'size' and 'n_entries' fields of the MOCS structure. Rename both fields slightly and add some comments explaining that one is the documentation-defined table size, while the other is the number of entries that can be programmed into the hardware (and the documented table size can potentially be smaller than the number of hardware entries). Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240627203741.2042752-4-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions