aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tracing/rtla/src/osnoise_top.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2022-02-23 11:49:46 -0800
committerJosé Roberto de Souza <jose.souza@intel.com>2022-02-25 05:24:16 -0800
commitb8986c889e7ac26c57cb548f8f344456fa925a2f (patch)
tree4cb9220ed8e647b1b26cbc13f8201904ded5e84a /tools/tracing/rtla/src/osnoise_top.c
parentdrm/i915/rps/tgl+: Remove RPS interrupt support (diff)
downloadlinux-dev-b8986c889e7ac26c57cb548f8f344456fa925a2f.tar.xz
linux-dev-b8986c889e7ac26c57cb548f8f344456fa925a2f.zip
drm/i915: Check stolen memory size before calling drm_mm_init
Add check for zero usable stolen memory before calling drm_mm_init to support configurations where stolen memory exists but is fully reserved. Also skip memory test in cases that usable stolen is smaller than page size(amount mapped and used to test memory). v2: - skiping test if available memory is smaller than page size (Lucas) Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Steve Carbonari <steven.carbonari@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220223194946.725328-1-jose.souza@intel.com
Diffstat (limited to 'tools/tracing/rtla/src/osnoise_top.c')
0 files changed, 0 insertions, 0 deletions