summaryrefslogtreecommitdiff
path: root/drivers/fpga/socfpga-a10.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2023-08-21 16:02:01 -0400
committerChristian König <christian.koenig@amd.com>2024-02-13 16:36:04 +0100
commitb671cd3d456315f63171a670769356a196cf7fd0 (patch)
treecef3120600d427ad4fc3a88b03b8888e0863b671 /drivers/fpga/socfpga-a10.c
parent2c80a2b715df75881359d07dbaacff8ad411f40e (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