[Intel-gfx] Can't drive 4K monitor at full resolution over DP

2021-11-13 Thread Bryan O'Sullivan
I have a new Framework laptop running Fedora 35, stock kernel package 5.14.16-301, BDB version 240. My CPU/GPU is an 11th gen i7-1165G7, connected via a USB-C-to-DP cable to a 2014-era Dell P2715Q monitor that supports 3840x2160@60Hz over DP (my Mac drives it this way just fine). With i915 debugg

Re: [Intel-gfx] [PATCH] drm/i915: Skip remap_io_mapping() for non-x86 platforms

2021-11-13 Thread Lucas De Marchi
On Sat, Nov 13, 2021 at 12:18:10AM +0200, Jani Nikula wrote: On Fri, 12 Nov 2021, Mullati Siva wrote: The _PAGE_CACHE_MASK macro is not defined in non-x86 architectures and it's been used in remap_io_mapping(). Only hw that supports mappable aperture would hit this path remap_io_mapping(), So s

Re: [Intel-gfx] [PATCH v4 1/3] drm/i915: Introduce new macros for i915 PTE

2021-11-13 Thread Lucas De Marchi
On Fri, Nov 12, 2021 at 05:47:27PM -0800, Matt Roper wrote: On Fri, Nov 12, 2021 at 05:42:28PM -0800, Michael Cheng wrote: Thanks for the feed back! I feel like using something name GEN6 or BYT for a platform that's not GEN6 or BYT could be a bit confusing, that's why we decided to go with somet

Re: [Intel-gfx] [PATCH v4 1/3] drm/i915: Introduce new macros for i915 PTE

2021-11-13 Thread Lucas De Marchi
On Fri, Nov 12, 2021 at 05:31:46PM -0800, Matt Roper wrote: On Fri, Nov 12, 2021 at 05:28:09PM -0800, Matt Roper wrote: On Wed, Nov 10, 2021 at 04:45:47PM -0800, Michael Cheng wrote: > Certain functions within i915 uses macros that are defined for > specific architectures by the mmu, such as _PA