diff options
| author | Arun R Murthy <[email protected]> | 2025-04-07 05:43:46 +0000 |
|---|---|---|
| committer | Suraj Kandpal <[email protected]> | 2025-05-09 10:00:28 +0000 |
| commit | 0d6dcd741c266389bbf0a8758f537b3a171ac32a (patch) | |
| tree | 105a503137739e7299d2368ef57c733b5648f357 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | drm/plane: Add new plane property IN_FORMATS_ASYNC (diff) | |
| download | kernel-0d6dcd741c266389bbf0a8758f537b3a171ac32a.tar.gz kernel-0d6dcd741c266389bbf0a8758f537b3a171ac32a.zip | |
drm/plane: modify create_in_formats to acommodate async
create_in_formats creates the list of supported format/modifiers for
synchronous flips, modify the same function so as to take the
format_mod_supported as argument and create list of format/modifier for
async as well.
v5: create_in_formats can return -ve value in failure case, correct the
if condition to check the creation of blob <Chaitanya>
Dont add the modifier for which none of the formats is not supported.
v6: Remove the code for masking the unsupported modifiers as UMD can
leave with it. (Naveen/Chaitanya)
v7: Retain the unsupported modifiers, userspace should have no
impact, return pointer to blob instead of blob_id(Ville)
Signed-off-by: Arun R Murthy <[email protected]>
Acked-by: Xaver Hugl <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Reviewed-by: Chaitanya Kumar Borah <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Tested-by: Naveen Kumar <[email protected]>
Signed-off-by: Suraj Kandpal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
