[Intel-gfx] [PULL] drm-intel-fixes

2020-12-09 Thread Rodrigo Vivi
Hi Dave and Daniel, The commit 7c5c15dffe1e ("drm/i915/gt: Declare gen9 has 64 mocs entries!") should actually be sent last week along with the commit 777a7717d60c ("drm/i915/gt: Program mocs:63 for cache eviction on gen9"), but I had missed that and dim didn't cope with fixes for fixes. Here goe

Re: [Intel-gfx] [PATCH] drm/i915/display/tc: Only WARN once for bogus tc port flag

2020-12-09 Thread Rodrigo Vivi
On Wed, Dec 09, 2020 at 04:16:36PM -0500, Sean Paul wrote: > From: Sean Paul > > No need to spam syslog/console when we can ignore/fix the flag. besides that we are calling from multiple places anyway.. > > Signed-off-by: Sean Paul Reviewed-by: Rodrigo Vivi > ---

Re: [Intel-gfx] [PATCH] drm/i915/display: Go softly softly on initial modeset failure

2020-12-10 Thread Rodrigo Vivi
s initialised") > Signed-off-by: Chris Wilson > Cc: "Ville Syrjälä" > Cc: Rodrigo Vivi > Cc: H.J. Lu > Cc: Dave Airlie Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[Intel-gfx] [PATCH] drm/i915/dg1: Fix power gate sequence.

2020-12-18 Thread Rodrigo Vivi
sub-pipe PG is not present on DG1. Setting these bits can disable other power gates and cause GPU hangs on video playbacks. Fixes: 85a12d7eb8fe ("drm/i915/tgl: Fix Media power gate sequence.") Cc: Dale B Stimson Cc: Chris Wilson Signed-off-by: Rodrigo Vivi --- drivers/gpu/d

[Intel-gfx] [PULL] drm-intel-next

2021-01-04 Thread Rodrigo Vivi
Hi Dave and Daniel, Happy New Year. Here goes the first pull request targeting 5.12. drm-intel-next-2021-01-04: - Display hotplug fix for gen2/gen3 (Chris) - Remove trailing semicolon (Tom) - Suppress display warnings for old ifwi presend on our CI (Chris) - OA/Perf related workaround (Lionel) -

Re: [Intel-gfx] [PULL] gvt-next-fixes

2021-01-05 Thread Rodrigo Vivi
On Tue, Jan 05, 2021 at 10:36:54AM +0200, Jani Nikula wrote: > On Tue, 05 Jan 2021, Zhenyu Wang wrote: > > Ping... > > I suppose this should be merged to drm-intel-next (or drm-intel-gt-next, > or both). It was too late for next-fixes, and it's really not the kind > of fixes we need to queue to v

Re: [Intel-gfx] [PATCH] drm/i915/gt: Limit VFE threads based on GT

2021-01-07 Thread Rodrigo Vivi
On Fri, Oct 16, 2020 at 06:54:11PM +0100, Chris Wilson wrote: > MEDIA_STATE_VFE only accepts the 'maximum number of threads' in the > range [0, n-1] where n is #EU * (#threads/EU) with the number of threads > based on plaform and the number of EU based on the number of slices and > subslices. This

Re: [Intel-gfx] [PATCH 01/11] drm/i915/gt: Limit VFE threads based on GT

2021-01-11 Thread Rodrigo Vivi
/-/issues/2024 > Fixes: 47f8253d2b89 ("drm/i915/gen7: Clear all EU/L3 residual contexts") > Signed-off-by: Chris Wilson > Cc: Mika Kuoppala > Cc: Prathap Kumar Valsan > Cc: Akeem G Abodunrin > Cc: Jon Bloomfield > Cc: Rodrigo Vivi > Cc: Randy Wright > Cc:

Re: [Intel-gfx] [PATCH 02/11] drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail

2021-01-11 Thread Rodrigo Vivi
ion_setup(struct intel_engine_cs > *engine) > > GEM_BUG_ON(timeline->hwsp_ggtt != engine->status_page.vma); > > - if (IS_HASWELL(engine->i915) && engine->class == RENDER_CLASS) { > + if (IS_GEN(engine->i915, 7) && engine->class

Re: [Intel-gfx] [PATCH 03/11] drm/i915: Allow the sysadmin to override security mitigations

2021-01-11 Thread Rodrigo Vivi
dual contexts") > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen > Cc: Jon Bloomfield > Cc: Rodrigo Vivi > Cc: sta...@vger.kernel.org # v5.7 > --- > drivers/gpu/drm/i915/Makefile | 1 + > .../gpu/drm/i915/gt/intel_ring_submission.c |

Re: [Intel-gfx] [PATCH 01/11] drm/i915/gt: Limit VFE threads based on GT

2021-01-11 Thread Rodrigo Vivi
On Mon, Jan 11, 2021 at 08:51:23PM +, Chris Wilson wrote: > Quoting Rodrigo Vivi (2021-01-11 17:35:12) > > On Sun, Jan 10, 2021 at 03:03:54PM +, Chris Wilson wrote: > > > MEDIA_STATE_VFE only accepts the 'maximum number of threads' in the > > > range [

Re: [Intel-gfx] [PATCH V4] drm/i915/gen9_bc : Add TGP PCH support

2021-01-11 Thread Rodrigo Vivi
On Fri, Jan 08, 2021 at 05:39:22PM +0530, Tejas Upadhyay wrote: > We have TGP PCH support for Tigerlake and Rocketlake. Similarly > now TGP PCH can be used with Cometlake CPU. > > Changes since V3 : > - Rebased to top drm-tip commit > - dev_priv replaced with i915 for new API > -

[Intel-gfx] [PULL] drm-intel-next

2021-01-12 Thread Rodrigo Vivi
7;s calculated offset to plane SF register drm/i915: Fix HTI port checking Lee Shawn C (1): drm/i915/rkl: new rkl ddc map for different PCH Matt Roper (2): drm/i915/rkl: Add DP vswing programming tables drm/i915/dg1: Update voltage swing tables for DP Rodrigo Vivi (2):

Re: [Intel-gfx] regression on fedora 5.12 on Lenovo T400

2021-06-01 Thread Rodrigo Vivi
On Tue, May 25, 2021 at 04:28:20PM +1000, Dave Airlie wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1964252 > > dmesg below. > Feel free to point me at any fixes already in flight. Hi Dave, sorry for the delay here, but I'd like to just confirm if we are on the same page that this got fix

Re: [Intel-gfx] [PATCH v4 04/17] drm/i915/gt: Export the pinned context constructor and destructor

2021-06-01 Thread Rodrigo Vivi
On Mon, May 24, 2021 at 10:47:50PM -0700, Daniele Ceraolo Spurio wrote: > From: Chris Wilson > > Allow internal clients to create a pinned context. > > v2 (Daniele): export destructor as well, allow optional usage of custom > vm for maximum flexibility. > > Signed-off-by: Chris Wilson > Signed

Re: [Intel-gfx] [PATCH v4 05/17] drm/i915/pxp: allocate a vcs context for pxp usage

2021-06-01 Thread Rodrigo Vivi
err(>->i915->drm, "failed to create VCS ctx for PXP\n"); > + return PTR_ERR(ce); > + } > + > + pxp->ce = ce; > + > + return 0; > +} > + > +static void destroy_vcs_context(struct intel_pxp *pxp) > +{ > + intel_engi

Re: [Intel-gfx] [PATCH v4 06/17] drm/i915/pxp: Implement funcs to create the TEE channel

2021-06-01 Thread Rodrigo Vivi
locking, don't pollute dev_priv (Chris) > > v3: wait for mei PXP component to be bound. good idea. it would be useful for the case where the mei side was checking for the version instead i915 for instance... > > Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spur

Re: [Intel-gfx] [PATCH v4 08/17] drm/i915/pxp: Create the arbitrary session after boot

2021-06-01 Thread Rodrigo Vivi
> > v2: use gt->uncore->rpm (Chris) > v3: s/arb_is_in_play/arb_is_valid (Chris), move set-up to the new > init_hw function > v4: move interface defs to separate header, set arb_is valid to false > on fini (Rodrigo) > > Signed-off-by: Huang, Sean Z > Signed-off-by:

Re: [Intel-gfx] [PATCH v4 10/17] drm/i915/pxp: Implement PXP irq handler

2021-06-02 Thread Rodrigo Vivi
to common work function. > v4: improve comments, simplify wait logic (Rodrigo) > > Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spurio > Cc: Chris Wilson > Cc: Rodrigo Vivi > --- > drivers/gpu/drm/i915/Makefile| 1 + > dr

Re: [Intel-gfx] [PATCH v4 10/17] drm/i915/pxp: Implement PXP irq handler

2021-06-02 Thread Rodrigo Vivi
to common work function. > v4: improve comments, simplify wait logic (Rodrigo) > > Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spurio > Cc: Chris Wilson > Cc: Rodrigo Vivi > --- > drivers/gpu/drm/i915/Makefile| 1 + > dr

Re: [Intel-gfx] [PATCH v4 13/17] drm/i915/pxp: Enable PXP power management

2021-06-02 Thread Rodrigo Vivi
odes, simplify rpm ops (Chris), use the new worker func > v4: invalidate the objects on suspend, don't re-create the arb sesson on > resume (delayed to first submission). > > Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spurio > Cc: Chris Wilson > Cc: Rod

Re: [Intel-gfx] [PATCH v4 12/17] drm/i915/pxp: start the arb session on demand

2021-06-02 Thread Rodrigo Vivi
On Mon, May 24, 2021 at 10:47:58PM -0700, Daniele Ceraolo Spurio wrote: > Now that we can handle destruction and re-creation of the arb session, > we can postpone the start of the session to the first submission that > requires it, to avoid keeping it running with no user. > > Signed-off-by: Danie

Re: [Intel-gfx] [PATCH v4 04/17] drm/i915/gt: Export the pinned context constructor and destructor

2021-06-02 Thread Rodrigo Vivi
On Tue, Jun 01, 2021 at 02:23:00PM -0700, Daniele Ceraolo Spurio wrote: > > > On 6/1/2021 1:20 PM, Rodrigo Vivi wrote: > > On Mon, May 24, 2021 at 10:47:50PM -0700, Daniele Ceraolo Spurio wrote: > > > From: Chris Wilson > > > > > > Allow i

Re: [Intel-gfx] [PATCH v4 15/17] drm/i915/pxp: Add plane decryption support

2021-06-02 Thread Rodrigo Vivi
Cc: Bommu Krishnaiah > Cc: Huang Sean Z > Cc: Gaurav Kumar > Cc: Ville Syrjälä > Signed-off-by: Anshuman Gupta > Signed-off-by: Daniele Ceraolo Spurio Reviewed-by: Rodrigo Vivi > --- > .../gpu/drm/i915/display/intel_atomic_plane.c| 16 > dri

Re: [Intel-gfx] [PATCH v4 16/17] drm/i915/pxp: black pixels on pxp disabled

2021-06-02 Thread Rodrigo Vivi
(1 << 20) /* ICL+ */ > #define PLANE_COLOR_PIPE_CSC_ENABLE(1 << 23) /* Pre-ICL */ > #define PLANE_COLOR_CSC_MODE_BYPASS(0 << 17) > @@ -11276,6 +11277,51 @@ enum skl_power_gate { >

Re: [Intel-gfx] [PATCH v4 02/17] mei: pxp: export pavp client to me client bus

2021-06-02 Thread Rodrigo Vivi
rr_exit; > + } > + > + return 0; > + > +err_exit: > + mei_cldev_set_drvdata(cldev, NULL); > + kfree(comp_master); > + mei_cldev_disable(cldev); > +enable_err_exit: > + return ret; > +} > + > +static void mei_pxp_remove(

Re: [Intel-gfx] [PATCH v2] drm/i915: Initialize the mbus_offset to fix static analysis issue

2021-06-04 Thread Rodrigo Vivi
On Thu, Jun 03, 2021 at 03:07:54PM -0700, Manasi Navare wrote: > Static analysis identified an issue in skl_crtc_allocate_ddb where > mbus_offset may be used uninitialized. > This patch fixes it. I'm sorry, but I really cannot see what this tool is seeing... I even tried to look to our internal br

Re: [Intel-gfx] [PATCH v2] drm/i915: Initialize the mbus_offset to fix static analysis issue

2021-06-04 Thread Rodrigo Vivi
On Fri, Jun 04, 2021 at 06:22:49PM +0300, Mika Kuoppala wrote: > Rodrigo Vivi writes: > > > On Thu, Jun 03, 2021 at 03:07:54PM -0700, Manasi Navare wrote: > >> Static analysis identified an issue in skl_crtc_allocate_ddb where > >> mbus_offset may be used uninitial

Re: [Intel-gfx] [PATCH 1/6] drm/i915: Stop hand rolling drm_crtc_mask()

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 11:56:27AM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_crtc_mask() instead of hand rolling it. > > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_display.c | 5 ++--- > 1 fi

Re: [Intel-gfx] [PATCH 2/6] drm/i915: Clean up intel_get_load_detect_pipe() a bit

2021-06-09 Thread Rodrigo Vivi
clean up Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_display.c | 41 +--- > 1 file changed, 19 insertions(+), 22 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_display.c > b/drivers/gpu/drm/i915/display/intel_displ

Re: [Intel-gfx] [PATCH 3/6] drm/i915: Clean up intel_find_initial_plane_obj() a bit

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 11:56:29AM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Sort out the mess with the local variables in > intel_find_initial_plane_obj(). Get rid of all aliasing pointers > and use standard naming/types. > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i9

Re: [Intel-gfx] [PATCH 4/6] drm/i915: Clean up pre-skl wm calling convention

2021-06-09 Thread Rodrigo Vivi
e_pipe_wm(struct intel_crtc_state *crtc_state) > +static int ilk_compute_pipe_wm(struct intel_atomic_state *state, > +struct intel_crtc *crtc) > { > - struct drm_i915_private *dev_priv = to_i915(crtc_state->uapi.crtc->dev); > - struct intel_cr

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Clean up intel_fbdev_init_bios() a bit

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 11:56:31AM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Sort out the mess with the local variables in > intel_fbdev_init_bios(). Get rid of all aliasing pointers, > use standard naming/types, and introduc a few more locals

Re: [Intel-gfx] [PATCH 6/6] drm/i915: s/intel_crtc/crtc/

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 11:56:32AM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Clear out the straggler 'intel_crtc' variables. > > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/icl_dsi.c| 4 +-

Re: [Intel-gfx] [PATCH 3/6] drm/i915: Clean up intel_find_initial_plane_obj() a bit

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 03:15:54PM +0300, Ville Syrjälä wrote: > On Wed, Jun 09, 2021 at 07:36:01AM -0400, Rodrigo Vivi wrote: > > On Wed, Jun 09, 2021 at 11:56:29AM +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Sort out

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Clean up intel_fbdev_init_bios() a bit

2021-06-09 Thread Rodrigo Vivi
On Wed, Jun 09, 2021 at 07:46:28AM -0400, Rodrigo Vivi wrote: > On Wed, Jun 09, 2021 at 11:56:31AM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Sort out the mess with the local variables in > > intel_fbdev_init_bios(). Get rid of all aliasing pointe

[Intel-gfx] [PULL] drm-intel-next

2021-06-09 Thread Rodrigo Vivi
cape clock with DSI drm/i915/adl_p: Define and use ADL-P specific DP translation tables Rodrigo Vivi (1): Merge drm/drm-next into drm-intel-next Shaokun Zhang (1): drm/i915: Remove the repeated declaration Stanislav Lisovskiy (2): drm/i915/adl_p: CDCLK crawl support for AD

Re: [Intel-gfx] [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-06-10 Thread Rodrigo Vivi
On Thu, Jun 10, 2021 at 12:39:55PM +0200, Zbigniew Kempczyński wrote: > We have established previously we stop using relocations starting > from gen12 platforms with Tigerlake as an exception. We keep this > statement but we want to enable relocations conditionally for > Rocketlake and Alderlake un

Re: [Intel-gfx] [PATCH v4 12/17] drm/i915/pxp: start the arb session on demand

2021-06-11 Thread Rodrigo Vivi
On Thu, Jun 10, 2021 at 03:44:37PM -0700, Daniele Ceraolo Spurio wrote: > > > On 6/2/2021 11:14 AM, Rodrigo Vivi wrote: > > On Mon, May 24, 2021 at 10:47:58PM -0700, Daniele Ceraolo Spurio wrote: > > > Now that we can handle destruction and re-creation of the arb sessio

Re: [Intel-gfx] [PATCH v4 13/17] drm/i915/pxp: Enable PXP power management

2021-06-11 Thread Rodrigo Vivi
On Thu, Jun 10, 2021 at 03:58:13PM -0700, Daniele Ceraolo Spurio wrote: > > > On 6/2/2021 9:20 AM, Rodrigo Vivi wrote: > > On Mon, May 24, 2021 at 10:47:59PM -0700, Daniele Ceraolo Spurio wrote: > > > From: "Huang, Sean Z" > > > > > > During

Re: [Intel-gfx] [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-06-11 Thread Rodrigo Vivi
On Fri, Jun 11, 2021 at 08:09:00AM +0200, Zbigniew Kempczyński wrote: > On Thu, Jun 10, 2021 at 10:36:12AM -0400, Rodrigo Vivi wrote: > > On Thu, Jun 10, 2021 at 12:39:55PM +0200, Zbigniew Kempczyński wrote: > > > We have established previously we stop using relocations startin

Re: [Intel-gfx] [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-06-14 Thread Rodrigo Vivi
On Mon, Jun 14, 2021 at 10:35:30AM +0200, Zbigniew Kempczyński wrote: > On Fri, Jun 11, 2021 at 04:54:32AM -0400, Rodrigo Vivi wrote: > > On Fri, Jun 11, 2021 at 08:09:00AM +0200, Zbigniew Kempczyński wrote: > > > On Thu, Jun 10, 2021 at 10:36:12AM -0400, Rodrigo Vivi wrote: >

Re: [Intel-gfx] [PATCH 1/3] drm/i915: extract steered reg access to common function

2021-06-15 Thread Rodrigo Vivi
urio > Signed-off-by: Matt Roper Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/gt/intel_engine_cs.c | 41 + > drivers/gpu/drm/i915/intel_uncore.c | 55 +++ > drivers/gpu/drm/i915/intel_uncore.h | 6 +++ > 3 files

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Add GT support for multiple types of multicast steering

2021-06-15 Thread Rodrigo Vivi
On Mon, Jun 14, 2021 at 08:34:32PM -0700, Matt Roper wrote: > Although most of our multicast registers are replicated per-subslice, we > also have a small number of multicast registers that are replicated > per-l3 bank instead. For both types of multicast registers we need to > make sure we steer

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Add GT support for multiple types of multicast steering

2021-06-15 Thread Rodrigo Vivi
On Tue, Jun 15, 2021 at 05:08:20AM -0400, Rodrigo Vivi wrote: > On Mon, Jun 14, 2021 at 08:34:32PM -0700, Matt Roper wrote: > > Although most of our multicast registers are replicated per-subslice, we > > also have a small number of multicast registers that are replicated > >

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Add GT support for multiple types of multicast steering

2021-06-15 Thread Rodrigo Vivi
On Tue, Jun 15, 2021 at 08:30:23AM -0700, Matt Roper wrote: > On Tue, Jun 15, 2021 at 05:11:04AM -0400, Rodrigo Vivi wrote: > > On Tue, Jun 15, 2021 at 05:08:20AM -0400, Rodrigo Vivi wrote: > > > On Mon, Jun 14, 2021 at 08:34:32PM -0700, Matt Roper wrote: > > > >

Re: [Intel-gfx] [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-06-16 Thread Rodrigo Vivi
tion > > v3: change to GRAPHICS_VER() (Zbigniew) > > v4: remove RKL from flag as it is already shipped (Rodrigo) > > v5: prepare patch to be used within topic/intel-for-CI branch only > > Signed-off-by: Zbigniew Kempczyński > Cc: Dave Airlie > Cc: Daniel Vetter

Re: [Intel-gfx] [PATCH v2.1 2/3] drm/i915: Add GT support for multiple types of multicast steering

2021-06-16 Thread Rodrigo Vivi
ters when the support for our next upcoming platform arrives. > > v2: > - Use entry->end==0 as table terminator. (Rodrigo) > - Grab forcewake in wa_list_verify() now that we're using accessors >that assume forcewake is already held. > > Cc: Rodrigo Vivi >

Re: [Intel-gfx] [PATCH v2.1 3/3] drm/i915: Add support for explicit L3BANK steering

2021-06-16 Thread Rodrigo Vivi
ialized for real > use. Multicast register steering is already an area that causes enough > confusion; no need to complicate it with what's effectively dead code. > > v2: > - Use gt->uncore instead of gt->i915->uncore. (Tvrtko) > - Use {} as table terminator. (

Re: [Intel-gfx] [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-06-17 Thread Rodrigo Vivi
> > Signed-off-by: Zbigniew Kempczyński > Cc: Dave Airlie > Cc: Daniel Vetter > Cc: Jason Ekstrand > Cc: Rodrigo Vivi > Acked-by: Dave Airlie > Acked-by: Rodrigo Vivi > --- > .../gpu/drm/i915/gem/i915_gem_execbuffer.c| 21 ++- >

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix up skl_program_plane() pxp stuff

2021-10-07 Thread Rodrigo Vivi
weird PLANE_COLOR_CTL RMW in there. I guess because > force_black was computed way too late originally, but that is now > sorted. I would be hesitant in removing that, but since Juston confirmed that everything works well for him with these patches, it is fine by me. Great clean-up. Reviewed-by

[Intel-gfx] [PATCH 2/5] drm/i915: Clean up PXP Kconfig info.

2021-10-14 Thread Rodrigo Vivi
d in the config menu entry, only in the help. Cc: Alan Previn Cc: Daniele Ceraolo Spurio Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig ind

[Intel-gfx] [PATCH 3/5] drm/i915/display: Random clean up of comments around display version.

2021-10-14 Thread Rodrigo Vivi
We should prefer Display version over the old global "gen" thing. Of course we are not changing functions and variables and the legacy there, but at least let's start to document things properly and set some good examples. Cc: Jani Nikula Signed-off-by: Rodrigo Vivi --- drive

[Intel-gfx] [PATCH 1/5] drm/i915: Clean-up bonding debug message.

2021-10-14 Thread Rodrigo Vivi
We should stop using the gen name and the "+" to reference the newer platforms. And on this case specifically we can simplify the debug message even further. Cc: Jani Nikula Cc: Matthew Brost Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- 1 file

[Intel-gfx] [PATCH 5/5] drm/i915: Other random display and graphics version comment clean-ups

2021-10-14 Thread Rodrigo Vivi
We should prefer Graphics and Display version over the old global "gen" thing. Of course we are not changing functions and variables and the legacy there, but at least let's start to document things properly and set some good examples. Cc: Jani Nikula Cc: Joonas Lahtinen Signed-

[Intel-gfx] [PATCH 4/5] drm/i915/gt: Random clean up of comments around display version.

2021-10-14 Thread Rodrigo Vivi
es. Cc: Joonas Lahtinen Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 +- drivers/gpu/drm/i915/gt/intel_lrc.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/intel_execlists_submission.c b/

[Intel-gfx] [PATCH] drm/i915: Clean up PXP Kconfig info.

2021-10-15 Thread Rodrigo Vivi
d in the config menu entry, only in the help. Cc: Alan Previn Cc: Daniele Ceraolo Spurio Signed-off-by: Rodrigo Vivi Reviewed-by: Daniele Ceraolo Spurio --- drivers/gpu/drm/i915/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/Kconfig b/

[Intel-gfx] [PATCH] drm/i915: Clean-up bonding debug message.

2021-10-15 Thread Rodrigo Vivi
We should stop using the gen name and the "+" to reference the newer platforms. And on this case specifically we can simplify the debug message even further. Cc: Jani Nikula Cc: Matthew Brost Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- 1 file

[Intel-gfx] [PATCH] drm/i915: Don't propagate the gen split confusion further

2021-10-15 Thread Rodrigo Vivi
There's no such thing as gen13. It is either display 13 or graphics 13. Don't propagate the gen12 confusion further. Cc: Joonas Lahtinen Cc: Jani Nikula Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Intel-gfx] [PULL] drm-intel-next

2021-10-15 Thread Rodrigo Vivi
-mid.h include Matt Roper (1): drm/i915/uapi: Add comment clarifying purpose of I915_TILING_* values Rodrigo Vivi (2): Merge drm/drm-next into drm-intel-next drm/i915: Clean up PXP Kconfig info. Ville Syrjälä (14): drm/i915: Extend the async flip VT-d w/a to skl/bxt

Re: [Intel-gfx] [PATCH] drm/i915: Don't propagate the gen split confusion further

2021-10-18 Thread Rodrigo Vivi
On Mon, Oct 18, 2021 at 11:25:00AM +0300, Jani Nikula wrote: > On Fri, 15 Oct 2021, Rodrigo Vivi wrote: > > There's no such thing as gen13. It is either display 13 > > or graphics 13. Don't propagate the gen12 confusion > > further. > > Reviewed-by: Jani N

Re: [Intel-gfx] [PATCH] drm/i915: Clean-up bonding debug message.

2021-10-18 Thread Rodrigo Vivi
On Mon, Oct 18, 2021 at 11:24:21AM +0300, Jani Nikula wrote: > On Fri, 15 Oct 2021, Rodrigo Vivi wrote: > > We should stop using the gen name and the "+" to reference > > the newer platforms. > > And on this case specifically we can simplify the debug > > m

Re: [Intel-gfx] [PATCH] drm/i915/display: Exit PSR when doing async flips

2021-11-01 Thread Rodrigo Vivi
On Fri, Oct 29, 2021 at 05:18:01PM -0700, José Roberto de Souza wrote: > Changing the buffer in the middle of the scanout then entering an > period of flip idleness will cause part of the previous buffer being > diplayed to user when PSR is enabled. > > So here disabling and scheduling activation

Re: [Intel-gfx] [PATCH v9 12/17] drm/i915/pxp: Enable PXP power management

2021-09-14 Thread Rodrigo Vivi
gt; Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spurio > Cc: Chris Wilson > Cc: Rodrigo Vivi ops, I had missed this patch. Sorry and thanks Alan for the ping. > --- > drivers/gpu/drm/i915/Makefile| 1 + > drivers/gpu/drm/i915/gt/intel_gt_pm.c

Re: [Intel-gfx] [PATCH v9 12/17] drm/i915/pxp: Enable PXP power management

2021-09-15 Thread Rodrigo Vivi
On Wed, Sep 15, 2021 at 08:11:54AM -0700, Daniele Ceraolo Spurio wrote: > > > On 9/14/2021 12:13 PM, Rodrigo Vivi wrote: > > On Fri, Sep 10, 2021 at 08:36:22AM -0700, Daniele Ceraolo Spurio wrote: > > > From: "Huang, Sean Z" > > > > > > Du

Re: [Intel-gfx] [PATCH v9 03/17] drm/i915/pxp: define PXP device flag and kconfig

2021-09-15 Thread Rodrigo Vivi
IFWIs that do not > > support PXP, so we need it to be an opt-in until we add support to query > > the caps from the mei device. > > > > Signed-off-by: Daniele Ceraolo Spurio > > Reviewed-by: Rodrigo Vivi > > --- > > drivers/gpu/drm/i915/Kconfig

Re: [Intel-gfx] [PATCH v9 04/17] drm/i915/pxp: allocate a vcs context for pxp usage

2021-09-15 Thread Rodrigo Vivi
On Wed, Sep 15, 2021 at 04:53:35PM +0300, Jani Nikula wrote: > On Fri, 10 Sep 2021, Daniele Ceraolo Spurio > wrote: > > diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp.h > > b/drivers/gpu/drm/i915/pxp/intel_pxp.h > > new file mode 100644 > > index ..e87550fb9821 > > --- /dev/null > >

Re: [Intel-gfx] [PATCH v9 12/17] drm/i915/pxp: Enable PXP power management

2021-09-16 Thread Rodrigo Vivi
On Wed, Sep 15, 2021 at 11:23:45AM -0400, Rodrigo Vivi wrote: > On Wed, Sep 15, 2021 at 08:11:54AM -0700, Daniele Ceraolo Spurio wrote: > > > > > > On 9/14/2021 12:13 PM, Rodrigo Vivi wrote: > > > On Fri, Sep 10, 2021 at 08:36:22AM -0700, Daniele Ceraolo Spurio wro

Re: [Intel-gfx] [PATCH v9 04/17] drm/i915/pxp: allocate a vcs context for pxp usage

2021-09-16 Thread Rodrigo Vivi
On Thu, Sep 16, 2021 at 02:06:56PM +0300, Jani Nikula wrote: > On Wed, 15 Sep 2021, Rodrigo Vivi wrote: > > On Wed, Sep 15, 2021 at 04:53:35PM +0300, Jani Nikula wrote: > >> On Fri, 10 Sep 2021, Daniele Ceraolo Spurio > >> wrote: > >> > diff --git

Re: [Intel-gfx] [PATCH] drm/i915: Make wa list per-gt

2021-09-20 Thread Rodrigo Vivi
ke the GT workaround functions and multicast > steering setup per-gt. > > Cc: Tvrtko Ursulin > Cc: Daniele Ceraolo Spurio > Signed-off-by: Venkata Sandeep Dhanalakota > Signed-off-by: Matt Roper Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/gt/intel_gt.c

Re: [Intel-gfx] [PATCH v10 09/17] drm/i915/pxp: Implement PXP irq handler

2021-09-20 Thread Rodrigo Vivi
work function. > v4: improve comments, simplify wait logic (Rodrigo) > v5: unconditionally set interrupts, rename state_attacked var (Rodrigo) > > Signed-off-by: Alan Previn > Signed-off-by: Huang, Sean Z > Signed-off-by: Daniele Ceraolo Spurio > Cc: Chris Wilson > Cc:

Re: [Intel-gfx] [PATCH v10 10/17] drm/i915/pxp: interfaces for using protected objects

2021-09-20 Thread Rodrigo Vivi
put race between pxp_inval and > context_close, add usage examples (Rodrigo) can you please add the v10 change explanation here instead of only in the cover letter? (apply this comment to all the modified patches) > > Signed-off-by: Alan Previn > Signed-off-by: Daniele Ceraolo Sp

Re: [Intel-gfx] [PATCH v10 09/17] drm/i915/pxp: Implement PXP irq handler

2021-09-20 Thread Rodrigo Vivi
On Mon, Sep 20, 2021 at 04:18:10PM +, Teres Alexis, Alan Previn wrote: > > On Mon, 2021-09-20 at 12:04 -0400, Rodrigo Vivi wrote: > > On Fri, Sep 17, 2021 at 09:20:00PM -0700, Alan Previn wrote: > > > From: "Huang, Sean Z" > > > > > > The H

Re: [Intel-gfx] [PATCH 3/3] drm/i915: remove some debug-only registers from MCHBAR

2021-09-24 Thread Rodrigo Vivi
On Tue, Jul 06, 2021 at 04:44:30PM -0700, Lucas De Marchi wrote: > On Thu, Nov 05, 2020 at 10:02:27AM +0200, Joonas Lahtinen wrote: > > Quoting Lucas De Marchi (2020-11-05 03:04:22) > > > On Wed, Nov 04, 2020 at 11:55:15AM +0200, Joonas Lahtinen wrote: > > > >Quoting Lucas De Marchi (2020-10-27 06:

[Intel-gfx] [PULL] drm-intel-next

2021-10-04 Thread Rodrigo Vivi
11+ Matt Roper (3): drm/i915: Only access SFC_DONE when media domain is not fused off drm/i915/adl_p: Also disable underrun recovery with MSO drm/i915/dg2: Memory latency values from pcode must be doubled Radhakrishna Sripada (1): drm/i915: Update memory bandwidth parameters Rodr

Re: [Intel-gfx] [PATCH] drm/i915: Correct the docs for intel_engine_cmd_parser

2021-07-20 Thread Rodrigo Vivi
rampoline: true if we need to trampoline into privileged execution I was wondering if we should also return the original text, but this one here looks better. Reviewed-by: Rodrigo Vivi > * > * Parses the specified batch buffer looking for privilege violations as > * describe

Re: [Intel-gfx] [PATCH] drm/i915: Correct the docs for intel_engine_cmd_parser

2021-07-20 Thread Rodrigo Vivi
On Tue, Jul 20, 2021 at 04:25:21PM -0400, Rodrigo Vivi wrote: > On Tue, Jul 20, 2021 at 01:21:08PM -0500, Jason Ekstrand wrote: > > In c9d9fdbc108a ("drm/i915: Revert "drm/i915/gem: Asynchronous > > cmdparser""), the parameters to intel_engine_cmd_parser() we

Re: [Intel-gfx] [PATCH] drm/i915: Correct the docs for intel_engine_cmd_parser

2021-07-21 Thread Rodrigo Vivi
On Tue, Jul 20, 2021 at 04:04:59PM -0500, Jason Ekstrand wrote: > On Tue, Jul 20, 2021 at 3:26 PM Rodrigo Vivi wrote: > > > > On Tue, Jul 20, 2021 at 04:25:21PM -0400, Rodrigo Vivi wrote: > > > On Tue, Jul 20, 2021 at 01:21:08PM -0500, Jason Ekstrand wrote: > >

Re: [Intel-gfx] 5.14-rc2 warnings with kvmgvt

2021-07-21 Thread Rodrigo Vivi
On Wed, Jul 21, 2021 at 01:10:49PM +0200, Christoph Hellwig wrote: > Hi all, > > I'm trying to test some changes for the gvt code, but even with a baseline > 5.14-rc2 host and guest the 915 driver does not seem overly happy: Is this a regression over -rc1 or over 5.13? Bisect possible? Could you

Re: [Intel-gfx] [PATCH] drm/i915: Correct the docs for intel_engine_cmd_parser

2021-07-21 Thread Rodrigo Vivi
On Wed, Jul 21, 2021 at 10:25:27AM -0500, Jason Ekstrand wrote: > Would you mind pushing? I still don't have those magic powers. :-) > > --Jason > > On Wed, Jul 21, 2021 at 5:05 AM Rodrigo Vivi wrote: > > > > On Tue, Jul 20, 2021 at 04:04:59PM -0500, Jason Ekst

Re: [Intel-gfx] 5.14-rc2 warnings with kvmgvt

2021-07-21 Thread Rodrigo Vivi
On Wed, Jul 21, 2021 at 09:40:03PM +0100, Christoph Hellwig wrote: > On Wed, Jul 21, 2021 at 04:43:44PM +0100, Christoph Hellwig wrote: > > > > I'm trying to test some changes for the gvt code, but even with a > > > > baseline > > > > 5.14-rc2 host and guest the 915 driver does not seem overly hap

[Intel-gfx] [PATCH] drm/i915/bios: Fix ports mask

2021-07-21 Thread Rodrigo Vivi
3ae04c0c7e63 ("drm/i915/bios: limit default outputs to ports A through F") Cc: Christoph Hellwig Fixes: 3ae04c0c7e63 ("drm/i915/bios: limit default outputs to ports A through F") Cc: Lucas De Marchi Cc: Ville Syrjälä Cc: Jani Nikula Signed-off-by: Rodrigo Vivi --- drivers/

[Intel-gfx] [PULL] drm-intel-fixes

2021-07-22 Thread Rodrigo Vivi
ors on awaiting already signaled fences" drm/i915: Correct the docs for intel_engine_cmd_parser Rodrigo Vivi (1): Merge tag 'gvt-fixes-2021-07-15' of https://github.com/intel/gvt-linux into drm-intel-fixes drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 227 ++---

[Intel-gfx] [CI] drm/i915/bios: Fix ports mask

2021-07-22 Thread Rodrigo Vivi
le Syrjälä Cc: Jani Nikula Signed-off-by: Rodrigo Vivi Reviewed-by: José Roberto de Souza Reviewed-by: Lucas De Marchi Tested-by: Christoph Hellwig --- drivers/gpu/drm/i915/display/intel_bios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/int

Re: [Intel-gfx] [PATCH] drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs()

2021-07-22 Thread Rodrigo Vivi
le. > > Avoid the issue by splitting versions 9 and 10 in intel_setup_outputs(), > which also makes it more clear what code path it's taking for each > version. > > Fixes: 5a9d38b20a5a ("drm/i915/display: hide workaround for broken vbt in > intel_bios.c") > Cc: Jan

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/bios: Fix ports mask (rev2)

2021-07-22 Thread Rodrigo Vivi
On Thu, Jul 22, 2021 at 03:09:13PM -, Patchwork wrote: >Patch Details > >Series: drm/i915/bios: Fix ports mask (rev2) >URL: [1]https://patchwork.freedesktop.org/series/92850/ >State: failure >Details: >[2]https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20680/i

[Intel-gfx] [CI] drm/i915/bios: Fix ports mask

2021-07-23 Thread Rodrigo Vivi
le Syrjälä Cc: Jani Nikula Signed-off-by: Rodrigo Vivi Reviewed-by: José Roberto de Souza Reviewed-by: Lucas De Marchi Tested-by: Christoph Hellwig --- drivers/gpu/drm/i915/display/intel_bios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/int

Re: [Intel-gfx] [PATCH 28/30] drm/i915: rename/remove CNL registers

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:12PM -0700, Lucas De Marchi wrote: > Remove registers that are not used anymore due to CNL removal and rename > those that are. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/i915_re

Re: [Intel-gfx] [PATCH 27/30] drm/i915: remove GRAPHICS_VER == 10

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:11PM -0700, Lucas De Marchi wrote: > Replace all remaining handling of GRAPHICS_VER {==,>=} 10 with > {==,>=} 11. With the removal of CNL, there is no platform with graphics > version equals 10. > > Signed-off-by: Lucas De Marchi Revi

Re: [Intel-gfx] [PATCH 29/30] drm/i915: replace random CNL comments

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:13PM -0700, Lucas De Marchi wrote: > Cleanup remaining cases that we find CNL in the codebase. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_bios.c | 2 +- > drivers/gp

Re: [Intel-gfx] [PATCH 17/30] drm/i915/display: rename CNL references in skl_scaler.c

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:01PM -0700, Lucas De Marchi wrote: > With the removal of CNL, let's consider GLK as the first platform using > those constants since GLK has DISPLAY_VER == 10. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drive

Re: [Intel-gfx] [PATCH 30/30] drm/i915: switch num_scalers/num_sprites to consider DISPLAY_VER

2021-07-26 Thread Rodrigo Vivi
else if (GRAPHICS_VER(dev_priv) >= 11) > + else if (DISPLAY_VER(dev_priv) >= 11) > for_each_pipe(dev_priv, pipe) > runtime->num_sprites[pipe] = 6; > else if (IS_GEMINILAKE(dev_priv)) while at it we could probably change this to DISPLAY_

Re: [Intel-gfx] [PATCH 21/30] drm/i915: remove explicit CNL handling from intel_pch.c

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:05PM -0700, Lucas De Marchi wrote: > Remove references for CNL from pch detection. for a moment I almost thought you were removing the CNP support... > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH 02/30] drm/i915/display: split DISPLAY_VER 9 and 10 in intel_setup_outputs()

2021-07-26 Thread Rodrigo Vivi
On Sat, Jul 24, 2021 at 10:02:15PM -0700, Lucas De Marchi wrote: > On Sat, Jul 24, 2021 at 06:41:21PM +0100, Christoph Hellwig wrote: > > Still tests fine: > > > > Tested-by: Christoph Hellwig > > I just pushed this to drm-intel-next as part of another series and > added your Tested-by. > > Ro

Re: [Intel-gfx] [PATCH 26/30] drm/i915: finish removal of CNL

2021-07-26 Thread Rodrigo Vivi
breakages > due to changing the headers. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/i915_drv.h | 7 +-- > drivers/gpu/drm/i915/i915_pci.c | 23 +-- > drivers/gpu/drm/i915/i915_perf.

Re: [Intel-gfx] [PATCH 20/30] drm/i915: remove explicit CNL handling from intel_mocs.c

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:04PM -0700, Lucas De Marchi wrote: > Only one reference to CNL that is not needed, but code is the same for > GEN9_BC, so leave the code around and just remove the special > case for CNL. > > Signed-off-by: Lucas De Marchi Reviewed-b

Re: [Intel-gfx] [PATCH 14/30] drm/i915/display: remove explicit CNL handling from skl_universal_plane.c

2021-07-26 Thread Rodrigo Vivi
Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/skl_universal_plane.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c > b/drivers/gpu/drm/i

Re: [Intel-gfx] [PATCH 24/30] drm/i915: rename CNL references in intel_dram.c

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:11:08PM -0700, Lucas De Marchi wrote: > With the removal of CNL, let's consider ICL as the first platform using > those constants. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm

Re: [Intel-gfx] [PATCH 15/30] drm/i915/display: remove explicit CNL handling from intel_display_power.c

2021-07-26 Thread Rodrigo Vivi
On Fri, Jul 23, 2021 at 05:10:59PM -0700, Lucas De Marchi wrote: > The only real platform with DISPLAY_VER == 10 is GLK. We don't need to > handle CNL explicitly in intel_display_power.c. > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- >

Re: [Intel-gfx] [PATCH 12/30] drm/i915/display: remove explicit CNL handling from intel_dpll_mgr.c

2021-07-26 Thread Rodrigo Vivi
CFLAGS=-Wunused drivers/gpu/drm/i915/display/intel_dpll_mgr.o good idea... > > Signed-off-by: Lucas De Marchi Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 586 +++--- > drivers/gpu/drm/i915/i915_reg.h | 4 +- > 2 files

  1   2   3   4   5   6   7   8   9   10   >