drm/udl: Support adapters without vendor firmware descriptor
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 0 repliesNew
- v19 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/udl: Remove unused field dev from struct udl_devicedrivers/ | +0 | 0 replies | |
| 2/9 | drm/udl: Remove unused field gem_lock from struct udl_devicedrivers/ drivers/ | +0 | 0 replies | |
| 3/9 | drm/udl: Improve type safety when using struct udl_devicedrivers/ drivers/ drivers/ +2 more | +37 | 0 replies | |
| 4/9 | drm/udl: The number of pixels is always positivedrivers/ | +2 | 0 replies | |
| 5/9 | drm/udl: Handle errors from usb_get_descriptor()drivers/ | +14 | 0 replies | |
| 6/9 | drm/udl: Return error if vendor descriptor is too shortdrivers/ | +36 | 0 replies | |
| 7/9 | drm/udl: Treat vendor descriptor as u8drivers/ | +8 | 0 replies | |
| 8/9 | drm/udl: Validate length in vendor-descriptor parserdrivers/ | +51 | 0 replies | |
| 9/9 | drm/udl: Support adapters without firmware descriptordrivers/ | +21 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Patrik Jakobsson |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] drm/udl: Support adapters without vendor firmware descriptor
Fallback to default values for devices without vendor firmware descriptor. Enables support for such devices. Since we're at it, improve the descriptor parser.
Patches 1 to 3 do some cleanups for the driver.
Patches 4 to 8 rewrite the parser code for the vendor firmware descriptor. It's now more compatible and validates the raw input more reliably.
Patch 9 adds support for the additional devices.
Tested with various DisplayLink adapters, including one without vendor firmware descriptor.
Thomas Zimmermann (9):
drm/udl: Remove unused field dev from struct udl_device drm/udl: Remove unused field gem_lock from struct udl_device drm/udl: Improve type safety when using struct udl_device drm/udl: The number of pixels is always positive drm/udl: Handle errors from usb_get_descriptor() drm/udl: Return error if vendor descriptor is too short drm/udl: Treat vendor descriptor as u8
drm/udl: Validate length in vendor-descriptor parser drm/udl: Support adapters without firmware descriptor
drivers/gpu/drm/udl/udl_drv.c | 6 +- drivers/gpu/drm/udl/udl_drv.h | 19 ++-- drivers/gpu/drm/udl/udl_main.c | 174 +++++++++++++++++------------ drivers/gpu/drm/udl/udl_modeset.c | 21 ++-- drivers/gpu/drm/udl/udl_transfer.c | 6 +- 5 files changed, 128 insertions(+), 98 deletions(-)
Signature · 1 line
2.49.0