aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <[email protected]>2025-02-12 01:02:55 +0000
committerUmesh Nerlige Ramappa <[email protected]>2025-02-21 19:45:29 +0000
commit98c9d27ab30aa9c6451d3a34e6e297171f273e51 (patch)
treecd23fd9273af54e809bbea75624437a4bcfb204b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/xe: Add fault injection for xe_sync_entry_parse (diff)
downloadkernel-98c9d27ab30aa9c6451d3a34e6e297171f273e51.tar.gz
kernel-98c9d27ab30aa9c6451d3a34e6e297171f273e51.zip
drm/xe/oa: Ensure that polled read returns latest data
In polled mode, user calls poll() for read data to be available before performing a read(). In the duration between these 2 calls, there may be new data available in the OA buffer. To ensure user reads all available data, check for latest data in the OA buffer in polled read. Signed-off-by: Umesh Nerlige Ramappa <[email protected]> Reviewed-by: Ashutosh Dixit <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions