search for: is_pre_tur

Displaying 4 results from an estimated 4 matches for "is_pre_tur".

2019 Oct 15
1
[PATCH] drm: Generalized NV Block Linear DRM format mod
...or formats on > >> + * pre-Turing GPUs. > > > > Hm, maybe a tiny static inline function which canonizalizes modifiers? > > Something like > > > > static inline u64 > > drm_fourcc_canonicalize_nvidia_block_linear_2d(u64 modifer, bool > > is_pre_turing) > > { > > } > > > > Would then give you a nice place to stick this backward compat note and > > make it really clear what should be done. I think establishing this as a > > pattern would also be nice, since I'm sure we'll have a pile more of these &gt...
2019 Oct 15
2
[PATCH] drm: Generalized NV Block Linear DRM format mod
...t; + * "generic" kind used for simple single-sample color formats on > + * pre-Turing GPUs. Hm, maybe a tiny static inline function which canonizalizes modifiers? Something like static inline u64 drm_fourcc_canonicalize_nvidia_block_linear_2d(u64 modifer, bool is_pre_turing) { } Would then give you a nice place to stick this backward compat note and make it really clear what should be done. I think establishing this as a pattern would also be nice, since I'm sure we'll have a pile more of these cases where modifiers turn out to assume a few too many things...
2019 Oct 15
0
[PATCH] drm: Generalized NV Block Linear DRM format mod
...kind used for simple single-sample color formats on >> + * pre-Turing GPUs. > > Hm, maybe a tiny static inline function which canonizalizes modifiers? > Something like > > static inline u64 > drm_fourcc_canonicalize_nvidia_block_linear_2d(u64 modifer, bool > is_pre_turing) > { > } > > Would then give you a nice place to stick this backward compat note and > make it really clear what should be done. I think establishing this as a > pattern would also be nice, since I'm sure we'll have a pile more of these > cases where modifiers turn...
2019 Oct 14
2
[PATCH] drm: Generalized NV Block Linear DRM format mod
Beyond general review, I'm looking for feedback on a few things specifically here: -Is the level of backwards compatibility described here sufficient? Technically I can make the user space drivers support the old modifiers too, but that would mean the layout they specify would morph based on the GPU they're being used on, and sharing buffers between two different NV GPUs, which would