summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-11-12 21:46:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-12-06 00:30:43 +0300
commit2f39835cc35033672ace41f32d653dbf2c0c8132 (patch)
tree1bab4ea671fcf54334ad1392ba15a8963f2557c8 /tools/perf/scripts/python/export-to-postgresql.py
parentd4bbcecb596296834aeafb93008474671c7988cf (diff)
downloadlinux-2f39835cc35033672ace41f32d653dbf2c0c8132.tar.xz
drm/amd/display: Add shared DMCUB/driver firmware state cache window
[Why] Scratch registers are limited on the DMCUB and we have an expanding list of state to track between driver and DMCUB. [How] Place shared state in cache window 6. The cache window size is aligned to the size of the cache line on the DMCUB to make it easy to invalidate. The shared state is intended to be read only from driver side so it's been marked as const. The use of volatile is intentional. The memory for the shared firmware state is memory mapped from the framebuffer memory. The DMCUB will flush its cache after modifying the region. There's no way for x86 to known whether this data is stale or not so we want to intentionally disable optimization to force the read at every access. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions