diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2021-01-19 14:10:21 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-21 09:54:26 -0500 |
commit | 7fc75382ec687e43efa0232c8b9b5bffa6b57dcd (patch) | |
tree | 8b464e6ba27276042ca44254c8b5112816c58c7b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | b153d8d7d08f2f298bf48695ae3d945aefe5e5fd (diff) |
drm/amd/display: Dynamic cursor cache size for MALL eligibility check
[Why]
Currently we use the maximum possible cursor cache size when deciding if we
should attempt to enable MALL, but this prevents us from enabling the
feature for certain key use cases.
[How]
- consider cursor bpp when calculating if the cursor fits
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions