aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorRevanth Rajashekar <[email protected]>2021-01-15 01:55:07 +0000
committerChristoph Hellwig <[email protected]>2021-01-18 17:58:16 +0000
commit4d6b1c95b974761c01cbad92321b82232b66d2a2 (patch)
tree47a2beda78c68f825156da3a1970ab0a5a0d19a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentMerge tag 'nvme-5.11-2021-01-14' of git://git.infradead.org/nvme into block-5.11 (diff)
downloadkernel-4d6b1c95b974761c01cbad92321b82232b66d2a2.tar.gz
kernel-4d6b1c95b974761c01cbad92321b82232b66d2a2.zip
nvme: check the PRINFO bit before deciding the host buffer length
According to NVMe spec v1.4, section 8.3.1, the PRINFO bit and the metadata size play a vital role in deteriming the host buffer size. If PRIFNO bit is set and MS==8, the host doesn't add the metadata buffer, instead the controller adds it. Signed-off-by: Revanth Rajashekar <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions