OSDN Git Service

drm/amdkfd: Hardware DWORD size is 4 bytes
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 6 Nov 2017 19:52:27 +0000 (14:52 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 6 Nov 2017 19:52:27 +0000 (14:52 -0500)
commit6d566930257df564d0aaacad0f02855d9c85aecd
treea10cd9503098b25e0fa25deb27858c67a181e24c
parent5aaf2befd4eceb2efa16c63ccb64c8e13785594a
drm/amdkfd: Hardware DWORD size is 4 bytes

Don't use sizeof(uint32_t) or similar types for hardware or firmware
DWORD size. The hardware and firmware don't care about Linux types.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c