From: Hans de Goede <j.w.r.degoede@gmail.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>,
Hans de Goede <hdegoede@redhat.com>,
dri-devel@lists.freedesktop.org,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH] drm: Fix PANEL_ORIENTATION_QUIRKS breaking the Kconfig DRM menuconfig
Date: Wed, 17 Jan 2018 09:42:26 +0100 [thread overview]
Message-ID: <bb8d5ee5-244e-189b-4c8c-78b74210d641@gmail.com> (raw)
In-Reply-To: <20180117084019.GI2759@phenom.ffwll.local>
Hi,
On 17-01-18 09:40, Daniel Vetter wrote:
> On Wed, Jan 17, 2018 at 09:10:32AM +0100, Hans de Goede wrote:
>> All Kconfig menu menu entries should have a depends on MENU_OPTION, the
>> menu stops after the first Kconfig entry without this depends on.
>>
>> Since the PANEL_ORIENTATION_QUIRKS option is also used outside of DRM,
>> it deliberately does not have a depends on DRM, but this causes all
>> items after it to show as separate items rather then under the DRM
>> menuconfig.
>>
>> This commit moves PANEL_ORIENTATION_QUIRKS to the end of the drm Kconfig
>> file, grouping it with DRM_LIB_RANDOM which also does not depend on DRM,
>> fixing the DRM menuconfig.
>>
>> Fixes: 404d1a3edc38 ("drm: Add panel orientation quirks, v6.")
>> Cc: Chris Wilson <chris@chris-wilson.co.uk>
>> Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
>
> Probably best if you push to to drm-misc-next-fixes so it gets into 4.16
> still.
Ok, does that mean I need to push it to 2 branches, or will it automatically
and up in drm-misc-next if I push it to drm-misc-next-fixes?
Regards,
Hans
>> ---
>> drivers/gpu/drm/Kconfig | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
>> index 0bc374459440..deeefa7a1773 100644
>> --- a/drivers/gpu/drm/Kconfig
>> +++ b/drivers/gpu/drm/Kconfig
>> @@ -27,10 +27,6 @@ config DRM_MIPI_DSI
>> bool
>> depends on DRM
>>
>> -# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
>> -config DRM_PANEL_ORIENTATION_QUIRKS
>> - tristate
>> -
>> config DRM_DP_AUX_CHARDEV
>> bool "DRM DP AUX Interface"
>> depends on DRM
>> @@ -372,6 +368,10 @@ config DRM_SAVAGE
>>
>> endif # DRM_LEGACY
>>
>> +# Separate option because drm_panel_orientation_quirks.c is shared with fbdev
>> +config DRM_PANEL_ORIENTATION_QUIRKS
>> + tristate
>> +
>> config DRM_LIB_RANDOM
>> bool
>> default n
>> --
>> 2.14.3
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-01-17 8:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 8:10 [PATCH] drm: Fix PANEL_ORIENTATION_QUIRKS breaking the Kconfig DRM menuconfig Hans de Goede
2018-01-17 8:39 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-01-17 8:40 ` [PATCH] " Daniel Vetter
2018-01-17 8:42 ` Hans de Goede [this message]
2018-01-17 8:48 ` [Intel-gfx] " Daniel Vetter
2018-01-17 9:14 ` Hans de Goede
2018-01-17 10:03 ` ✗ Fi.CI.IGT: failure for " Patchwork
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=bb8d5ee5-244e-189b-4c8c-78b74210d641@gmail.com \
--to=j.w.r.degoede@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox