Commit b8340109 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ceb68bb6
...@@ -176,15 +176,9 @@ size); ...@@ -176,15 +176,9 @@ size);
{ {
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.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) { if (size) {
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n"); 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],
&params->s3a_config,
size);
params->isp_params_changed = true; params->isp_params_changed = true;
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true; params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
......
...@@ -175,15 +175,9 @@ size); ...@@ -175,15 +175,9 @@ size);
{ {
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.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) { if (size) {
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n"); 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],
&params->s3a_config,
size);
params->isp_params_changed = true; params->isp_params_changed = true;
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true; params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
......
...@@ -175,15 +175,9 @@ size); ...@@ -175,15 +175,9 @@ size);
{ {
unsigned size = stage->binary->info->mem_offsets.offsets.param->hmem0.bh.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) { if (size) {
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE_PRIVATE, "ia_css_process_bh() enter:\n"); 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],
&params->s3a_config,
size);
params->isp_params_changed = true; params->isp_params_changed = true;
params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true; params->isp_mem_params_changed[pipe_id][stage->stage_num][IA_CSS_ISP_HMEM0] = true;
......
...@@ -63,15 +63,4 @@ ia_css_bh_encode( ...@@ -63,15 +63,4 @@ ia_css_bh_encode(
uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); 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 #endif
...@@ -29,10 +29,4 @@ ia_css_bh_encode( ...@@ -29,10 +29,4 @@ ia_css_bh_encode(
const struct ia_css_3a_config *from, const struct ia_css_3a_config *from,
unsigned size); 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 */ #endif /* __IA_CSS_BH_HOST_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment