aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorVishal Verma <[email protected]>2021-05-20 13:47:45 -0600
committerDan Williams <[email protected]>2021-05-26 11:20:17 -0700
commit199cf8c3feec2947015da84643312790b21531cb (patch)
tree423f8a0f2517fc3a4a78b1463a88986b4ed0d383 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent21e9f76733a8c152b794cba5463ff9bf2db919d4 (diff)
cxl/pci.c: Add a 'label_storage_size' attribute to the memdev
The 'Identify Device' mailbox command returns an 'lsa_size', which is the size of the label storage area on the device. Export it as a sysfs attribute so that userspace tooling to read/write the LSA can determine the size without having to run an 'Identify Device' on their own. Cc: Ben Widawsky <[email protected]> Cc: Dan Williams <[email protected]> Signed-off-by: Vishal Verma <[email protected]> Reviewed-by: Dan Williams <[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