Skip to content

Commit

Permalink
backend: Remove all buffer address fields from pisp_be_config
Browse files Browse the repository at this point in the history
These are never used by either the kernel driver or libpisp.

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Jun 12, 2024
1 parent 6710b83 commit d5878b2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
5 changes: 0 additions & 5 deletions src/libpisp/backend/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ void BackEnd::SetInputFormat(pisp_image_format_config const &input_format)
retile_ = true;
}

void BackEnd::SetInputBuffer(pisp_be_input_buffer_config const &input_buffer)
{
be_config_.input_buffer = input_buffer;
}

void BackEnd::SetDecompress(pisp_decompress_config const &decompress)
{
be_config_.decompress = decompress;
Expand Down
1 change: 0 additions & 1 deletion src/libpisp/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class BackEnd final
void SetGlobal(pisp_be_global_config const &global);
void GetGlobal(pisp_be_global_config &global) const;
void SetInputFormat(pisp_image_format_config const &input_format);
void SetInputBuffer(pisp_be_input_buffer_config const &input_buffer);
void SetDecompress(pisp_decompress_config const &decompress);
void SetDpc(pisp_be_dpc_config const &dpc);
void SetGeq(pisp_be_geq_config const &geq);
Expand Down
10 changes: 2 additions & 8 deletions src/libpisp/backend/pisp_be_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,8 @@ typedef struct {
} pisp_be_hog_buffer_config;

typedef struct {
/* I/O configuration: */
pisp_be_input_buffer_config input_buffer;
pisp_be_tdn_input_buffer_config tdn_input_buffer;
pisp_be_stitch_input_buffer_config stitch_input_buffer;
pisp_be_tdn_output_buffer_config tdn_output_buffer;
pisp_be_stitch_output_buffer_config stitch_output_buffer;
pisp_be_output_buffer_config output_buffer[PISP_BACK_END_NUM_OUTPUTS];
pisp_be_hog_buffer_config hog_buffer;
/* For backward compatibility */
uint8_t pad0[112];
/* Processing configuration: */
pisp_be_global_config global;
pisp_image_format_config input_format;
Expand Down

0 comments on commit d5878b2

Please sign in to comment.