Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp222474lqp; Mon, 10 Jun 2024 01:47:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUc1UfAjZZKWFMrdI9kevBSyUk2dbiQgYdMX9py4gMECwLmR7xMdTHb9j+VEirro1KEm1qJayXRVGNCtID+SZXSpW/CTXCZjVS76zlKww== X-Google-Smtp-Source: AGHT+IGJLymkhpEfu5jgPITVFkyYEGuVE5YWmrTEy2wnEtXaOTMUMyvjXS7n4EFuk4yXyX3Dp6uq X-Received: by 2002:a05:6122:3bd6:b0:4d4:15d2:8b3b with SMTP id 71dfb90a1353d-4eb562550f3mr8923253e0c.9.1718009252812; Mon, 10 Jun 2024 01:47:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718009252; cv=pass; d=google.com; s=arc-20160816; b=ExyrqUl01gF+e86AwGn0sQxD62F3ntQJJ499OGExCt1Pk0y9PBm/pKqg6mXaN6q4/a FbOqk2rwyEiHQko9pp7bN8aovM0sAJwQ9r2xMDm2hKPW9o+luaFr2FdauWCkjqN/m/Mb kuVpfe88uREK/DIX4hSNaJ/qETEpWGR+1gez7ZtBY16H/f00gezbDNL6R14KXA+j/MgX Ng2iqPh9EbX/wc7tW6fEyVBi/QIx0Cx+CevLjyKrXjlmw1SShZCEoVIBRhBEwJ0cvnub NNUjYM9f32O9txw7WIz5wn1taNGOROyA8qKaQOR+7cotsTWQAfyJ6mKgBCAK3miDJXC2 9LPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=Lo+k0GTKV+OGRokoL/+zJhcUO3Cl25axj4NK7XKbC9I=; fh=wrB/d/Zqdz7pfudURTiltbN2baAOAZUZUtb/x2sXd24=; b=frZeDw3Ekbav9l25Dy3uVlwSDYcAY7ljiRDojfc3o7as2v5c3KpH+DE5M/TuZt2Ws/ qUhv6tj6mJcLq1e0/NPBDzRQTz8CkAdErUlXerM2zC58ZmIfEjEvnEk5xZ32ka84Nybn N20pBPxrrus4Yw6kRIy+gTkXNqxLXEnp2igbz7ntVsoVfDrHSfgBxvFmHl8PZ9YoQucu H8csFjal8y9oVJY9XlFzIg+ZJei+dwVbtopAo9nJE+DK7b0OIY7cZMlE1LR5urWraucX m5hhsyKPrCm1JoGcG9fhYP4JYrmpoDSfSoBnM1ViVLyADnStDuskpUQZ26ttbYYRr6xd 6qvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ZRrpjJXM; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Fo7tJJP3; dkim=neutral (no key) header.i=@suse.de; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-207871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-795333a3e1asi1046614285a.757.2024.06.10.01.47.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 01:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ZRrpjJXM; dkim=neutral (no key) header.i=@suse.de; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Fo7tJJP3; dkim=neutral (no key) header.i=@suse.de; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-207871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F7C11C20863 for ; Mon, 10 Jun 2024 08:47:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AA506F312; Mon, 10 Jun 2024 08:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ZRrpjJXM"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="AQZ7svCh"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Fo7tJJP3"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="KUJ48zzg" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 972484B5CD for ; Mon, 10 Jun 2024 08:47:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009244; cv=none; b=IPYTbFJEGN2ymRK/DsHABNugDu4c6Mcvtg7k5+e3HUedlloCQjYxLRzGaATas629XJ2RK+9Y+zG0EdePRvvltUfJCiJ8zoUIXb5I2ksEGd36OTsnDEV0FIjxXrg9gsq45xOBEXVjbVBDIsA7kZbs1nNo7/DEeiokmGkZ3b1J8s8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009244; c=relaxed/simple; bh=D33CFqj0WRwlSuzd/n+shOHlDfyqWxLaaA1OmQSplHY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZrOnGWoVu95s2WO+WBzdW3qMjFMtqets3fdmojPV7hjmc2piXQk4F6B16RuPyfotTOuBy9UYVlEYNyx1MIIY/SFdje/3x3tzdGh5aaMR/aKtap3/soYVCk6I+SQaQuvR454lH8WlLppOsXw0+1qKFR0rSxkyY0EPYmOZuCvcYRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=ZRrpjJXM; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=AQZ7svCh; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=Fo7tJJP3; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=KUJ48zzg; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 88FE31F797; Mon, 10 Jun 2024 08:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718009240; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=Lo+k0GTKV+OGRokoL/+zJhcUO3Cl25axj4NK7XKbC9I=; b=ZRrpjJXMa8KBXDZIKGw86r9P3H/bjzMRN32FIM9axwevX8o9yyyn1lbXnHkEH4hAl2jGmr HMYwgww4CaVfmovzLrQdj5eW9YyIZstl7ATr2Qx+zXHtEy3+75gS65iSSSoYgFDzbtUX9a 2nNDPVDN2wwcG4UIFwSbHBe8uXbPqgg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718009240; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=Lo+k0GTKV+OGRokoL/+zJhcUO3Cl25axj4NK7XKbC9I=; b=AQZ7svChc5BMKfQPS0lAmM55CeKw6HsjAGroSbGcmUOXNZ79vpG0UG7UhACmIx+XB8uxl1 njMHKNvy0Im82hDQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=Fo7tJJP3; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=KUJ48zzg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718009238; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=Lo+k0GTKV+OGRokoL/+zJhcUO3Cl25axj4NK7XKbC9I=; b=Fo7tJJP3TBKKWIUpg9GVXVASVLy1ute3eZZOW4CN92cGzGXBvZTRx+2SMSC3T20WnZAMrU l6k2jk3bCIhat/4zVDwcACyzO9k/0PXRMB4e9WfPYzuPtC5O2NBSwAt9c3ZC79r2zIQU1e xAy93smdXzglvKAKfo53yYSiRp/z/JA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718009238; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=Lo+k0GTKV+OGRokoL/+zJhcUO3Cl25axj4NK7XKbC9I=; b=KUJ48zzg8t2r1g3nlcM6MdotTNyP/QvDrEHkSLLl/ivWDd/pNLTHskQsU6b9quWa/wq0NC atfmQWCWaWpHsHAQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4E5F113A51; Mon, 10 Jun 2024 08:47:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id flnOEZa9ZmbkXQAAD6G6ig (envelope-from ); Mon, 10 Jun 2024 08:47:18 +0000 Message-ID: <8f4a6d80-dd3e-422f-88af-d26f50c973ff@suse.de> Date: Mon, 10 Jun 2024 10:47:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/fbdev-dma: fix getting smem_start To: "Peng Fan (OSS)" , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , Javier Martinez Canillas Cc: Peng Fan , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20240604080328.4024838-1-peng.fan@oss.nxp.com> Content-Language: en-US From: Thomas Zimmermann Autocrypt: addr=tzimmermann@suse.de; keydata= xsBNBFs50uABCADEHPidWt974CaxBVbrIBwqcq/WURinJ3+2WlIrKWspiP83vfZKaXhFYsdg XH47fDVbPPj+d6tQrw5lPQCyqjwrCPYnq3WlIBnGPJ4/jreTL6V+qfKRDlGLWFjZcsrPJGE0 BeB5BbqP5erN1qylK9i3gPoQjXGhpBpQYwRrEyQyjuvk+Ev0K1Jc5tVDeJAuau3TGNgah4Yc hdHm3bkPjz9EErV85RwvImQ1dptvx6s7xzwXTgGAsaYZsL8WCwDaTuqFa1d1jjlaxg6+tZsB 9GluwvIhSezPgnEmimZDkGnZRRSFiGP8yjqTjjWuf0bSj5rUnTGiyLyRZRNGcXmu6hjlABEB AAHNJ1Rob21hcyBaaW1tZXJtYW5uIDx0emltbWVybWFubkBzdXNlLmRlPsLAjgQTAQgAOAIb AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftODH AAoJEGgNwR1TC3ojx1wH/0hKGWugiqDgLNXLRD/4TfHBEKmxIrmfu9Z5t7vwUKfwhFL6hqvo lXPJJKQpQ2z8+X2vZm/slsLn7J1yjrOsoJhKABDi+3QWWSGkaGwRJAdPVVyJMfJRNNNIKwVb U6B1BkX2XDKDGffF4TxlOpSQzdtNI/9gleOoUA8+jy8knnDYzjBNOZqLG2FuTdicBXblz0Mf vg41gd9kCwYXDnD91rJU8tzylXv03E75NCaTxTM+FBXPmsAVYQ4GYhhgFt8S2UWMoaaABLDe 7l5FdnLdDEcbmd8uLU2CaG4W2cLrUaI4jz2XbkcPQkqTQ3EB67hYkjiEE6Zy3ggOitiQGcqp j//OwE0EWznS4AEIAMYmP4M/V+T5RY5at/g7rUdNsLhWv1APYrh9RQefODYHrNRHUE9eosYb T6XMryR9hT8XlGOYRwKWwiQBoWSDiTMo/Xi29jUnn4BXfI2px2DTXwc22LKtLAgTRjP+qbU6 3Y0xnQN29UGDbYgyyK51DW3H0If2a3JNsheAAK+Xc9baj0LGIc8T9uiEWHBnCH+RdhgATnWW GKdDegUR5BkDfDg5O/FISymJBHx2Dyoklv5g4BzkgqTqwmaYzsl8UxZKvbaxq0zbehDda8lv hFXodNFMAgTLJlLuDYOGLK2AwbrS3Sp0AEbkpdJBb44qVlGm5bApZouHeJ/+n+7r12+lqdsA EQEAAcLAdgQYAQgAIAIbDBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftOH6AAoJEGgNwR1T C3ojVSkIALpAPkIJPQoURPb1VWjh34l0HlglmYHvZszJWTXYwavHR8+k6Baa6H7ufXNQtThR yIxJrQLW6rV5lm7TjhffEhxVCn37+cg0zZ3j7zIsSS0rx/aMwi6VhFJA5hfn3T0TtrijKP4A SAQO9xD1Zk9/61JWk8OysuIh7MXkl0fxbRKWE93XeQBhIJHQfnc+YBLprdnxR446Sh8Wn/2D Ya8cavuWf2zrB6cZurs048xe0UbSW5AOSo4V9M0jzYI4nZqTmPxYyXbm30Kvmz0rYVRaitYJ 4kyYYMhuULvrJDMjZRvaNe52tkKAvMevcGdt38H4KSVXAylqyQOW5zvPc4/sq9c= In-Reply-To: <20240604080328.4024838-1-peng.fan@oss.nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: NO X-Spam-Score: -4.50 X-Rspamd-Action: no action X-Rspamd-Queue-Id: 88FE31F797 X-Spam-Level: X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-4.50 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MX_GOOD(-0.01)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_TO(0.00)[oss.nxp.com,linux.intel.com,kernel.org,gmail.com,ffwll.ch,redhat.com]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCPT_COUNT_SEVEN(0.00)[9]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,nxp.com:email,suse.de:dkim,suse.de:email] Hi Am 04.06.24 um 10:03 schrieb Peng Fan (OSS): > From: Peng Fan > > If 'info->screen_buffer' locates in vmalloc address space, virt_to_page > will not be able to get correct results. With CONFIG_DEBUG_VM and > CONFIG_DEBUG_VIRTUAL enabled on ARM64, there is dump below: Which graphics driver triggers this bug? > [ 3.536043] ------------[ cut here ]------------ > [ 3.540716] virt_to_phys used for non-linear address: 000000007fc4f540 (0xffff800086001000) > [ 3.552628] WARNING: CPU: 4 PID: 61 at arch/arm64/mm/physaddr.c:12 __virt_to_phys+0x68/0x98 > [ 3.565455] Modules linked in: > [ 3.568525] CPU: 4 PID: 61 Comm: kworker/u12:5 Not tainted 6.6.23-06226-g4986cc3e1b75-dirty #250 > [ 3.577310] Hardware name: NXP i.MX95 19X19 board (DT) > [ 3.582452] Workqueue: events_unbound deferred_probe_work_func > [ 3.588291] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) > [ 3.595233] pc : __virt_to_phys+0x68/0x98 > [ 3.599246] lr : __virt_to_phys+0x68/0x98 > [ 3.603276] sp : ffff800083603990 > [ 3.677939] Call trace: > [ 3.680393] __virt_to_phys+0x68/0x98 > [ 3.684067] drm_fbdev_dma_helper_fb_probe+0x138/0x238 > [ 3.689214] __drm_fb_helper_initial_config_and_unlock+0x2b0/0x4c0 > [ 3.695385] drm_fb_helper_initial_config+0x4c/0x68 > [ 3.700264] drm_fbdev_dma_client_hotplug+0x8c/0xe0 > [ 3.705161] drm_client_register+0x60/0xb0 > [ 3.709269] drm_fbdev_dma_setup+0x94/0x148 > > So add a check 'is_vmalloc_addr'. > > Fixes: b79fe9abd58b ("drm/fbdev-dma: Implement fbdev emulation for GEM DMA helpers") > Signed-off-by: Peng Fan Reviewed-by: Thomas Zimmermann Best regards Thomas > --- > drivers/gpu/drm/drm_fbdev_dma.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_fbdev_dma.c b/drivers/gpu/drm/drm_fbdev_dma.c > index 6c9427bb4053..9e2eddb6eb5c 100644 > --- a/drivers/gpu/drm/drm_fbdev_dma.c > +++ b/drivers/gpu/drm/drm_fbdev_dma.c > @@ -130,7 +130,12 @@ static int drm_fbdev_dma_helper_fb_probe(struct drm_fb_helper *fb_helper, > info->flags |= FBINFO_READS_FAST; /* signal caching */ > info->screen_size = sizes->surface_height * fb->pitches[0]; > info->screen_buffer = map.vaddr; > - info->fix.smem_start = page_to_phys(virt_to_page(info->screen_buffer)); > + > + if (is_vmalloc_addr(info->screen_buffer)) > + info->fix.smem_start = page_to_phys(vmalloc_to_page(info->screen_buffer)); > + else > + info->fix.smem_start = page_to_phys(virt_to_page(info->screen_buffer)); > + > info->fix.smem_len = info->screen_size; > > return 0; -- -- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)