diff options
author | Evan Quan <evan.quan@amd.com> | 2021-11-12 15:51:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-24 14:06:53 -0500 |
commit | 1223c15c780bc967e150204ec11992f39fdc85d5 (patch) | |
tree | d431ff8911d7804e4943c652ba049135a88479f2 /net/switchdev/switchdev.c | |
parent | 37ba5bbc89787aa6029266fef771ce1fc7f596ae (diff) |
drm/amdgpu: update the domain flags for dumb buffer creation
After switching to generic framebuffer framework, we rely on the
->dumb_create routine for frame buffer creation. However, the
different domain flags used are not optimal. Add the contiguous
flag to directly allocate the scanout BO as one linear buffer.
Fixes: 087451f372bf76 ("drm/amdgpu: use generic fb helpers instead of setting up AMD own's.")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions