diff options
| author | Mahesh Kumar <[email protected]> | 2018-08-21 14:08:56 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-08-22 09:47:58 -0700 |
| commit | c0811a7d5befe34a17772760100e26b09a561c0e (patch) | |
| tree | f964f8165d4c67a01d534979a2afda41ba67a10d /scripts/gcc-plugins/sancov_plugin.c | |
| parent | af6979331da12d2db92a1fe7e1aba85ee5f4b06d (diff) | |
drm/crc: Cleanup crtc_crc_open function
This patch make changes to allocate crc-entries buffer before
enabling CRC generation.
It moves all the failure check early in the function before setting
the source or memory allocation.
Now set_crc_source takes only two variable inputs, values_cnt we
already gets as part of verify_crc_source.
Changes since V1:
- refactor code to use single spin lock
Changes since V2:
- rebase
Changes since V3:
- rebase on top of VKMS driver
Signed-off-by: Mahesh Kumar <[email protected]>
Cc: [email protected]
Cc: Laurent Pinchart <[email protected]>
Cc: Haneen Mohammed <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Acked-by: Leo Li <[email protected]> (V2)
Reviewed-by: Laurent Pinchart <[email protected]> (V3)
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions