mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
Isp4 sub-device is implementing v4l2 sub-device interface. It has one capture video node, and supports only preview stream. It manages firmware states, stream configuration. Add interrupt handling and notification for isp firmware to isp-subdevice. Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com> Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com> Signed-off-by: Bin Du <Bin.Du@amd.com> Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com> Tested-by: Alexey Zagorodnikov <xglooom@gmail.com> Tested-by: Kate Hsuan <hpa@redhat.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
21 lines
401 B
C
21 lines
401 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2025 Advanced Micro Devices, Inc.
|
|
*/
|
|
|
|
#ifndef _ISP4_H_
|
|
#define _ISP4_H_
|
|
|
|
#include <drm/amd/isp.h>
|
|
#include "isp4_subdev.h"
|
|
|
|
struct isp4_device {
|
|
struct v4l2_device v4l2_dev;
|
|
struct isp4_subdev isp_subdev;
|
|
struct media_device mdev;
|
|
};
|
|
|
|
void isp4_intr_enable(struct isp4_subdev *isp_subdev, u32 index, bool enable);
|
|
|
|
#endif /* _ISP4_H_ */
|