diff options
author | Bastian Beranek <bastian.beischer@rwth-aachen.de> | 2021-01-21 15:27:36 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-01-29 11:02:14 +1000 |
commit | fd55b61ebd31449549e14c33574825d64de2b29b (patch) | |
tree | cc7c10184647cfb8678ddfa8f89a784b13cc06bb /crypto/lzo.c | |
parent | d502297008142645edf5c791af424ed321e5da84 (diff) |
drm/nouveau/dispnv50: Restore pushing of all data.
Commit f844eb485eb056ad3b67e49f95cbc6c685a73db4 introduced a regression for
NV50, which lead to visual artifacts, tearing and eventual crashes.
In the changes of f844eb485eb056ad3b67e49f95cbc6c685a73db4 only the first line
was correctly translated to the new NVIDIA header macros:
- PUSH_NVSQ(push, NV827C, 0x0110, 0,
- 0x0114, 0);
+ PUSH_MTHD(push, NV827C, SET_PROCESSING,
+ NVDEF(NV827C, SET_PROCESSING, USE_GAIN_OFS, DISABLE));
The lower part ("0x0114, 0") was probably omitted by accident.
This patch restores the push of the missing data and fixes the regression.
Signed-off-by: Bastian Beranek <bastian.beischer@rwth-aachen.de>
Fixes: f844eb485eb05 ("drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set()")
Link: https://gitlab.freedesktop.org/drm/nouveau/-/issues/14
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions