diff options
| author | Bas Nieuwenhuizen <[email protected]> | 2020-11-11 02:48:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-13 22:29:47 +0000 |
| commit | 816853f9dc4057b6c7ee3c45ca9bd5905649092e (patch) | |
| tree | 80e512fe6f088cf51aeef87a308f34b4e3777f43 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm/amd/display: Store gem objects for planes 1-3 (diff) | |
| download | kernel-816853f9dc4057b6c7ee3c45ca9bd5905649092e.tar.gz kernel-816853f9dc4057b6c7ee3c45ca9bd5905649092e.zip | |
drm/amd/display: Set new format info for converted metadata.
If we use DCC modifiers this can increase the number of planes from
the initial 1 plane with metadata, so that we get a valid modifier
from getfb2.
Since the code didn't update the format_info getfb2 would only ever
return 1 plane with a modifier for which userspace expects > 1.
This moves the format lookup to amdgpu_display.c so we do not have
issues when DC is not compiled.
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
