diff options
| author | Maíra Canal <[email protected]> | 2024-11-06 12:16:51 +0000 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2024-11-11 11:13:56 +0000 |
| commit | e987e22e9229d70c2083a91cc61269b2c4924955 (patch) | |
| tree | fda156fd1a3b7edb278131357f4443333e53dbfc /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | rockchip/drm: vop2: add support for gamma LUT (diff) | |
| download | kernel-e987e22e9229d70c2083a91cc61269b2c4924955.tar.gz kernel-e987e22e9229d70c2083a91cc61269b2c4924955.zip | |
drm/v3d: Fix performance counter source settings on V3D 7.x
When the new register addresses were introduced for V3D 7.x, we added
new masks for performance counter sources on V3D 7.x. Nevertheless,
we never apply these new masks when setting the sources.
Fix the performance counter source settings on V3D 7.x by introducing
a new macro, `V3D_SET_FIELD_VER`, which allows fields setting to vary
by version. Using this macro, we can provide different values for
source mask based on the V3D version, ensuring that sources are
correctly configure on V3D 7.x.
Fixes: 0ad5bc1ce463 ("drm/v3d: fix up register addresses for V3D 7.x")
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Christian Gmeiner <[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
