All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Abramov, Slava" <Slava.Abramov-5C7GfCeVMHo@public.gmane.org>
To: "Michel Dänzer" <michel-otUistvHUpPR7s880joybQ@public.gmane.org>,
	"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH xf86-video-amdgpu 1/2] Remove #if 0'd code
Date: Wed, 27 Jun 2018 18:29:54 +0000	[thread overview]
Message-ID: <CY4PR12MB13040D289B98AF5798E9C4EEFE480@CY4PR12MB1304.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20180627163941.18737-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2326 bytes --]

I wonder how '#if 0' made its way upstream, but besides this


Reviewed-by: Slava Abramov <slava.abramov-5C7GfCeVMHo@public.gmane.org>

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org>
Sent: Wednesday, June 27, 2018 12:39:40 PM
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH xf86-video-amdgpu 1/2] Remove #if 0'd code

From: Michel Dänzer <michel.daenzer-5C7GfCeVMHo@public.gmane.org>

This has always been disabled, no need to keep it.

Signed-off-by: Michel Dänzer <michel.daenzer-5C7GfCeVMHo@public.gmane.org>
---
 src/drmmode_display.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 1563417a7..5fe49b607 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -2459,15 +2459,6 @@ static const xf86OutputFuncsRec drmmode_output_funcs = {
         .create_resources = drmmode_output_create_resources,
         .set_property = drmmode_output_set_property,
         .get_property = drmmode_output_get_property,
-#if 0
-
-       .save = drmmode_crt_save,
-       .restore = drmmode_crt_restore,
-       .mode_fixup = drmmode_crt_mode_fixup,
-       .prepare = drmmode_output_prepare,
-       .mode_set = drmmode_crt_mode_set,
-       .commit = drmmode_output_commit,
-#endif
         .detect = drmmode_output_detect,
         .mode_valid = drmmode_output_mode_valid,

@@ -3470,9 +3461,6 @@ Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn)
                     !xf86HandleColormaps(pScreen, 256, 10,
                                          NULL, NULL,
                                          CMAP_PALETTED_TRUECOLOR
-#if 0                          /* This option messes up text mode! (eich@suse.de) */
-                                        | CMAP_LOAD_EVEN_IF_OFFSCREEN
-#endif
                                          | CMAP_RELOAD_ON_MODE_SWITCH))
                         return FALSE;
         }
--
2.18.0

_______________________________________________
amd-gfx mailing list
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[-- Attachment #1.2: Type: text/html, Size: 5039 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-06-27 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27 16:39 [PATCH xf86-video-amdgpu 1/2] Remove #if 0'd code Michel Dänzer
     [not found] ` <20180627163941.18737-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-27 16:39   ` [PATCH xf86-video-amdgpu 2/2] Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap Michel Dänzer
     [not found]     ` <20180627163941.18737-2-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-27 18:41       ` Alex Deucher
2018-06-27 18:29   ` Abramov, Slava [this message]
     [not found]     ` <CY4PR12MB13040D289B98AF5798E9C4EEFE480-rpdhrqHFk05fmUFYn07qFQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-06-28  8:26       ` [PATCH xf86-video-amdgpu 1/2] Remove #if 0'd code Michel Dänzer
     [not found]         ` <f08efa46-1598-1402-2ba2-757d8bd9b841-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-28 15:38           ` Abramov, Slava

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY4PR12MB13040D289B98AF5798E9C4EEFE480@CY4PR12MB1304.namprd12.prod.outlook.com \
    --to=slava.abramov-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=michel-otUistvHUpPR7s880joybQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.