[PATCH 19/29] accel/ivpu: Fix reset_engine debugfs file logic

Jeffrey Hugo quic_jhugo at quicinc.com
Fri Sep 27 21:27:02 UTC 2024


On 9/24/2024 2:17 AM, Jacek Lawrynowicz wrote:
> From: Andrzej Kacprowski <Andrzej.Kacprowski at intel.com>
> 
> The current reset_engine implementation unconditionally resets
> all engines. Improve implementation to reset only the engine
> requested by the user space to allow more granular testing.
> Also use DEFINE_DEBUGFS_ATTRIBUTE() to simplify implementation.
> 
> Same changes applied to resume_engine debugfs file for consistency.
> 
> Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski at intel.com>
> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>

Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>


More information about the dri-devel mailing list