Commit 73206a7
committed
drm/i915: Populate fb->format accurately in BIOS FB readout
Use drm_get_format_info() instead of drm_format_info() to populate
fb->format during the BIOS FB readout. The difference being that
drm_get_format_info() knows about compressed formats whereas
drm_format_info() doesn't.
This doesn't actually matter in practice since the BIOS FB should
never be compressed, but no reason we shouldn't use the more accurate
function here anyway.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251107181126.5743-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>1 parent 95357b6 commit 73206a7
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
| 1206 | + | |
| 1207 | + | |
1207 | 1208 | | |
1208 | 1209 | | |
1209 | 1210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3083 | 3083 | | |
3084 | 3084 | | |
3085 | 3085 | | |
3086 | | - | |
3087 | 3086 | | |
3088 | 3087 | | |
3089 | 3088 | | |
| |||
3136 | 3135 | | |
3137 | 3136 | | |
3138 | 3137 | | |
| 3138 | + | |
| 3139 | + | |
3139 | 3140 | | |
3140 | 3141 | | |
3141 | 3142 | | |
| |||
0 commit comments