linux/drivers/gpu/drm/amd
Bas Nieuwenhuizen faa37f54ce drm/amd/display: Expose modifiers.
This expose modifier support on GFX9+.

Only modifiers that can be rendered on the current GPU are
added. This is to reduce the number of modifiers exposed.

The HW could expose more, but the best mechanism to decide
what to expose without an explosion in modifiers is still
to be decided, and in the meantime this should not regress
things from pre-modifiers and does not risk regressions as
we make up our mind in the future.

v2:
  - Added comment that D on Raven is only valid for 64bpp
    and will be filtered based on format later.
  - Removed D tiling modes that weren't useful for 64bpp
    on GFX10+.

v4: Add AMDGPU_FAMILY_VGH case.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-30 14:27:23 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amd/display: Convert tiling_flags to modifiers. 2020-10-30 14:27:23 -04:00
amdkfd drm/amdkfd: Fix getting unique_id in topology 2020-10-30 00:59:42 -04:00
display drm/amd/display: Expose modifiers. 2020-10-30 14:27:23 -04:00
include drm/amdgpu: drop CONFIG_DRM_AMD_DC_DCN3_01 from atomfirmware.h 2020-10-30 01:02:10 -04:00
pm drm/amd/pm: fix compile warnings about variable used uninitialized 2020-10-30 14:27:15 -04:00