[PATCH xf86-video-ati] Remove unused struct members from drmmode_display.h
Deucher, Alexander
Alexander.Deucher at amd.com
Thu May 11 13:28:12 UTC 2017
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Michel Dänzer
> Sent: Thursday, May 11, 2017 6:03 AM
> To: amd-gfx at lists.freedesktop.org
> Subject: [PATCH xf86-video-ati] Remove unused struct members from
> drmmode_display.h
>
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> (Ported from amdgpu commit
> 462ac3341e5bfbded9086d3d9043821d19352b3e)
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/drmmode_display.c | 1 -
> src/drmmode_display.h | 2 --
> 2 files changed, 3 deletions(-)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index e2899cf50..d0ecfa855 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -2540,7 +2540,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn,
> drmmode_ptr drmmode, int cpp)
> xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs);
>
> drmmode->scrn = pScrn;
> - drmmode->cpp = cpp;
> mode_res = drmModeGetResources(drmmode->fd);
> if (!mode_res)
> return FALSE;
> diff --git a/src/drmmode_display.h b/src/drmmode_display.h
> index df2c4b7bb..db68054a7 100644
> --- a/src/drmmode_display.h
> +++ b/src/drmmode_display.h
> @@ -41,8 +41,6 @@
>
> typedef struct {
> int fd;
> - drmModeFBPtr mode_fb;
> - int cpp;
> struct radeon_bo_manager *bufmgr;
> ScrnInfoPtr scrn;
> #ifdef HAVE_LIBUDEV
> --
> 2.11.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list