aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2023-04-04 20:06:48 +0000
committerThomas Hellström <[email protected]>2023-04-06 07:55:57 +0000
commit379989e7cbdc7aa7496a00ee286ec146c7599cf0 (patch)
tree6070143e89b5f9223d384b2b2e7acc9f072879bc /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentMAINTAINERS: Add entry for QAIC driver (diff)
downloadkernel-379989e7cbdc7aa7496a00ee286ec146c7599cf0.tar.gz
kernel-379989e7cbdc7aa7496a00ee286ec146c7599cf0.zip
drm/ttm/pool: Fix ttm_pool_alloc error path
When hitting an error, the error path forgot to unmap dma mappings and could call set_pages_wb() on already uncached pages. Fix this by introducing a common ttm_pool_free_range() function that does the right thing. v2: - Simplify that common function (Christian König) v3: - Rename that common function to ttm_pool_free_range() (Christian König) Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Cc: Christian König <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Christian Koenig <[email protected]> Cc: Huang Rui <[email protected]> Cc: [email protected] Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions