Skip to contentSkip to conversation

vpdma: Move firmware to the toplevel

PATCH In review Nikhil Devshatwar 3 participants 4 messages Oct 26, 2020 – Oct 28, 2020 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vpdma: Move firmware to the toplevel

Move the vpdma firmware to the toplevel directory so that the existing drivers can use it with the same path.

Fixes 5b30b383ce ("linux-firmware: Add new VPDMA firmware 1b8.bin")
---
 WHENCE                                         |   2 +-
 ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin | Bin
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin (100%)
WHENCE +1 -1
index 473f6fb..347593c 100644
@@ -2705,7 +2705,7 @@ Licence: Redistributable. See LICENCE.tda7706-firmware.txt for details.
 
 Driver: ti-vpe - Texas Instruments V4L2 driver for Video Processing Engine
 
-File: ti-connectivity/vpdma-1b8.bin
+File: vpdma-1b8.bin
 
 Licence: Redistributable. See LICENCE.ti-tspa for details.
 
vpdma-1b8.bin renamed from ti-connectivity/vpdma-1b8.bin +0 -0
similarity index 100%
rename from ti-connectivity/vpdma-1b8.bin
rename to vpdma-1b8.bin
Signature · 1 line
2.17.1
#1 lore raw

Hi Nikhil,

Thank you for the patch.

Quoted 8 lines · Nikhil Devshatwar

Move the vpdma firmware to the toplevel directory so that the existing drivers can use it with the same path.

Fixes 5b30b383ce ("linux-firmware: Add new VPDMA firmware 1b8.bin")
---
 WHENCE                                         |   2 +-
 ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin | Bin

I think Tomi meant moving the file to ti/ instead of ti-connectivity/. I will let him comment on this.

Quoted 20 lines
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin (100%)
WHENCE +1 -1
index 473f6fb..347593c 100644
@@ -2705,7 +2705,7 @@ Licence: Redistributable. See LICENCE.tda7706-firmware.txt for details.
 
 Driver: ti-vpe - Texas Instruments V4L2 driver for Video Processing Engine
 
-File: ti-connectivity/vpdma-1b8.bin
+File: vpdma-1b8.bin
 
 Licence: Redistributable. See LICENCE.ti-tspa for details.
 
vpdma-1b8.bin renamed from ti-connectivity/vpdma-1b8.bin +0 -0
similarity index 100%
rename from ti-connectivity/vpdma-1b8.bin
rename to vpdma-1b8.bin
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
Quoted 8 lines · Laurent Pinchart

Hi Nikhil,

Thank you for the patch.

Quoted 3 lines · Nikhil Devshatwar

Move the vpdma firmware to the toplevel directory so that the existing drivers can use it with the same path.

Quoted 8 lines
Quoted 5 lines
Fixes 5b30b383ce ("linux-firmware: Add new VPDMA firmware 1b8.bin")
---
 WHENCE                                         |   2 +-
 ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin | Bin

I think Tomi meant moving the file to ti/ instead of ti-connectivity/. I will let him comment on this.

I don't really have a strong opinion here, as I don't know if there are some rules or guidelines about file/dir naming in linux-firmware.

But my argument is:

The fw should either be at the root dir, where the linux driver is already looking for it, OR, if we do move it somewhere, move it to a "right" place. Afaics "ti-connectivity" is totally wrong place, as vpdma has nothing to do with connectivity.

The root dir is a bit bad as "vpdma-1b8.bin" doesn't have TI or such in its name, so even if name conflict with some other fw feels quite unlikely, the name is still rather vague. And moving is a bit bad as then the current driver won't find the fw...

Tomi

Signature · 2 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
#3 lore raw
Quoted 21 lines · Tomi Valkeinen
Quoted 8 lines · Laurent Pinchart

Hi Nikhil,

Thank you for the patch.

Quoted 3 lines · Nikhil Devshatwar

Move the vpdma firmware to the toplevel directory so that the existing drivers can use it with the same path.

Quoted 8 lines
Quoted 5 lines
Fixes 5b30b383ce ("linux-firmware: Add new VPDMA firmware 1b8.bin")
---
 WHENCE                                         |   2 +-
 ti-connectivity/vpdma-1b8.bin => vpdma-1b8.bin | Bin

I think Tomi meant moving the file to ti/ instead of ti-connectivity/. I will let him comment on this.

I don't really have a strong opinion here, as I don't know if there are some rules or guidelines about file/dir naming in linux-firmware.

Quoted 7 lines

But my argument is:

The fw should either be at the root dir, where the linux driver is already looking for it, OR, if we do move it somewhere, move it to a "right" place. Afaics "ti-connectivity" is totally wrong place, as vpdma has nothing to do with connectivity.

The root dir is a bit bad as "vpdma-1b8.bin" doesn't have TI or such in its name, so even if name

With this, I am more inclined to put it in ti/ directory.

Quoted 2 lines

conflict with some other fw feels quite unlikely, the name is still rather vague. And moving is a bit bad as then the current driver won't find the fw...

Since the current driver is not getting any firmware anyways, it should be fine to move it and update the driver accordingly.
I will send v2 with the firmware moved to ti/

Quoted 6 lines

Tomi

Signature · 2 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki