media: atomisp: propagate errors at ia_css_*_configure()Propagate the lower lever ia_css config errors to the nextlevel.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: get rid of unused varsThere are several vars declared and set but unused: drivers/staging/media/atomisp//pci/sh_css_param_shading.c:239:4: warning: variable ‘padded_width’ set but
media: atomisp: get rid of unused varsThere are several vars declared and set but unused: drivers/staging/media/atomisp//pci/sh_css_param_shading.c:239:4: warning: variable ‘padded_width’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:1366:24: warning: variable ‘stream’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:2702:22: warning: variable ‘capture_pipe’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:2831:7: warning: variable ‘continuous’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:3534:15: warning: variable ‘num_output_pins’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:3937:55: warning: variable ‘vf_pp_binary’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:3937:38: warning: variable ‘preview_binary’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:3937:24: warning: variable ‘copy_binary’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:3936:26: warning: variable ‘me’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:5749:24: warning: variable ‘copy_binary’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:6013:7: warning: variable ‘continuous’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:6012:7: warning: variable ‘memory’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:7329:24: warning: variable ‘copy_binary’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:7459:26: warning: variable ‘num_vf_pp_stage’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css.c:10420:22: warning: variable ‘pipe_id’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css_params.c:1099:36: warning: variable ‘row_padding’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/sh_css_mipi.c:410:27: warning: variable ‘mipi_intermediate_info’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/atomisp_cmd.c:2814:31: warning: variable ‘stream_config’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/atomisp_cmd.c:2893:31: warning: variable ‘stream_config’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.c:237:31: warning: variable ‘isp_data_ptr’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/isp/kernels/sdis/sdis_2/ia_css_sdis2.host.c:119:28: warning: variable ‘ver_num_isp’ set but not used [-Wunused-but-set-variable] drivers/staging/media/atomisp//pci/isp/kernels/sdis/sdis_2/ia_css_sdis2.host.c:119:15: warning: variable ‘hor_num_isp’ set but not used [-Wunused-but-set-variable]Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
show more ...
media: atomisp: add SPDX headersThis driver is licensed under GPL 2.0, as stated inside theirheaders.Add the proper tag there. We should probably latter cleanupthe reduntant licensing text, but
media: atomisp: add SPDX headersThis driver is licensed under GPL 2.0, as stated inside theirheaders.Add the proper tag there. We should probably latter cleanupthe reduntant licensing text, but this could be done later,after we get rid of other abstraction layers.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: get rid of non-Linux error codesThe atomisp driver has its own error codes under theia_css_err.h file. On several places, those got alreadyreplaced by standard error codes, but th
media: atomisp: get rid of non-Linux error codesThe atomisp driver has its own error codes under theia_css_err.h file. On several places, those got alreadyreplaced by standard error codes, but there are still alot more to be fixed.Let's get rid of all of those, mapping them intothe already-existing set of Linux error codes.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: get rid of memory_access.cNow that we have everything in place, we can get rid of thememory_access abstraction layer.Now, everything related to heterogeneous memory management(h
media: atomisp: get rid of memory_access.cNow that we have everything in place, we can get rid of thememory_access abstraction layer.Now, everything related to heterogeneous memory management(hmm) is under hmm.c & related pools.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: change the type returned by mmgr allocThe mmgr alloc code returns a different type than hmm, due tosome abstraction layer.Change the driver to use just one type to represent the
media: atomisp: change the type returned by mmgr allocThe mmgr alloc code returns a different type than hmm, due tosome abstraction layer.Change the driver to use just one type to represent thehmm memory.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: get rid of most checks for ISP2401 versionThere are lots of places inside this driver checking forISP2400/ISP2401 verison. Get rid of most of those, whilekeep building for both.
media: atomisp: get rid of most checks for ISP2401 versionThere are lots of places inside this driver checking forISP2400/ISP2401 verison. Get rid of most of those, whilekeep building for both.Most of stuff in this patch is trivial to solve.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
media: atomisp: cleanup directory hierarchyThis driver has very long directories without a goodreason (IMHO). Let's drop two directories from such hierarchy,in order to simplify things a little b
media: atomisp: cleanup directory hierarchyThis driver has very long directories without a goodreason (IMHO). Let's drop two directories from such hierarchy,in order to simplify things a little bit and make the diroutput a bit more readable.Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>