| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
|
|
|
| |
Fixes lockdep splats because we do surface stuff with this held, which
takes a mutex.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
|
|
| |
This is used on j45[67].
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
|
|
| |
This makes adding support easier.
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
|
|
|
| |
Required since t8112-isp uses a 32-bit address in the
CISP_CMD_CH_SET_FILE_LOAD command with the macOS 12.4 firmware.
Signed-off-by: Janne Grunau <j@jannau.net>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
state bit
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
XXX this might be wrong on some chips?
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
|
|
| |
Now we keep track of meta surfaces independently, and always allocate 16
of them, plus handle buffer return messages more correctly.
Fixes t8112 asserts (for some reason).
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
|
|
| |
ISP (FW 12.3) on t6001 times out if more buffers than count in the
buffer pool config are submitted before streaming is started.
To avoid keeping track of the number of submitted buffers limit the
number. 16 buffers / frames should be more than enough.
Signed-off-by: Janne Grunau <j@jannau.net>
|
|
|
|
|
|
| |
Not yet working.
Signed-off-by: Janne Grunau <j@jannau.net>
|
|
|
|
|
|
| |
t8112 uses a different register layout.
Signed-off-by: Janne Grunau <j@jannau.net>
|
|
|
|
|
|
| |
Otherwise processes receiving a signal will break our command flows.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
Maybe.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
| |
Not sure if these work properly yet, but worth having them to
experiment.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
Useful for shutdown type commands which may not be acked...
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Translating IOVAs via the DART and then trying to access physical memory
directly is slow and error-prone. We know what surfaces IOVAs are
supposed to be part of, so we can use the surface vmap to access the
contents. Where we get an IOVA from the firmware, assert that it is
within the expected range before accessing it.
Since we're using threaded IRQs now, this also lets us get rid of the
deferred vmap.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
| |
There's no reason to run all the command handling in hard IRQ context.
Let's switch to threaded IRQs, which should simplify some things.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
|
|
|
|
| |
This requires modifying the vbq type when set_format is called,
depending on the style... this is ugly, but it should work?
Multiplane is still quite broken, but this enables testing it with
gstreamer. Still lots of things to fix to make this actually work.
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
Sorry for the horrible big commit...
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
| |
Signed-off-by: Asahi Lina <lina@asahilina.net>
|
|
|
|
|
|
| |
Not really anymore.
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
|
|
| |
"Document". I also counted wrong multiple times.
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
| |
|
|
|
|
|
|
|
| |
This can fail for non-DEFER reasons. If this can happen due to probe
defers, we need to figure out some way to signal that specifically...
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
|
|
|
| |
Offsets differ across socs.
Makes more sense than "core" too.
Signed-off-by: Eileen Yoon <eyn@gmx.com>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
|
|
| |
Signed-off-by: Hector Martin <marcan@marcan.st>
|