diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-08-21 16:02:01 -0400 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-02-13 16:36:04 +0100 |
commit | b671cd3d456315f63171a670769356a196cf7fd0 (patch) | |
tree | cef3120600d427ad4fc3a88b03b8888e0863b671 /drivers/fpga/socfpga-a10.c | |
parent | 2c80a2b715df75881359d07dbaacff8ad411f40e (diff) |
drm/prime: Support page array >= 4GB
Without unsigned long typecast, the size is passed in as zero if page
array size >= 4GB, nr_pages >= 0x100000, then sg list converted will
have the first and the last chunk lost.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230821200201.24685-1-Philip.Yang@amd.com
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions