1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/nouveau/include/nvhw/class
Lyude Paul 23244f67ed drm/nouveau/kms/nvd9-nv138: Fix CRC calculation for the cursor channel
Something that didn't get noticed until I started running cursor tests:
we're accidentally disabling an option for CRC calculation that's enabled
by default: WidePipeCrc, which controls whether we use the full width of
the data in the display pipe in order calculate CRCs. Having this disabled
apparently causes frames with the cursor plane enabled to generate
different CRCs than frames without the cursor plane enabled, even if the
frames are pixel-equivalent.

So, let's make sure to enable this and fix a bunch of cursor related tests
in IGT.

v2:
* Nvidia added the specific bit we were using to fix this issues to
  open-gpu-docs, so pull in the actual macro definitions for it

Cc: Martin Peres <martin.peres@free.fr>
Cc: Jeremy Cline <jcline@redhat.com>
Cc: Simon Ser <contact@emersion.fr>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
2021-11-12 23:46:03 +01:00
..
cl006c.h drm/nouveau/fbcon: convert accel_init() to new push macros 2020-07-24 18:50:56 +10:00
cl006e.h drm/nouveau/fence: use NVIDIA's headers for emit() 2020-07-24 18:51:04 +10:00
cl0039.h drm/nouveau/bo: use NVIDIA's headers for move init() 2020-07-24 18:51:04 +10:00
cl176e.h drm/nouveau/fence: use NVIDIA's headers for sync() 2020-07-24 18:51:04 +10:00
cl206e.h drm/nouveau/fbcon: convert accel_init() to new push macros 2020-07-24 18:50:56 +10:00
cl502d.h drm/nouveau/fbcon/nv50-: use NVIDIA's headers for accel_init() 2020-07-24 18:51:03 +10:00
cl507a.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wimm space() 2020-07-24 18:50:58 +10:00
cl507c.h drm/nouveau/kms/nv50-: convert wndw sema_set() to new push macros 2020-07-24 18:50:52 +10:00
cl507d.h drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
cl507e.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
cl826f.h drm/nouveau/fence: use NVIDIA's headers for emit() 2020-07-24 18:51:04 +10:00
cl827c.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
cl827d.h drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_olut_set() 2020-07-24 18:51:02 +10:00
cl827e.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw ntfy_reset() 2020-07-24 18:50:59 +10:00
cl837d.h drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
cl887d.h drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
cl902d.h drm/nouveau/fbcon/nv50-: use NVIDIA's headers for accel_init() 2020-07-24 18:51:03 +10:00
cl906f.h drm/nouveau/fbcon: convert accel_init() to new push macros 2020-07-24 18:50:56 +10:00
cl907c.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw csc_set() 2020-07-24 18:50:59 +10:00
cl907d.h drm/nouveau/kms/nvd9-nv138: Fix CRC calculation for the cursor channel 2021-11-12 23:46:03 +01:00
cl907e.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
cl917d.h drm/nouveau/kms/gk104-gp1xx: Fix > 64x64 cursors 2021-01-29 11:03:11 +10:00
cl5039.h drm/nouveau/bo: use NVIDIA's headers for move init() 2020-07-24 18:51:04 +10:00
cl9039.h drm/nouveau/bo: use NVIDIA's headers for move init() 2020-07-24 18:51:04 +10:00
cla0b5.h drm/nouveau/bo: use NVIDIA's headers for move move() 2020-07-24 18:51:04 +10:00
clc37a.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wimm point() 2020-07-24 18:50:58 +10:00
clc37b.h
clc37d.h drm/nouveau/kms/nv50-: use NVIDIA's headers for core init() 2020-07-24 18:51:00 +10:00
clc37e.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw sema_set() 2020-07-24 18:50:58 +10:00
clc57d.h drm/nouveau/kms/nv140-: Use hard-coded wndws or core channel for CRC channel 2021-11-12 23:46:03 +01:00
clc57e.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw csc_set() 2020-07-24 18:50:59 +10:00