Skip to content

Commit 55b0d4d

Browse files
committed
media: atomisp: remove some unused defines from *mamoiada_params.h
There are some parameters that are different between isp2400 and isp2401. None of those are actually used. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 0a4b8c4 commit 55b0d4d

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

drivers/staging/media/atomisp/pci/css_2400_system/hrt/isp2400_mamoiada_params.h

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
/* Version */
1717
#define RTL_VERSION
1818

19-
/* Cell name */
20-
#define ISP_CELL_TYPE isp2400_mamoiada
21-
#define ISP_VMEM simd_vmem
22-
#define _HRT_ISP_VMEM isp2400_mamoiada_simd_vmem
23-
2419
/* instruction pipeline depth */
2520
#define ISP_BRANCHDELAY 5
2621

@@ -154,12 +149,6 @@
154149

155150
#define ISP_VEC_ALIGN ISP_VMEM_ALIGN
156151

157-
/* HRT specific vector support */
158-
#define isp2400_mamoiada_vector_alignment ISP_VEC_ALIGN
159-
#define isp2400_mamoiada_vector_elem_bits ISP_VMEM_ELEMBITS
160-
#define isp2400_mamoiada_vector_elem_precision ISP_VMEM_ELEM_PRECISION
161-
#define isp2400_mamoiada_vector_num_elems ISP_VEC_NELEMS
162-
163152
/* register file sizes */
164153
#define ISP_RF0_SIZE 64
165154
#define ISP_RF1_SIZE 16
@@ -173,14 +162,7 @@
173162
#define ISP_RF9_SIZE 16
174163
#define ISP_RF10_SIZE 16
175164
#define ISP_RF11_SIZE 16
176-
#define ISP_VRF1_SIZE 24
177-
#define ISP_VRF2_SIZE 24
178-
#define ISP_VRF3_SIZE 24
179-
#define ISP_VRF4_SIZE 24
180-
#define ISP_VRF5_SIZE 24
181-
#define ISP_VRF6_SIZE 24
182-
#define ISP_VRF7_SIZE 24
183-
#define ISP_VRF8_SIZE 24
165+
184166
#define ISP_SRF1_SIZE 4
185167
#define ISP_SRF2_SIZE 64
186168
#define ISP_SRF3_SIZE 64

drivers/staging/media/atomisp/pci/isp2401_mamoiada_params.h

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
/* Version */
1717
#define RTL_VERSION
1818

19-
/* Cell name */
20-
#define ISP_CELL_TYPE isp2401_mamoiada
21-
#define ISP_VMEM simd_vmem
22-
#define _HRT_ISP_VMEM isp2401_mamoiada_simd_vmem
23-
2419
/* instruction pipeline depth */
2520
#define ISP_BRANCHDELAY 5
2621

@@ -154,12 +149,6 @@
154149

155150
#define ISP_VEC_ALIGN ISP_VMEM_ALIGN
156151

157-
/* HRT specific vector support */
158-
#define isp2401_mamoiada_vector_alignment ISP_VEC_ALIGN
159-
#define isp2401_mamoiada_vector_elem_bits ISP_VMEM_ELEMBITS
160-
#define isp2401_mamoiada_vector_elem_precision ISP_VMEM_ELEM_PRECISION
161-
#define isp2401_mamoiada_vector_num_elems ISP_VEC_NELEMS
162-
163152
/* register file sizes */
164153
#define ISP_RF0_SIZE 64
165154
#define ISP_RF1_SIZE 16
@@ -173,14 +162,7 @@
173162
#define ISP_RF9_SIZE 16
174163
#define ISP_RF10_SIZE 16
175164
#define ISP_RF11_SIZE 16
176-
#define ISP_VRF1_SIZE 32
177-
#define ISP_VRF2_SIZE 32
178-
#define ISP_VRF3_SIZE 32
179-
#define ISP_VRF4_SIZE 32
180-
#define ISP_VRF5_SIZE 32
181-
#define ISP_VRF6_SIZE 32
182-
#define ISP_VRF7_SIZE 32
183-
#define ISP_VRF8_SIZE 32
165+
184166
#define ISP_SRF1_SIZE 4
185167
#define ISP_SRF2_SIZE 64
186168
#define ISP_SRF3_SIZE 64

0 commit comments

Comments
 (0)