[PATCH] drm/ast: Allocate initial CRTC state of the correct size

2020-04-21 Thread Konstantin Khlebnikov
] drm_fbdev_generic_setup+0xd2/0x155 [ 21.470602] ast_driver_load+0x688/0x850 [ast] <...> [ 21.472625] == Allocating enough memory for struct ast_crtc_state in a custom ast CRTC reset handler fixes the problem. Signed-off-by: Kons

Re: [PATCH] drm/ast: Allocate initial CRTC state of the correct size

2020-04-21 Thread Konstantin Khlebnikov
On 20/04/2020 15.55, Thomas Zimmermann wrote: Hi Konstantin Am 20.04.20 um 14:45 schrieb Konstantin Khlebnikov: I've stumbled upon this too. Trivial fix was posted but stuck in review. This is patch from Thomas Zimmermann changed according to suggestions by Daniel Vetter from https

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-25 Thread Konstantin Khlebnikov
On Tue, Aug 25, 2015 at 4:41 PM, Michal Hocko wrote: > On Fri 21-08-15 14:31:32, Eric B Munson wrote: > [...] >> I am in the middle of implementing lock on fault this way, but I cannot >> see how we will hanlde mremap of a lock on fault region. Say we have >> the following: >> >> addr =

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 8:00 PM, Eric B Munson wrote: > On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: > >> On Mon, Aug 24, 2015 at 6:55 PM, Eric B Munson wrote: >> > On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: >> > >> >> On Mon, Aug 24, 20

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 6:55 PM, Eric B Munson wrote: > On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: > >> On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson wrote: >> > On Mon, 24 Aug 2015, Vlastimil Babka wrote: >> > >> >> On 08/24/2015 03:50 PM, Konst

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson wrote: > On Mon, 24 Aug 2015, Vlastimil Babka wrote: > >> On 08/24/2015 03:50 PM, Konstantin Khlebnikov wrote: >> >On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka wrote: >> >>On 08/24/2015 12:1

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka wrote: > On 08/24/2015 12:17 PM, Konstantin Khlebnikov wrote: >>> >>> >>> I am in the middle of implementing lock on fault this way, but I cannot >>> see how we will hanlde mremap of a lock on fault

[PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Fri, Aug 21, 2015 at 9:31 PM, Eric B Munson wrote: > On Fri, 21 Aug 2015, Michal Hocko wrote: > >> On Thu 20-08-15 13:03:09, Eric B Munson wrote: >> > On Thu, 20 Aug 2015, Michal Hocko wrote: >> > >> > > On Wed 19-08-15 17:33:45, Eric B Munson wrote: >> > > [...] >> > > > The group which asked

[PATCH 2/4] mm/compaction: enable mobile-page migration

2015-07-27 Thread Konstantin Khlebnikov
On Mon, Jul 27, 2015 at 4:55 PM, Vlastimil Babka wrote: > On 07/13/2015 10:35 AM, Gioh Kim wrote: >> >> From: Gioh Kim >> >> Add framework to register callback functions and check page mobility. >> There are some modes for page isolation so that isolate interface >> has arguments of page address

[PATCH 0/4] enable migration of driver pages

2015-07-13 Thread Konstantin Khlebnikov
s. > Any other drivers can register operations via inode like this > to migrate it's pages. > > 4. patch 4/4: remove direct calling of migration of driver pages > Non-lru pages are also migrated with lru pages by move_to_new_page(). The whole patchset looks good. Reviewed-by: Konstant

[PATCH 3/6] shm: add memfd_create() syscall

2014-04-02 Thread Konstantin Khlebnikov
On Wed, Apr 2, 2014 at 6:18 PM, David Herrmann wrote: > Hi > > On Wed, Apr 2, 2014 at 3:38 PM, Konstantin Khlebnikov > wrote: >> On Wed, Mar 19, 2014 at 11:06 PM, David Herrmann >> wrote: >>> memfd_create() is similar to mmap(MAP_ANON), but returns a file

[PATCH 3/6] shm: add memfd_create() syscall

2014-04-02 Thread Konstantin Khlebnikov
On Wed, Mar 19, 2014 at 11:06 PM, David Herrmann wrote: > memfd_create() is similar to mmap(MAP_ANON), but returns a file-descriptor > that you can pass to mmap(). It explicitly allows sealing and > avoids any connection to user-visible mount-points. Thus, it's not > subject to quotas on mounted

[PATCH v2] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-17 Thread Konstantin Khlebnikov
rearranged initialization sequence, because intel_disable_gt_powersave() needs initialized force_wake_get/put and some locks from the dev_priv. References: https://bugs.freedesktop.org/show_bug.cgi?id=54089 References: https://bugzilla.kernel.org/show_bug.cgi?id=58971 Signed-off-by: Konstantin Khlebnikov

[PATCH v2] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-17 Thread Konstantin Khlebnikov
sequence, because intel_disable_gt_powersave() needs initialized force_wake_get/put and some locks from the dev_priv. References: https://bugs.freedesktop.org/show_bug.cgi?id=54089 References: https://bugzilla.kernel.org/show_bug.cgi?id=58971 Signed-off-by: Konstantin Khlebnikov khlebni

[PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Konstantin Khlebnikov
On Tue, Jul 16, 2013 at 10:31 AM, Daniel Vetter wrote: > On Sun, Jul 14, 2013 at 09:56:45PM +0400, Konstantin Khlebnikov wrote: > > Daniel Vetter wrote: > > >On Sun, Jul 14, 2013 at 6:30 PM, Konstantin Khlebnikov > > > wrote: > > >>This patch fixes regress

Re: [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Konstantin Khlebnikov
On Tue, Jul 16, 2013 at 10:31 AM, Daniel Vetter dan...@ffwll.ch wrote: On Sun, Jul 14, 2013 at 09:56:45PM +0400, Konstantin Khlebnikov wrote: Daniel Vetter wrote: On Sun, Jul 14, 2013 at 6:30 PM, Konstantin Khlebnikov khlebni...@openvz.org wrote: This patch fixes regression in power

[PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-14 Thread Konstantin Khlebnikov
Daniel Vetter wrote: > On Sun, Jul 14, 2013 at 6:30 PM, Konstantin Khlebnikov > wrote: >> This patch fixes regression in power consumtion of sandy bridge gpu, which >> exists since v3.6 Sometimes after resuming from s2ram gpu starts thinking >> that >> it's extre

[PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-14 Thread Konstantin Khlebnikov
s this bug. References: https://bugs.freedesktop.org/show_bug.cgi?id=54089 Signed-off-by: Konstantin Khlebnikov --- drivers/gpu/drm/i915/intel_pm.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index aa01128..839a

Re: [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-14 Thread Konstantin Khlebnikov
Daniel Vetter wrote: On Sun, Jul 14, 2013 at 6:30 PM, Konstantin Khlebnikov khlebni...@openvz.org wrote: This patch fixes regression in power consumtion of sandy bridge gpu, which exists since v3.6 Sometimes after resuming from s2ram gpu starts thinking that it's extremely busy. After

[WARNING v3.9-rc2] [nouveau] possible recursive locking detected in evo_wait()

2013-03-13 Thread Konstantin Khlebnikov
I see this right after modprobe nouveau [ 893.765750] wmi: Mapper loaded [ 893.882484] ACPI: PCI Interrupt Link [APC8] enabled at IRQ 16 [ 893.897628] nouveau [ DEVICE][:02:00.0] BOOT0 : 0x086100a2 [ 893.897684] nouveau [ DEVICE][:02:00.0] Chipset: G86 (NV86) [ 893.897733]

[PATCH] drm/fb: avoid sleeping in unblank_screen() if oops in progress

2012-12-14 Thread Konstantin Khlebnikov
fb_helper_blank() drm_fb_helper_dpms() mutex_lock(>mode_config.mutex) Signed-off-by: Konstantin Khlebnikov Cc: Andrew Morton Cc: David Airlie Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) di

[PATCH] drm/fb: avoid sleeping in unblank_screen() if oops in progress

2012-12-14 Thread Konstantin Khlebnikov
() drm_fb_helper_dpms() mutex_lock(dev-mode_config.mutex) Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org Cc: Andrew Morton a...@linux-foundation.org Cc: David Airlie airl...@linux.ie Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c | 25 + 1 file changed

[PATCH 5/7] mm, drm/udl: fixup vma flags on mmap

2012-03-31 Thread Konstantin Khlebnikov
There should be VM_MIXEDMAP, not VM_PFNMAP, because udl_gem_fault() inserts pages via vm_insert_page(). Other drm/gem drivers already do this. Signed-off-by: Konstantin Khlebnikov Cc: Dave Airlie Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/udl/udl_drv.c |2 +- drivers/gpu

[PATCH 5/7] mm, drm/udl: fixup vma flags on mmap

2012-03-31 Thread Konstantin Khlebnikov
There should be VM_MIXEDMAP, not VM_PFNMAP, because udl_gem_fault() inserts pages via vm_insert_page(). Other drm/gem drivers already do this. Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org Cc: Dave Airlie airl...@redhat.com Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/udl

[PATCH] i915: select VIDEO_OUTPUT_CONTROL for ACPI_VIDEO

2011-04-12 Thread Konstantin Khlebnikov
fix Kconfig warning: (DRM_I915 && STUB_POULSBO) selects ACPI_VIDEO which has unmet direct dependencies (ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT) Signed-off-by: Konstantin Khlebnikov --- drivers/gpu/drm/Kconfig |1

[PATCH] i915: select VIDEO_OUTPUT_CONTROL for ACPI_VIDEO

2011-04-12 Thread Konstantin Khlebnikov
fix Kconfig warning: (DRM_I915 STUB_POULSBO) selects ACPI_VIDEO which has unmet direct dependencies (ACPI X86 BACKLIGHT_CLASS_DEVICE VIDEO_OUTPUT_CONTROL INPUT) Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org --- drivers/gpu/drm/Kconfig |1 + drivers/gpu/stub/Kconfig