diff options
author | Zack Rusin <zackr@vmware.com> | 2021-06-09 19:22:59 +0200 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2021-06-12 06:00:48 +0200 |
commit | d92223ead97cd697abe76c5b7a78160d6910a90d (patch) | |
tree | 473c4b210f3c40dc8aaaf0767d4d5d59f0a23dc2 /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | |
parent | arm64: dts: qcom: sc7180-trogdor: Move panel under the bridge chip (diff) | |
download | linux-d92223ead97cd697abe76c5b7a78160d6910a90d.tar.xz linux-d92223ead97cd697abe76c5b7a78160d6910a90d.zip |
drm/vmwgfx: Simplify devcaps code
Make devcaps code self-contained so that it's easier to cache
and operate on them.
As the number of devcaps got bigger the code dealing with them
got more and more tricky. Lets create a central place to deal
with all the complexity. This lets us remove the lock we used
to require to deal with register write races because we only
read the devcaps at initialization.
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-2-zackr@vmware.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
0 files changed, 0 insertions, 0 deletions