From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965042AbcBIATs (ORCPT ); Mon, 8 Feb 2016 19:19:48 -0500 Received: from gabe.freedesktop.org ([131.252.210.177]:51396 "EHLO gabe.freedesktop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932691AbcBIATn (ORCPT ); Mon, 8 Feb 2016 19:19:43 -0500 From: Eric Anholt To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, David Airlie , Eric Anholt Subject: [PATCH 0/3] vc4: Runtime PM and GPU reset. Date: Mon, 8 Feb 2016 16:19:36 -0800 Message-Id: <1454977179-16913-1-git-send-email-eric@anholt.net> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here's a series to re-add GPU reset, which I cut out of the driver in 8483d152db61c5baf5452b844ef65b96ee9a6cfb to deal with a build regression. Along the way, I found a bug in hang detection that seemed to be exacerbated by runtime PM. My preference would be to get this in -fixes, since without GPU reset we can end up with a totally wedged desktop (and we do still have some known GPU hangs). If not, I'm fine with the first patch to -fixes and the other two to -next. Eric Anholt (3): drm/vc4: Fix spurious GPU resets due to BO reuse. drm/vc4: Enable runtime PM. drm/vc4: Use runtime PM to power cycle the device when the GPU hangs. drivers/gpu/drm/vc4/vc4_drv.h | 13 +++++++++-- drivers/gpu/drm/vc4/vc4_gem.c | 51 ++++++++++++++++++++++++++++++++++++------- drivers/gpu/drm/vc4/vc4_v3d.c | 48 ++++++++++++++++++++++++++++++---------- 3 files changed, 90 insertions(+), 22 deletions(-) -- 2.7.0