Re: [PATCH v5 5/9] drm/i915/xehpsdv: factor out function to read RP_STATE_CAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 12, 2021 at 04:14:11PM -0700, Lucas De Marchi wrote:
On Thu, Aug 12, 2021 at 03:49:17PM -0700, Jose Souza wrote:
On Thu, 2021-08-05 at 09:36 -0700, Matt Roper wrote:
From: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

Instead of maintaining the same if ladder in 3 different places, add a
function to read RP_STATE_CAP.


gt_perf_status looks a good next candidate to have the same handling as rp_state_cap

I was actually hoping to remove it:
https://patchwork.freedesktop.org/patch/397131/

Discussion there stalled though. +Joonas

and btw, the main reason for that patch is xehpsdv: we shouldn't
access any register from the MCHBAR mirror

Lucas De Marchi



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux