Skip to content

Commit

Permalink
riscv: linux: vout: fix cusor problem
Browse files Browse the repository at this point in the history
fix cusor bluring problem of debian

Signed-off-by: keith <keith.zhao@starfivetech.com>
  • Loading branch information
starfivesyangc committed Dec 19, 2022
1 parent 2c4f64f commit 30289b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/verisilicon/vs_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/vs_drm.h>
#include <soc/starfive/vic7100.h>

#include "vs_type.h"
#include "vs_crtc.h"
Expand Down Expand Up @@ -283,6 +284,7 @@ static void vs_plane_atomic_update(struct drm_plane *plane,

vs_obj = vs_fb_get_gem_obj(fb, i);
vs_plane->dma_addr[i] = vs_obj->iova + fb->offsets[i];
starfive_flush_dcache(vs_plane->dma_addr[i], vs_obj->size);
}

plane_state->status.src = drm_plane_state_src(state);
Expand Down

0 comments on commit 30289b2

Please sign in to comment.