diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-08-21 23:02:01 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-02-13 18:36:04 +0300 |
commit | b671cd3d456315f63171a670769356a196cf7fd0 (patch) | |
tree | cef3120600d427ad4fc3a88b03b8888e0863b671 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2c80a2b715df75881359d07dbaacff8ad411f40e (diff) | |
download | linux-b671cd3d456315f63171a670769356a196cf7fd0.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions