drm/amd/display: disable display DCC with retiling due to worse power consumption
Marek Olšák
maraeo at gmail.com
Fri Apr 28 19:47:20 UTC 2023
I thought the same thing initially, but then realized that's not how
modifiers were designed to work.
Mesa should expose all modifiers it wants to allow for 3D and it doesn't
care which ones are displayable.
The kernel should expose all modifiers it wants to allow for display.
With that, Mesa can still use theoretically displayable DCC, but it will
only be used for anything that's not the display.
We can, of course, disable it in Mesa instead to get the same effect.
We would need perf numbers for dGPUs to be able to tell whether it's
beneficial with the cost of DCC retiling.
Marek
On Fri, Apr 28, 2023, 12:11 Joshua Ashton <joshua at froggi.es> wrote:
> I really don't think the kernel isn't the right place to do this.
> Is there any reason to not just disable it from the Mesa side?
>
> We can already disable displayable DCC there, so I don't see why you are
> even touching the kernel.
> It makes it infinitely harder for anyone to evaluate perf and power
> tradeoffs if you disable it at this level.
>
> The whole power vs perf trade is also not a big deal on dGPUs compared to
> APUs. Probably needs a better heuristic either way to avoid regressing perf.
>
> - Joshie 🐸✨
>
> On 28 April 2023 10:47:17 BST, "Marek Olšák" <maraeo at gmail.com> wrote:
>>
>> Hi,
>>
>> It's attached for review.
>>
>> Thanks,
>> Marek
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230428/5dd12bc3/attachment-0001.htm>
More information about the amd-gfx
mailing list