aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-08-20 09:51:13 +0000
committerAlex Deucher <[email protected]>2023-08-30 19:26:32 +0000
commitff49bd2c74f2e9659c942aff9629b5fcbffed97f (patch)
tree0415722bb3dd47dfa0b83e95b124cc0fcf1be9f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: register edp_backlight_control() for DCN301 (diff)
downloadkernel-ff49bd2c74f2e9659c942aff9629b5fcbffed97f.tar.gz
kernel-ff49bd2c74f2e9659c942aff9629b5fcbffed97f.zip
drm/amdgpu: Explicitly add a flexible array at the end of 'struct amdgpu_bo_list'
'struct amdgpu_bo_list' is really used as if it was ended by a flex array. So make it more explicit and add a 'struct amdgpu_bo_list_entry entries[]' field at the end of the structure. This way, struct_size() can be used when it is allocated. It is less verbose. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions