OSDN Git Service

drm/amd/display: Add modifiers capable of DCC image stores for gfx10_3
authorJoshua Ashton <joshua@froggi.es>
Tue, 14 Sep 2021 23:59:48 +0000 (00:59 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Sep 2021 19:17:29 +0000 (15:17 -0400)
commit7f6ab50a62a81f91aba6e853364e4f7d9fbaf27d
tree8acad95c2f0402f2d7c09302eb62d82cdb4c16ef
parenta86396c3a742865821f29fdb3b9bb00e005d013f
drm/amd/display: Add modifiers capable of DCC image stores for gfx10_3

Some games, ie. Doom Eternal, present from compute following compute
post-fx and would benefit from having DCC image stores available.

DCN on gfx10_3 doesn't need INDEPENDENT_128B_BLOCKS = 0 so we can expose
these modifiers capable of DCC image stores.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c