Skip to content

Commit d5878b2

Browse files
committed
backend: Remove all buffer address fields from pisp_be_config
These are never used by either the kernel driver or libpisp. Signed-off-by: Naushir Patuck <[email protected]>
1 parent 6710b83 commit d5878b2

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

src/libpisp/backend/backend.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ void BackEnd::SetInputFormat(pisp_image_format_config const &input_format)
6565
retile_ = true;
6666
}
6767

68-
void BackEnd::SetInputBuffer(pisp_be_input_buffer_config const &input_buffer)
69-
{
70-
be_config_.input_buffer = input_buffer;
71-
}
72-
7368
void BackEnd::SetDecompress(pisp_decompress_config const &decompress)
7469
{
7570
be_config_.decompress = decompress;

src/libpisp/backend/backend.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class BackEnd final
6060
void SetGlobal(pisp_be_global_config const &global);
6161
void GetGlobal(pisp_be_global_config &global) const;
6262
void SetInputFormat(pisp_image_format_config const &input_format);
63-
void SetInputBuffer(pisp_be_input_buffer_config const &input_buffer);
6463
void SetDecompress(pisp_decompress_config const &decompress);
6564
void SetDpc(pisp_be_dpc_config const &dpc);
6665
void SetGeq(pisp_be_geq_config const &geq);

src/libpisp/backend/pisp_be_config.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,8 @@ typedef struct {
397397
} pisp_be_hog_buffer_config;
398398

399399
typedef struct {
400-
/* I/O configuration: */
401-
pisp_be_input_buffer_config input_buffer;
402-
pisp_be_tdn_input_buffer_config tdn_input_buffer;
403-
pisp_be_stitch_input_buffer_config stitch_input_buffer;
404-
pisp_be_tdn_output_buffer_config tdn_output_buffer;
405-
pisp_be_stitch_output_buffer_config stitch_output_buffer;
406-
pisp_be_output_buffer_config output_buffer[PISP_BACK_END_NUM_OUTPUTS];
407-
pisp_be_hog_buffer_config hog_buffer;
400+
/* For backward compatibility */
401+
uint8_t pad0[112];
408402
/* Processing configuration: */
409403
pisp_be_global_config global;
410404
pisp_image_format_config input_format;

0 commit comments

Comments
 (0)