diff options
| author | Imre Deak <[email protected]> | 2021-10-20 22:51:29 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2021-10-21 21:44:36 +0300 |
| commit | 672d07517e728acf15c1e39c3dfb7052000b434e (patch) | |
| tree | 3366b7332901912312a75afa913a87420e377635 /scripts/objdiff | |
| parent | e2b8329432b880f3821f85e1253a9b6b9d714a86 (diff) | |
drm/i915: Move intel_get_format_info() to intel_fb.c
Move the function retrieving the format override information for a given
format/modifier to intel_fb.c. We can store a pointer to the format list
in each modifier's descriptor instead of the corresponding switch/case
logic, avoiding the listing of the modifiers twice.
v1: Unchanged.
v2: Handle invalid modifiers in intel_fb_get_format_info() passed from
userspace. (CI/igt_kms_addfb_basic/addfb25-bad-modifier)
v3: Move lookup_modifier() to the next patch, where it's first used.
Cc: Juha-Pekka Heikkila <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions