Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display i915: Quietly di...
details: https://anonhg.NetBSD.org/src/rev/204f14696298
branches: trunk
changeset: 1028745:204f14696298
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:55:07 2021 +0000
description:
i915: Quietly disable vblank-related rps boost for now.
Need a way to call a function on vblank, which cv(9) (generally
reasonably) doesn't give us. `Just' a performance thing, so...
diffstat:
sys/external/bsd/drm2/dist/drm/i915/display/intel_display.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 82f35e77408b -r 204f14696298 sys/external/bsd/drm2/dist/drm/i915/display/intel_display.c
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.c Sun Dec 19 11:54:57 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.c Sun Dec 19 11:55:07 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_display.c,v 1.3 2021/12/19 11:38:03 riastradh Exp $ */
+/* $NetBSD: intel_display.c,v 1.4 2021/12/19 11:55:07 riastradh Exp $ */
/*
* Copyright © 2006-2007 Intel Corporation
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_display.c,v 1.3 2021/12/19 11:38:03 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_display.c,v 1.4 2021/12/19 11:55:07 riastradh Exp $");
#include "intel_display.h" /* for pipe_drmhack */
@@ -15674,6 +15674,7 @@
static void add_rps_boost_after_vblank(struct drm_crtc *crtc,
struct dma_fence *fence)
{
+#ifndef __NetBSD__ /* XXX i915 rps boost */
struct wait_rps_boost *wait;
if (!dma_fence_is_i915(fence))
@@ -15685,9 +15686,6 @@
if (drm_crtc_vblank_get(crtc))
return;
-#ifdef __NetBSD__
- panic("NYI %p", &wait);
-#else
wait = kmalloc(sizeof(*wait), GFP_KERNEL);
if (!wait) {
drm_crtc_vblank_put(crtc);
Home |
Main Index |
Thread Index |
Old Index