Fix null pointer deference caused by drmModeAtomicReq being
allocated before set_property was called when modetest was run
with the atomic flag.
Reviewed-by: Rob Clark
Signed-off-by: Rohith Iyer
---
tests/modetest/modetest.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
r pipe has writeback connector
- Added error message for dump flag if no writeback connector is found
- Polls on the writeback fence fd until writeback is complete
Signed-off-by: Rohith Iyer
---
tests/modetest/buffers.c | 19
tests/modetest/buffers.h | 1 +
tests/modet
Changes made in V2:
- Added helper method that checks if user pipe has writeback connector
- Added error message for dump flag if no writeback connector is found
- Polls on the writeback fence fd until writeback is complete
Rohith Iyer (2):
tests/modetest: Allocate drmModeAtomicReq befor
Hi Andy,
On 7/25/2022 6:57 PM, Andy Yan wrote:
Hi Rohith:
At 2022-07-26 03:26:39, "Rohith Iyer" wrote:
Add writeback support to modetest with the below options:
+ case 'o':
+ pipe_args->dump = true;
+
Fix null pointer deference caused by drmModeAtomicReq being
allocated before set_property was called when modetest was run
with the atomic flag.
Signed-off-by: Rohith Iyer
---
tests/modetest/modetest.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/modetest
t;
Refer to --help for exact syntax
- Dump the writeback output buffer to bitstream
Usage: "./modetest -M msm -s :
-a -o
-P @:+0+0@RG24"
This currently supports a singular writeback connector.
Signed-off-by: Rohith Iyer
---
tests/modetest/buffers.c | 19 ++
t;
Refer to --help for exact syntax
- Dump the writeback output buffer to bitstream
Usage: "./modetest -M msm -s :
-a -o
-P @:+0+0@RG24"
This currently supports a singular writeback connector.
This patch also fixes a bug for running modetest with the atomic f