mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
atomisp: ia_css_bh_hmem_encode is a no-op so remove it
This is a do nothing function so we can replace it with nothing and eliminate it entirely. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ceb68bb694
commit
b834010940
@ -176,15 +176,9 @@ size);
|
||||
{
|
||||
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;
|
||||
|
||||
unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;
|
||||
|
||||
if (size) {
|
||||
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");
|
||||
|
||||
ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
|
||||
&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
|
||||
¶ms->s3a_config,
|
||||
size);
|
||||
params->isp_params_changed = true;
|
||||
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
|
||||
|
||||
|
@ -175,15 +175,9 @@ size);
|
||||
{
|
||||
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;
|
||||
|
||||
unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;
|
||||
|
||||
if (size) {
|
||||
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");
|
||||
|
||||
ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
|
||||
&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
|
||||
¶ms->s3a_config,
|
||||
size);
|
||||
params->isp_params_changed = true;
|
||||
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
|
||||
|
||||
|
@ -175,15 +175,9 @@ size);
|
||||
{
|
||||
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.size;
|
||||
|
||||
unsigned offset = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.offset;
|
||||
|
||||
if (size) {
|
||||
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n");
|
||||
|
||||
ia_css_bh_hmem_encode((struct sh_css_isp_bh_hmem_params *)
|
||||
&stage->binary->mem_params.params[IA_CSS_PARAM_CLASS_PARAM][IA_CSS_ISP_HMEM0].address[offset],
|
||||
¶ms->s3a_config,
|
||||
size);
|
||||
params->isp_params_changed = true;
|
||||
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
|
||||
|
||||
|
@ -63,15 +63,4 @@ ia_css_bh_encode(
|
||||
uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT);
|
||||
}
|
||||
|
||||
void
|
||||
ia_css_bh_hmem_encode(
|
||||
struct sh_css_isp_bh_hmem_params *to,
|
||||
const struct ia_css_3a_config *from,
|
||||
unsigned size)
|
||||
{
|
||||
(void)size;
|
||||
(void)from;
|
||||
(void)to;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -29,10 +29,4 @@ ia_css_bh_encode(
|
||||
const struct ia_css_3a_config *from,
|
||||
unsigned size);
|
||||
|
||||
void
|
||||
ia_css_bh_hmem_encode(
|
||||
struct sh_css_isp_bh_hmem_params *to,
|
||||
const struct ia_css_3a_config *from,
|
||||
unsigned size);
|
||||
|
||||
#endif /* __IA_CSS_BH_HOST_H */
|
||||
|
Loading…
Reference in New Issue
Block a user