Re: [PATCH] drm/ttm: Fix a regression causing kernel oops'es

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2023-01-12 at 08:01 +0100, Christian König wrote:
> !! External Email
> 
> Am 11.01.23 um 18:50 schrieb Zack Rusin:
> > From: Zack Rusin <zackr@xxxxxxxxxx>
> > 
> > The branch is explicitly taken if ttm == NULL which means that to avoid
> > a null pointer reference the ttm object can not be used inside. Switch
> > back to dst_mem to avoid kernel oops'es.
> > 
> > This fixes kernel oops'es with any buffer objects which don't have ttm_tt,
> > e.g. with vram based screen objects on vmwgfx.
> > 
> > Signed-off-by: Zack Rusin <zackr@xxxxxxxxxx>
> > Fixes: e3c92eb4a84f ("drm/ttm: rework on ttm_resource to use size_t type")
> > Cc: Somalapuram Amaranath <Amaranath.Somalapuram@xxxxxxx>
> > Cc: Christian König <christian.koenig@xxxxxxx>
> 
> Reviewed-by: Christian König <christian.koenig@xxxxxxx>
> 
> Should I push it to drm-misc-fixes?

If you're not too busy that'd be great. Otherwise I can do it tomorrow.

z




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux