Commit 9058b485 authored by Umesh Nerlige Ramappa's avatar Umesh Nerlige Ramappa Committed by Greg Kroah-Hartman
Browse files

drm/xe/oa: Ensure that polled read returns latest data



[ Upstream commit 98c9d27a ]

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: default avatarUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: default avatarAshutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250212010255.1423343-1-umesh.nerlige.ramappa@intel.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4d9fa2eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment