radv: require DRM 3.35+
Linux Kernel 4.15+ is now required for RADV, this kernel has been released 3 years ago and should be in most modern distros. This allows us to remove a lot of legacy code for fence/semaphore. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9800>
This commit is contained in:

committed by
Marge Bot

parent
fb6814cd91
commit
1df4f11eb5
@@ -127,12 +127,6 @@ radv_dump_debug_registers(struct radv_device *device, FILE *f)
|
||||
fprintf(f, "Memory-mapped registers:\n");
|
||||
radv_dump_mmapped_reg(device, f, R_008010_GRBM_STATUS);
|
||||
|
||||
/* No other registers can be read on DRM < 3.1.0. */
|
||||
if (info->drm_minor < 1) {
|
||||
fprintf(f, "\n");
|
||||
return;
|
||||
}
|
||||
|
||||
radv_dump_mmapped_reg(device, f, R_008008_GRBM_STATUS2);
|
||||
radv_dump_mmapped_reg(device, f, R_008014_GRBM_STATUS_SE0);
|
||||
radv_dump_mmapped_reg(device, f, R_008018_GRBM_STATUS_SE1);
|
||||
|
Reference in New Issue
Block a user